Background
Use Oracle EBS AR standard API: ar_invoice_api_pub.create_single_invoice to create AR transaction processing. For example, the unit price of AR transaction processing line: 100712.4183, quantity: 1, the due amount of AR transaction processing created by API: 100712.4183
Symptom of the problem :
When the payment is checked against the AR transaction, the prompt is as follows:
Chinese: APP-FND-00531: The format of the amount 100712.4183 may be incorrect. The correct format is 9,999.99 or -9,999.99
English: APP-FND-00531: The amount 100712.4183 could not be correctly formatted. The correct format is 9,999.99 or -9,999.99.
Solution:
Note: Do datafix for any business data, personally suggest to minimize it Modify the data range.
1. Back up the original data:
Create Table Cux.Cux_Ar_Payment_Schl20180516 As
SELECT *
FROM Ar_Payment_Schedules_All
WHERE Customer_Trx_Id = 1148353
AND Payment_Schedule_Id = 1046975;
2.datafix script
UPDATE Ar_Payment_Schedules_All T2
SET Amount_Line_Items_Original = Arpcurr.Currround(Amount_Line_Items_Original
,Invoice_Currency_Code)
,Amount_Line_Items_Remaining = Arpcurr.Currround(Amount_Line_Items_Remaining
,Invoice_Currency_Code)
,Tax_Original = Arpcurr.Currround(Tax_Original
,Invoice_Currency_Code)
,Tax_Remaining = Arpcurr.Currround(Tax_Remaining
,Invoice_Currency_Code)
,Freight_Original = Arpcurr.Currround(Freight_Original
,Invoice_Currency_Code)
,Freight_Remaining = Arpcurr.Currround(Freight_Remaining
,Invoice_Currency_Code)
,Receivables_Charges_Charged = Arpcurr.Currround(Receivables_Charges_Charged
,Invoice_Currency_Code)
,Receivables_Charges_Remaining = Arpcurr.Currround(Receivables_Charges_Remaining
,Invoice_Currency_Code)
,Amount_Due_Original = Arpcurr.Currround(Amount_Due_Original
,Invoice_Currency_Code)
,Amount_Due_Remaining = Arpcurr.Currround(Amount_Due_Remaining
,Invoice_Currency_Code)
,Amount_Credited = Arpcurr.Currround(Amount_Credited
,Invoice_Currency_Code)
WHERE Customer_Trx_Id = 1148353
AND Payment_Schedule_Id = 1046975;