Vendor Site trx failed: Inconsistent data entered as compared to TCA records.
Working with supplier site API ap_vendors_pub_pkg.create_vendor_site (also pos_vendor_pub_pkg.create_vendor_site) and ran into the following error:
Vendor Site trx failed: Inconsistent data entered as compared to TCA records.  For details, refer to the Concurrent Program log.  Invalid Payee Contrxt values.
Resolution:
The issue was a fairly simple one - I was creating a vendor site address in the US and didn't pass a value for State, so to resolve this all I needed to do was pass a valid US state.
Leave it to Oracle to provide the most cryptic message possible!  I did some more research into this error and found that additional messaging is passed to the FND Debug logfile, where you see a message such as:
Begin of getAddrValStatus procedure
     Map status is E. Check for address validation level.
     Address validation level is ERROR.
     Please enter valid address elements : STATE
     516- Calling create_gnr with map status E.
Of course, when you are calling an API, you'd rather get the message in real time as part of the output parameters.  I guess that's asking too much?
In my research, I also find some interesting suggestions, like turning off address validation:
As System Administrator, navigate to Profile >System, query where application = Payables and profile = HZ: Address Validation Level%, and set the value to 'no validation').  
That's probably not the right approach in most cases but I guess if you're really stuck, it's an option!
Working with Oracle APIs, Open Interfaces, Reports, Excel, BI to get stuff done! API Wizard (www.api-wizard.com) is a productivity tool for Oracle EBS data entry, data updates, and reporting for Oracle and Oracle EBS using a Microsoft Excel user interface and a powerful Oracle backend. The purpose of this blog is to share our knowledge working with Oracle APIs and interfaces - so that whether you're using API Wizard or building custom integrations, you can leverage what we've been working on.
Subscribe to:
Post Comments (Atom)
Popular Posts
- 
Oracle Projects API (PA_PROJECT_PUB) and Function Security A customer wanted to work with project module APIs to perform standard project ...
- 
Working with Purchase Order Import (Import Standard Purchase Orders - POXPOPDOI) A prospective customer wants to use API Wizard to load pu...
- 
Where do I find info about Oracle EBS Public APIs? This is a question that I get multiple times each week in my role at API Wizard (a soft...
- 
Oracle EBS API to create a Phone Number (contacts) in R12 HZ_CONTACT_POINT_V2PUB.CREATE_PHONE_CONTACT_POINT This API is relatively easy to...
- 
WIP Discrete Jobs and wip_job_schedule_interface / Allow Explosion and Scheduling One of our customers was working with a process to creat...
- 
At long last, EBS customers can enter physical inventory counts and adjustment approvals through a new public API. Phyiscal Inventory count...
- 
Vendor Site trx failed: Inconsistent data entered as compared to TCA records. Working with supplier site API ap_vendors_pub_pkg.create_ven...
- 
NLS_LANGUAGE what a pain... Oracle EBS issue I have a customer who has a report that works great in the U.S. but when they rolled the repo...
- 
Creating Project Tasks with pa_project_pub - Issue when parent task created in form vs. create with API The Oracle Projects public APIs pa...
- 
Controlling Accounting when Creating Receipt via AR_RECEIPT_API_PUB.CREATE_CASH A prospect asked this question during an API Wizard Demo: ...
 
 
 
No comments:
Post a Comment
Please add your feedback, experience, or questions!