Unable to create a Transaction in Accounts Receivables through Standard API [message #606335] |
Wed, 22 January 2014 08:12 |
|
Piyush.Kulkarni
Messages: 3 Registered: January 2014
|
Junior Member |
|
|
Hi All,
We are facing issue while creating the Invoice through API (AR_INVOICE_API_PUB.create_single_invoice)
We are assigning Revenue distribution code combination id to to ditribution table type and passing it to the API.
We are getting following error while running the API:
U-ORA-20001: APP-AR-42536: This transaction is associated with at least one invalid or end-dated GL account. Please correct the account.
The receivables distribution code is being picked from Site.
Using the same distribution codes I am able to create the transaction manually from Front-end. But API gives the above mentioned error..
Also the same code works fine in Development instance sometime and does not work some other time.
Please also note that there are "No Cross Validation rules as well as security rule defined".
Could you please help us on the issue as it is very urgent.
Regards,
Piyush
|
|
|
|
|