Automatic Receipts are being created in approved status with unapplied amount.
Hi
We are using a custom program to create automatic receipts for intercompany customers. Receipts are being created in APPROVED status with unapplied amount. The receipt class which we used in this process is setup with 'confirmation required flag' as 'Yes' because the online payment processing setups are not done as this is for an intercompany customer. In spite of this setup we want receipts to be created in CONFIRMED status and amount should be applied.
We used the below APIs in our code for batch creation and receipts creation respectively:
arp_rw_batches_pkg.insert_auto_batch
arp_process_boe.create_auto_batch_conc_req