Regarding creation of customer roles and contacts
We are migrating from 11i to R12.
While creating customer roles, I have a doubt populating the mandatory parameters.
There are 2 manadatory parameters and if the contact is created at site level, then another parameter needs to be populated:
Mandatory Parameters for Roles API (hz_cust_account_role_v2pub.create_cust_account_role):
--------------------------------------------------------------------------------------------------------------------
1. Party Id
2. Cust Account Id
3 Cust Acct Site Id (Needs to be populated if the contact is created at site level).
Party Id is the out parameter of API hz_party_contact_v2pub.create_org_contact.
Cust Acct Site Id can be fetched from table hz_org_contacts. There is a column called party_site_id.