Professional Documents
Culture Documents
Tasneem Furniturewalla
Principal Support Engineer
TCA API Webcast Resource Links
PL/SQL Procedure
CREATE_CUST_ACCOUNT
UPDATE_CUST_ACCOUNT
OUT Parameters
x_return_status OUT VARCHAR2
FND_API.G_RET_STS_SUCCESS - Success
FND_API.G_RET_STS_ERROR – Validation error
FND_API.G_RET_STS_UNEXP_ERROR - Unexpected error
x_msg_count OUT NUMBER
x_msg_data OUT VARCHAR2
HZ_CUST_SITE_USES_ALL
Account Site Use HZ_CUST_ACCOUNT_SITE_V2PUB.create_cust_site_use HZ_CUSTOMER_PROFILES
HZ_CUST_PROFILE_AMTS
Account
HZ_CUST_ACCOUNT_V2PUB. create_cust_acct_relate HZ_CUST_ACCT_RELATE_ALL
Relationship
11i : fnd_client_info.set_org_context(&org_id);
R12: MO_GLOBAL.set_policy_context('S', &org_id);
Error Status:
x_return_status: E
x_msg_count: 2
x_msg_data:
1. Both the first name and last name cannot be null for a person record.
Please enter the first name, last name, or both.
2. Value for person_pre_name_adjunct must be a value defined in lookup
type CONTACT_TITLE.
Success Status:
x_return_status: S
x_msg_count: 0
x_msg_data:
x_party_id = 490974
x_party_number = 55486
x_profile_id = 436558
Person Location
Click
x_cust_acct_site_id: 13903
x_site_use_id: 16390
select site_use_id, cust_acct_site_id, site_use_code,
location, org_id
from hz_cust_site_uses_all
where site_use_id = 16390;
SITE_USE_ID CUST_ACCT_SITE_ID SITE_USE_CODE LOCATION
ORG_ID
16390 13903 BILL_TO 16389
204
CUST_ CUST_
ACCT_PROFILE_AMT_ID ACCOUNT_PROFILE_ID CUST_ACCOUNT_ID
SITE_USE_ID CURRENCY_CODE
242143 245819 252705 16390 CAD
242144 245819 252705 16390 EUR
242145 245819 252705 16390 GBP
242146 245819 252705 16390 RUR
242147 245819 252705 16390 SEK
242148 245819 252705 16390 USD
Relationship party:
select party_id, party_number, party_type, party_name
from hz_parties
where party_id = 490975;
PARTY_ID PARTY_NUMBER PARTY_TYPE PARTY_NAME
490975 55488 PARTY_RELATIONSHIP Stella Sia-Singapore
Airlines-55488
x_party_site_id: 358431
x_party_site_number: 26185
select party_site_id, party_id, location_id,
party_site_number
from hz_party_sites
where party_site_id = 358431;
PARTY_SITE_ID PARTY_ID LOCATION_ID PARTY_SITE_NUMBER
358431 490975 28985 26185
Click
select
responsibility_id,cust_account_role_id,responsibility_typ
e,primary_flag
from hz_role_responsibility
where responsibility_id = 34406;
CUSTOMER_ACCOUNT_ID ACCOUNT_NAME
OBJECT_VERSION_NUMBER
252705 Singapore Airlines Office 1
CUSTOMER_ACCOUNT_ID ACCOUNT_NAME
OBJECT_VERSION_NUMBER
252705 Singapore Airlines Limited 2
END;
Receivables Community:
https://communities.oracle.com/portal/se
rver.pt/community/receivables/233
Twitter: @Oracle_EBS
Facebook: OracleEBusinessSuiteSupport
Blog: http://blogs.oracle.com/EBS
My Oracle Support EBS Community:
https://communities.oracle.com/portal/server.pt/community/oracle
_e-business_suite/228