Receivables(AR) How to using API AR_RECEIPT_API_PUB.Apply receipt 2 record with same invoice No. but
Hi everyone,
I use API AR_RECEIPT_API_PUB.APPLY to receipt invoice,
but i got error when I apply two record with same cash_receipt_id and customer_trx_id beacues they have different Payment Term the data is below:
Invoice No. | Line ID | Customer_Trx_ID | Due_Date | Amount Applied | |||
1 | 592168 | 20311 | 1024304 | 2015/2/5 | 1750 | ||
2 | 592168 | 20312 | 1024304 | 2015/3/7 | 4950 |
two line's receipt id is the same too.
but when i execute the API, first line will Apply success,
the second line will get Fail.
the Error Message i got is:
ERROR_MESSAGE : The installment number is null.*Invalid customer transaction identifier.*APPLY : ORA-01403: no data found*ORA-01403: no data found in Package AR_RECEIPT_API_PUB Procedure Apply