Professional Documents
Culture Documents
Page 1 of 2
Service Request Configuration Support Manager Patches & Updates Headlines Knowledge KnowledgeBrowser AdvancedSearch BugSearch SecureEnterpriseSearch
Forums
Certify
Go
AdvancedSaved Searches
Select
Select
Submit
Subject: How to use the TCA API's in MOAC Environment ? Doc ID: Note:412996.1 Last Revision Date: 13-MAR-2007 Type: HOWTO Status: PUBLISHED
In this Document
Goal Solution
Applies to:
Oracle Trading Community - Version: 12.0 to 12.0.1 Information in this document applies to any platform.
Goal
This document will help to review the changes to done in TCA API's in R12 for call from MOAC environment.
Solution
DECLARE p_cust_account_rec HZ_CUST_ACCOUNT_V2PUB.CUST_ACCOUNT_REC_TYPE; p_organization_rec HZ_PARTY_V2PUB.ORGANIZATION_REC_TYPE; p_customer_profile_rec HZ_CUSTOMER_PROFILE_V2PUB.CUSTOMER_PROFILE_REC_TYPE; x_cust_account_id NUMBER; x_account_number VARCHAR2(2000); x_party_id NUMBER; x_party_number VARCHAR2(2000); x_profile_id NUMBER; x_return_status VARCHAR2(2000); x_msg_count NUMBER; x_msg_data VARCHAR2(2000); BEGIN fnd_global.apps_initialize(1318, 50559, 222);
Createdhttps://metalink.oracle.com/metalink/plsql/f?p=130:14:12697822085736501337::::p14_dat... with novaPDF Printer (www.novaPDF.com). Please register to remove this message.
3/19/2007
ShowDoc
Page 2 of 2
-- call added in R12 to write operating unit specific data to TCA MO_GLOBAL.INIT('AR'); MO_GLOBAL.set_policy_context('S',204 ); -- 204 is operating unit for Vision Operations p_cust_account_rec.account_name := 'Acc_test1'; p_cust_account_rec.created_by_module := 'TCA_V1_API'; p_organization_rec.organization_name := 'Fenner Test'; p_organization_rec.created_by_module := 'TCA_V1_API'; hz_cust_account_v2pub.create_cust_account( 'T', p_cust_account_rec, p_organization_rec, p_customer_profile_rec, 'F', x_cust_account_id, x_account_number, x_party_id, x_party_number, x_profile_id, x_return_status, x_msg_count, x_msg_data); dbms_output.put_line('***************************'); dbms_output.put_line('Output information ....'); dbms_output.put_line('x_cust_account_id: '||x_cust_account_id); dbms_output.put_line('x_account_number: '||x_account_number); dbms_output.put_line('x_party_id: '||x_party_id); dbms_output.put_line('x_party_number: '||x_party_number); dbms_output.put_line('x_profile_id: '||x_profile_id); dbms_output.put_line('x_return_status: '||x_return_status); dbms_output.put_line('x_msg_count: '||x_msg_count); dbms_output.put_line('x_msg_data: '||x_msg_data); dbms_output.put_line('***************************'); END;
Keywords
'TCA-API' Help us improve our service. Please email us your comments for this document. . Bookmarks Admin Profile Feedback SignOut Help
Copyright2006,Oracle.Allrightsreserved.
LegalNoticesandTermsofUse | PrivacyStatement
Createdhttps://metalink.oracle.com/metalink/plsql/f?p=130:14:12697822085736501337::::p14_dat... with novaPDF Printer (www.novaPDF.com). Please register to remove this message.
3/19/2007