Login
Register

Home

Trainings

Fusion Blog

EBS Blog

Authors

CONTACT US

Functional Documents
  • Register

Oracle Gold Partners, our very popular training packages, training schedule is listed here
Designed by Five Star Rated Oracle Press Authors & Oracle ACE's.

webinar new

Search Courses

Suppliers in TCA - A dive into Vendor Tables in R12

 

Prior to R12, creation of a vendor/supplier record in eBusiness suite largely meant insertion of record in PO_VENDORS.

However, from R12 onwards, records are inserted into at least half a dozen tables when a single Supplier record is created.

This is largely due to the fact that Suppliers have been moved into the TCA DataModel.

 

In this article, I would like to show you the set of tables that are effected when a Supplier record gets created in Release12.

I will also touch base upon Supplier Sites and changes to taxation related tables.

 

End User Step 1

To begin with, we need to create a Supplier. Lets name it Go4Gold [which also happens to be the name of my old company].

Simply enter name of the Supplier in organization name field and click on Apply. This will create a Supplier.

 

End User Step 2.

You can doublecheck the created Supplier, which has Supplier Number 20186.

This supplier number comes from a table  named  AP_SUPPLIERS.

 

The registry id that you see is the Party_number field from hz_parties [TCA Party Table]




Now, lets have a look at the list of tables impacted by creating the above Supplier record.

I am not saying that inserting into below listed tables is the way to create Suppliers in R12 TCA Model.

This is purely for your understanding of the new data model for Suppliers in R12 TCA.

Of course this will be helpful to you when developing reports in R12.



Table HZ_PARTIES

SELECT * FROM hz_parties WHERE party_name= 'Go4Gold' ;

This happens to be the master table now instead of PO_VENDORS.

You will notice that the PARTY_NUMBER below is the Registry id in the R12 supplier screen.

Also, this party_id = 301934 will be referenced in the remainder set of tables.



Table HZ_PARTY_USG_ASSIGNMENTS

SELECT party_id ,party_usg_assignment_id,party_usage_code FROM hz_party_usg_assignments

WHERE party_id = 301934;

This table stores the Party Usages, for example, in this case it captures the fact that the given party_id is of type SUPPLIER.



Table HZ_ORGANIZATION_PROFILES

SELECT * FROM hz_organization_profiles WHERE party_id = 301934

This table captures additional Supplier information, for example, credit scoring details of Supplier or the Number of Employees working in Supplier Organization.

 

Table IBY_EXTERNAL_PAYEES_ALL

SELECT * FROM iby_external_payees_all WHERE payee_party_id = 301934

This table captures Payment related details of the Supplier.

For example :-

    1. How should the supplier's remittance advice must be sent?

    2. What is the default Payment method Code for this supplier?

    3. Who bears the bank charges when lets say SWIFT payment is made?

This information can be setup at either the Supplier level or at Supplier Site level.



Table AP_SUPPLIERS

SELECT vendor_id, vendor_name,segment1,enabled_flag FROM ap_suppliers WHERE party_id = 301934

Alongside HZ_PARTIES, this is another master table that replaces the PO_VENDORS table of 11i.

Instead of expanding the design of HZ_PARTIES, oracle decided to hold the supplier specific attributes in AP_SUPPLIERS [fair enough ! ].



Table POS_SUPPLIER_MAPPINGS

SELECT * FROM pos_supplier_mappings WHERE party_id = 301934

This table holds the mapping between the AP_SUPPLIERS.VENDOR_ID and HZ_PARTIES.PARTY_ID.

This is useful in cases whereby two vendors  effectively belong  the same HZ_Party Record.




Table ZX_PARTY_TAX_PROFILE

SELECT party_type_code, party_tax_profile_id FROM zx_party_tax_profile WHERE party_id = 301934

The taxation related details like Tax Codes, and Tax Accounts etc have been moved from AP into ZX.

ZX is the name of a new Application "E-Business Tax".

Efectively this application is the Tax repository/Taxation Engine for eBusiness Suite starting from R12.

Effectively this also means that our good old AP_TAX_CODES_ALL is no longer the master table for Taxes.

Now we have a new tax rate table, i.e. ZX_RATES_B.

ZX_ACCOUNTS is another table that has been introduced to capture accounting setup related to Tax Codes.



Database View PO_VENDORS

select vendor_name, segment1, party_number from po_vendors WHERE party_id = 301934

PO_VENDORS is a view in R12, that joins AP_SUPPLIERS & HZ_PARTIES.

Similarly, PO_VENDOR_SITES and PO_VENDOR_SITES_ALL are also views based upon AP_SUPPLIER_SITES_ALL.

 


Anil Passi

Comments   

0 #1 Vj 2007-11-27 09:18
Hi,

We are upgrading HRMS from 11.0.3 to R 12 (12.0.2) for one of our clients and using UK localization.

All the Fast Formulae are not verified and especially with the suffix YTD, ITD and ASG have not been compiled. This is basically because all the aliases & global variables are recognized as local variables while compilation.

M oreover, all the self-service pages in 11.0.3 were PL/SQL packages and were called as Self-Services pages which are not compatible with R12. Hence we are facing problem in acessing all those self-service pages. Can you plz guide us on this issue?

Thanks in advance!!

Rega rds,

Vj
Quote
0 #2 Gareth Roberts 2007-11-27 13:10
Great stuff Anil ... love the info on new stuff!
Gareth
Quote
0 #3 Ramkumar 2007-11-28 13:37
hi,
I am new to HRMS. I need to do Employees conversion incuding assignments thru HR API.
Can u pls help me where do we find the interface tables and mandatory columns..
Quote
0 #4 Harshad Poogalia 2007-11-29 10:54
Hi Anil,

All this information is great. I have always wondered what's the rational behind prefix 'hz' for party related table.
Similarl y prefix 'qp' for pricing tables.

If you are aware about it, can you please let all of us know about it. It will be a nice trivia to be aware about.

Keep up the great work.

God Bless

regards,
Harshad
Quote
0 #5 Melaine 2007-12-03 10:20
hi, anil
i would be thanks to u, really u r doing a very job for oracle developers, i want a screen shots in gl for overview of general ledger.
Quote
0 #6 murali 2007-12-03 10:33
hi, anil
I thanks to u , because i got a wonderful information from u.
i want order import interface as detailed with code.
Quote
0 #7 Hesham 2007-12-06 18:51
. u are doing great..this is raj. i am oracle financial functional person, here i want find some sample documents like BP80,BP90. CAN U sagest me to fin d these ?
Quote
0 #8 usman 2007-12-19 05:26
u are doing great job.That's looking too much effective.Pleas e continue that
Quote
0 #9 Aparna 2008-01-14 05:27
Hi Anil ,
We are currently in the process of upgrading from 11.5.8 to 12i. Any thoughts on how to deal with OAF customizations when upgrading?

Thanks
Aparna
Quote
0 #10 zxcvb_bnm 2008-02-28 10:59
Hi Anil,
We are trying to import suppliers in R12 through standard interface tables - ap_suppliers_in t, ap_supplier_sit es_int and ap_sup_site_con tact_int. here (for example take only supplier) if there is some error in the the record the import prog is not importing to ap_suppliers but however it is importing to hz_parties. and now even if the error is correted in the interface table and we re-submit the prog its not picking up coz the record already exists in hz_parties. how to handle this situation in the prod data, as we dont have access to delete from those base tables. similar is the case with suplier_sites, here it is creating multiple locations. please revert asap.
Thanks,
v icky.
Quote
0 #11 Anil Passi 2008-02-28 11:07
Hey Vicky,

The API must be consistent when it comes to performing a rollback on errored supplier.
I suggest you raise an SR, as this sounds a bug with Oracle Standard Functionality.

Cheers
Anil Passi
Quote
0 #12 Manish 2008-05-03 01:53
Hi Anil,

While creating a supplier in R12, a row is inserted into both iby_external_pa yees_all as well as IBY_EXT_PARTY_P MT_MTHDS. This is the table that holds the payment information and not iby_external_pa yees_all.

Please check this and correct me if I am wrong.

Regards ,
Manish.
Quote
0 #13 meghna 2008-05-15 03:42
hi anil,

while upgrading supplier information in r12 , in which table contact details will hit?? i m able to insert the sites and supplier info but contact information m not able to.. can u help me plz...
plz. tell asap..

Thanks,
megha
Quote
0 #14 Manish 2008-05-28 06:02
I think HZ_ORG_CONTACTS will be hit for applying supplier contacts. HZ_PARTY_SITES will give the link between ap_supplier_sit es_all and the contacts table.
Quote
0 #15 Anil Passi 2008-05-28 07:38
Hi Manish

Thanks for adding to this list, it is much appreciated.

C heers
Anil
Quote
0 #16 Manish 2008-06-02 03:27
Just a reminder email about IBY_EXT_PARTY_P MT_MTHDS.

I mentioned earlier that Quote:
While creating a supplier in R12, a row is inserted into both iby_external_payees_all as well as IBY_EXT_PARTY_PMT_MTHDS. This is the table that holds the payment information and not iby_external_payees_all.


Is this correct?
Quote
0 #17 meghna 2008-06-03 11:59
Hi anil,

I am facing one more issue. While testing customer conversion in R12 , I AM ABLE TO INSERT DATA INTO ALL THE BASE TABLES but when i query for my customer in customer search screen i am not finding that customer but same customer when i am querying in ireceivables form (BOTH ARE IN SAME RESPONSIBILITY) , i am able to see that customer. why is it so??? Can u please help me in that !!!!!!!!!!

Tha nks ,
Meghna
Quote
0 #18 DSK 2008-07-10 07:00
Hi Anil,

We need to update the Remittance Advice Delivery Method to 'Email' and the corresponding email id for suppliers in R12. Can we do a direct update on the table. I know its not advisable but please advice.

Many thanks...

DSK
Quote
0 #19 DSK 2008-07-10 07:01
Hi Anil,

We need to update the Remittance Advice Delivery Method to 'Email' and the corresponding email id for suppliers in R12. Can we do a direct update on the table IBY_EXTERNAL_PA YEES_ALL. I know its not advisable but please advice.

Many thanks...

DSK
Quote
0 #20 Anil Passi- 2008-07-10 10:57
Hi DSK

Please try this API
IBY_PAYGROUP_P UB.updatePaymen ts

| PURPOSE:
| Performs an update of all created payments from PLSQL
| table into IBY_PAYMENTS_AL L table.
|
| The created payments have already been inserted into
| IBY_PAYMENTS_AL L after grouping. So we only need to update
| certain fields of the payment that have been changed
| after the grouping was performed.

Tha nks
Anil
Quote
0 #21 SD 2008-10-02 02:36
Helo Anil,

We are creating Suppliers using the standard interface tables but the program is only creating Suppliers. No sites. No contacts. The Interface report does not show any error either.

Can you suggest any measure?

Thank s,
SD
Quote
0 #22 Vineet 2008-12-03 23:48
Hi all,

Can anyone help me to know abt the interface tables for Vendor Conversion in R12.


Thanks,
Vineet
Quote
0 #23 Kevin 2009-03-04 14:14
Anil,

do you have queries showing the relationship between supplier sites and supplier contacts and the TCA tables? That would be most helpful in understanding how the new architecture is designed. Can you point me to an Oracle white paper that shows this info?

Thanks in advance,
Kevin
Quote
0 #24 Kamlesh 2009-03-24 01:46
Hi all,
I have created supplier with its site using Inteface program but now I want to update its
payment method.. Is any interface or API for the same because i can not do it mannualy

Pleas e Help..........


Kamlesh
Quote
0 #25 Jude Franco 2009-09-15 08:41
HI Anil

I have loaded the supplier, supplier sites, How to load the banks and associate the banks to suppliers , or in short how to load the supplier bank info, is there any interface program or any steps to do the same would be very much appreciated.

R egards
Jude
Quote
0 #26 avkraju 2009-09-16 04:59
Hi

We are updating from 11.5.8 to 12i, Do you have any docs for knowing the New Tables, Changes in the table/column Names b/w the two versions.

Than ks
AVKRaju
Quote
0 #27 razak 2009-10-05 04:45
Hi Jude Franco,

Sample procedure to load supplier bank acct.

PROCEDUR E create_supplier _bankacct(p_ban k_party_id iby_ext_banks_v .bank_party_id& #xTY;PE,
p_branch_party_ id iby_ext_bank_br anches_v.branch _party_id&#xTY; PE,
p_acct_owner_pa rty_id ap_suppliers.pa rty_id&#xTY;PE,
p_bank_account_ name VARCHAR2,
p_bank_account_ num VARCHAR2,
p_currency VARCHAR2,
p_account_id OUT iby_ext_bank_ac counts.ext_bank _account_id&#xT Y;PE)
IS
lr_bank_account _rec_type IBY_EXT_BANKACC T_PUB.ExtBankAc ct_rec_type;
lr_response IBY_FNDCPT_COMM ON_PUB.Result_r ec_type;
lc_msg_data1 VARCHAR2(2000);
ln_msg_count1 NUMBER;
lc_return_statu s1 VARCHAR2(10);
ln_acct_id IBY_EXT_BANK_AC COUNTS.ext_bank _account_id&#xT Y;PE := NULL;

lc_output VARCHAR2(2000);
lc_msg_dummy VARCHAR2(2000);

BEGIN

lr_bank_account _rec_type.bank_id := p_bank_party_id ;
lr_bank_account _rec_type.branch_id := p_branch_party_ id;
lr_bank_account _rec_type.country_code := 'MY';
lr_bank_account _rec_type.bank_account_name := p_bank_account_ name;
lr_bank_account _rec_type.bank_account_num := p_bank_account_ num;
lr_bank_account _rec_type.acct_owner_party_id := p_acct_owner_pa rty_id;
lr_bank_account _rec_type.currency := p_currency;

IBY_EXT_BANKACC T_PUB.create_ex t_bank_acct
(p_api_version => 1.0
,p_init_msg_lis t => 'T'
,p_ext_bank_acc t_rec => lr_bank_account _rec_type
,x_acct_id => ln_acct_id
,x_return_statu s => lc_return_statu s1
,x_msg_count => ln_msg_count1
,x_msg_data => lc_msg_data1
,x_response => lr_response
);

IF lc_return_statu s1 = 'E' THEN
FOR i IN 1 .. ln_msg_count1 LOOP
apps.fnd_msg_pu b.get (i,FND_API.G_FA LSE,lc_msg_data 1,lc_msg_dummy );
lc_output := ( 'Msg' || To_Char ( i ) || ': ' ||lc_msg_data1) ;
FND_FILE.PUT_LI NE(FND_FILE.LOG ,'Fail create bank account. '||SUBSTR(lc_ou tput,1,255));
END LOOP;
END IF;

p_account_id := ln_acct_id;

EN D create_supplier _bankacct;

Reg ards,
Razak
Quote
0 #28 Mukul Bh 2009-11-12 00:21
this is very nicely compiled info. thx for the same. Do you also have more details on customers, supplier/custom er open invoice interface in R12 ?
Quote
0 #29 sriphani 2009-12-13 09:04
Gr8 Anil..Ur explanation is clear and useful thanks
Quote
0 #30 Justin Michael Raj 2010-12-06 05:10
Hi Anil,

I am currently working on Supplier conversion from 11i to R12.
While trying to create the Tax Registration Number at the Supplier Site, the API is inserting this value in the "Default Reporting Registration Number" at the supplier site level. This happens due to the creation of a Tax Profile for the Supplier Site.

But, according to our requirement, my client would like to have this value populated at the "Tax Reg Number" field only.
Please help if there is any API for this, or any other work around.

I can update the value directly into AP_SUPPLIER_SIT ES_ALL table, but I am not sure what might be the impacts.
Please help
Quote
0 #31 Vivian Cheng 2011-05-31 09:57
Hi Anil,

the following case applies for R12:
Step 1. I added Tax Registration Number to Supplier information in AP at Organisaton level.
Step 2. In AR, I want to add the same Tax Registration Number for a customer (with a different Party-ID) which is the same organization as the supplier. So this one organisation is both a supplier as a customer.
Oracle R12 gives a ERRORmessage when you perform Step 2, with message that Tax Registration Numbers is already used by the supplier from step 1.

Does Oracle allow you to store identical Tax Registration Number for different party types (both supplier and customer)?

Reg ards,

Vivian
Quote
0 #32 Manimala 2012-04-05 21:52
very crisp and well written article. thanks.
Quote
0 #33 Purvi Prachi 2012-05-27 04:34
I am working on conversion of supplier from 11.5.8 to R 12 .. can any one tell me of any API to update AUTO_TAX_CALC_F LAG. Appriciateing help.
Quote
+1 #34 sagar sagar 2015-06-16 07:04
i am using Supplier Open Interface Import program to create suppliers and program working fine but the issue is ... attributes column for HZ_PARTIES are not getting updated ..as i am passing value to attributes ..
anyone please help .
thanks
Quote
0 #35 Net Met 2015-06-22 10:17
I have trouble same "Sagar Sagar".Why HZ_PARTIES are not populate data such as rounding rule .help me please.... thks.
Quote

Add comment


Security code
Refresh

Search Trainings

Fully verifiable testimonials

Apps2Fusion - Event List

<<  Apr 2024  >>
 Mon  Tue  Wed  Thu  Fri  Sat  Sun 
  1  2  3  4  5  6  7
  8  91011121314
15161718192021
22232425262728
2930     

Enquire For Training

Fusion Training Packages

Get Email Updates


Powered by Google FeedBurner