Load Customer

This forum is to discuss different features/issues of Oracle Financials modules ( GL - General Ledger, AP - Accounts Payable, AR - Accounts Receivable, FA - Fixed Assets & CM - Cash Management ).
Post Reply
turbo
Posts: 62
Joined: Mon Apr 14, 2008 9:12 am
Location: Vietnam

Load Customer

Post by turbo »

Hi all,

I have the list of Customers.
Now I want to load into system because there are alot of customer that I can't insert manual.

So, How can I load customer in R12?

Thanks a lot!
Zain A. Siddiqui
Posts: 6
Joined: Tue Sep 23, 2008 3:32 am
Location: Pakistan

Post by Zain A. Siddiqui »

Dear Turbo,

You can load customers in huge quantity through Interface Tables and API.

1. Through Interface Tables :

Interface tables: RA_CUSTOMERS_INTERFACE_ALL
RA_CUSTOMER_PROFILES_INT_ALL
RA_CONTACT_PHONES_INT_ALL
RA_CUSTOMER_BANKS_INT_ALL
RA_CUST_PAY_METHOD_INT_ALL
Filled out These tables through SQL loader and run Concurrent program Customer Interface.

2. Through Customer API:

1. Set the organization id
Exec dbms_application_info.set_client_info(?204?);

2. Create a party and an account
HZ_CUST_ACCOUNT_V2PUB.CREATE_CUST_ACCOUNT()
HZ_CUST_ACCOUNT_V2PUB.CUST_ACCOUNT_REC_TYPE
HZ_PARTY_V2PUB.ORGANIZATION_REC_TYPE
HZ_CUSTOMER_PROFILE_V2PUB.CUSTOMER_PROFILE_REC_TYPE

3. Create a physical location
HZ_LOCATION_V2PUB.CREATE_LOCATION()
HZ_LOCATION_V2PUB.LOCATION_REC_TYPE

4. Create a party site using party_id you get from step 2 and location_id from step 3.
HZ_PARTY_SITE_V2PUB.CREATE_PARTY_SITE()
HZ_PARTY_SITE_V2PUB.PARTY_SITE_REC_TYPE

5. Create an account site using account_id you get from step 2 and party_site_id from step 4.
HZ_CUST_ACCOUNT_SITE_V2PUB.CREATE_CUST_ACCT_SITE()
HZ_CUST_ACCOUNT_SITE_V2PUB.CUST_ACCT_SITE_REC_TYPE

6. Create an account site use using cust_acct_site_id you get from step 5 ans site_use_code = ?BILL_TO?.
HZ_CUST_ACCOUNT_SITE_V2PUB.CREATE_CUST_SITE_USE()
HZ_CUST_ACCOUNT_SITE_V2PUB.CUST_SITE_USE_REC_TYPE
HZ_CUSTOMER_PROFILE_V2PUB.CUSTOMER_PROFILE_REC_TYPE

Base table:
?#61472;HZ_PARTIES
?#61472;HZ_PARTY_SITES
?#61472;HZ_LOCATIONS
?#61472;HZ_CUST_ACCOUNTS
?#61472;HZ_CUST_SITE_USES_ALL
?#61472;HZ_CUST_ACCT_SITES_ALL
?#61472;HZ_PARTY_SITE_USES

Validations: Check if legacy values fetched are valid.
Check if customer address site is already created.
Check if customer site use is already created.
Check is customer header is already created.
Check whether the ship_to_site has associated bill_to_site
Check whether associated bill_to_site is created or not.
Profile amounts validation: validate cust_account_id, validate customer status.
Check if the location already exists in HZ_LOCATIONS. If does not exist, create new location.

Regards,

Zain A. Siddiqui
Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests