AR_CM_API_PUB.APPLY_ON_ACCOUNT API issue
I have 2 AR Transactions and 2 Credit memos to be applied to one another:
Data1 :Invoice- X 1000USD Credit Memo- Y 500USD Ledger/Operating Unit- Japan (Functional Currency JPY Precision 0)
Data2 :Invoice- X1 1000GBP Credit Memo- Y1 500GBP Ledger/Operating Unit- US (Functional Currency USD Precision 2)
When the apply api is called from a cursor(data1 processed first data2 processed second) then it processes both the data.
When the apply api is called from a cursor(data2 processed first data2 processed second) then it processes only data2 and gives error message
"ARP_PROCESS_APPLICATION.CM_APPLICATIONORA-20001: The precision used for the invoice for the functional currency does not match the current precision.