DECLARE
l_rec_profile_t hz_customer_profile_v2pub.customer_profile_rec_type;
l_rec_profile hz_customer_profile_v2pub.cust_profile_amt_rec_type;
l_profile_amt_id NUMBER;
l_profile_id NUMBER;
l_return_status1 VARCHAR2(30);
l_msg_count1 NUMBER;
l_msg_data1 VARCHAR2(2000); l_return_status2 VARCHAR2(30);
l_msg_count2 NUMBER;
l_msg_data2 VARCHAR2(2000); l_object_version_number NUMBER;
BEGIN /* alter session set NLS_LANGUAGE = 'AMERICAN' ;*/
mo_global.init('AR');
fnd_global.apps_initialize(user_id => 1250, resp_id => 50719, resp_appl_id => 20005); l_rec_profile_t.cust_account_profile_id := 1040;
l_rec_profile_t.cust_account_id := 1042; --CXY-TEST0028660 l_rec_profile_t.credit_hold := 'N'; l_object_version_number := 5;--此值需为当前此配置文件的值,API里验证如下 hz_customer_profile_v2pub.update_customer_profile(p_init_msg_list => fnd_api.g_false,
p_customer_profile_rec => l_rec_profile_t,
p_object_version_number => l_object_version_number,
x_return_status => l_return_status1,
x_msg_count => l_msg_count1,
x_msg_data => l_msg_data1); FOR i IN 1 .. l_msg_count1 LOOP
l_msg_data1 := fnd_msg_pub.get(p_msg_index => i, p_encoded => 'F');
END LOOP; --FOR i IN 1 .. x_msg_count LOOP
dbms_output.put_line('x_return_status1:' || l_return_status1);
dbms_output.put_line('l_msg_count1:' || l_msg_count1);
dbms_output.put_line('l_msg_data1:' || l_msg_data1);
dbms_output.put_line('l_profile_amt_id:' || l_profile_amt_id);
EXCEPTION
WHEN OTHERS THEN
dbms_output.put_line('x_return_status:' || SQLERRM);
END;

Oracle EBS AR 更新客户配置文件的更多相关文章

  1. Oracle EBS AR 更新客户组织层

    declare -- Local variables here i integer; g_module ) := 'TCA_V2_API'; lrec_org hz_party_v2pub.organ ...

  2. Oracle EBS AR 更新客户账户层

    declare x_return_status ); x_msg_count NUMBER; x_msg_data ); x_profile_id NUMBER; l_location_id NUMB ...

  3. Oracle EBS AR 更新客户

    DECLARE    l_return_status );    l_msg_count     NUMBER;    l_msg_data      );    l_rec_type      hz ...

  4. Oracle EBS AR 客户API

    ------------------------------------ 1. Set Environment ------------------------------------ -- 1a. ...

  5. Oracle EBS AR 客户取数SQL

    SELECT acct.cust_account_id, acct.party_id, acct.account_number, party.party_name, lkp1.meaning part ...

  6. 详解ebs接口之客户配置文件导入(一)

    DECLARE l_rec_profile_t hz_customer_profile_v2pub.customer_profile_rec_type; l_rec_profile hz_custom ...

  7. Oracle EBS AR 其他API

    DECLARE L_CR_ID NUMBER; L_ATTRIBUTE_REC AR_RECEIPT_API_PUB.ATTRIBUTE_REC_TYPE; L_GLOBAL_ATT_REC AR_R ...

  8. Oracle EBS AR 收款核销行关联到事务处理

    select ra.trx_number from ar_cash_receipts_all cr, ar_receivable_applications_all ar,ra_customer_trx ...

  9. Oracle EBS AR 事务处理到期余额总计API

    declare    -- Local variables here   i integer;   x_line_original NUMBER;   x_line_remaining NUMBER; ...

随机推荐

  1. Check类中的incl、union,excl,diff,intersect

    定义一些类,这些类之间有父子关系,如下: class Father{} class Son1 extends Father{} class Son2 extends Father{} class To ...

  2. Python虚拟环境中pip install时没有权限问题

    virtualenv Permission denied 新建的python虚拟环境的目录的所属者必须是当前用户,才不会出现这种错误 比如 virtualenv py27 sudo chown zzf ...

  3. 01-python基础

    前几天, 觉得python简单的不行, 没有仔细做笔记, 然后今天翻了下前几天看的东西, 还是记下来吧 对于python2.7 和 python3 , 建议使用python3 的模式编程, 然后使用p ...

  4. Leetcode 647. Palindromic Substrings

    Given a string, your task is to count how many palindromic substrings in this string. The substrings ...

  5. 1000. A-B

    1000. A-B -----> http://soj.me/1000 Constraints Time Limit: 1 secs, Memory Limit: 32 MB Descripti ...

  6. asdfasdfasdfasdf

  7. 二进制转化、<<、>>、>>>移位运算

    参考资料: https://www.cnblogs.com/wxb20/p/6033458.html https://www.cnblogs.com/joahyau/p/6420619.html ht ...

  8. 【原】戏说Java

    戏说Java 本文只是个人闲余之际写的,查阅了些许资料,仅当娱乐.如有雷同,纯属巧合.   如果要学好一个东西,就应该要把他拟人化,当做一个你的好朋友,对他产生兴趣,那么你自然而然就会学习好他了.俗话 ...

  9. CSS starts

    I have not written any articles here since I graduated from my university. Now I begin to write down ...

  10. 一文理解JS的节流、防抖及使用场景

    函数防抖(debounce):在事件被触发n秒后再执行回调,如果在这n秒内又被触发,则重新计时. 看一个