ITPUB??ì3
新一届的微软MVP评选已经开始,欢迎各位推荐!
ITPUB论坛 » ERP二次开发 » 在与oracle erp系统接口中,如何递交客户接口数据

标题: 在与oracle erp系统接口中,如何递交客户接口数据
离线 kelly2007
初级会员



精华贴数 0
个人空间 0
技术积分 14 (72413)
社区积分 0 (1570767)
注册日期 2007-9-25
论坛徽章:0
      
      

发表于 2007-10-31 13:42 
在与oracle erp系统接口中,如何递交客户接口数据

在向oracle erp中增加一个用户. 按照提供的接口表,我将一条新客户的信息插入到ar.ra_customers_interface_all中了.下一步,如何在程序中(.net开发环境)递交客户接口数据,不是很清楚.请问高手们知道吗?查看了官方网站的资料,没有得到太多的信息.
请提供思路,有例子说明或文档更好!


只看该作者    顶部
离线 杭州虫二
中级会员



精华贴数 0
个人空间 0
技术积分 424 (4591)
社区积分 159 (2689)
注册日期 2007-10-19
论坛徽章:9
授权会员ERP板块每日发贴之星ITPUB新首页上线纪念徽章ERP板块每日发贴之星ERP板块每日发贴之星ERP板块每日发贴之星
ERP板块每日发贴之星ERP板块每日发贴之星ERP板块每日发贴之星   

发表于 2007-10-31 18:32 
写个PLSQL 包含 提交请求,然后 .net 调用PLSQL


只看该作者    顶部
离线 kelly2007
初级会员



精华贴数 0
个人空间 0
技术积分 14 (72413)
社区积分 0 (1570767)
注册日期 2007-9-25
论坛徽章:0
      
      

发表于 2007-11-5 12:39 
出错

在sql*plus中执行
declare
I_request_id number;
p_message varchar2(255);
begin
I_request_id:=apps.fnd_request.submit_request('AR','RACUST','','',FALSE,chr(0),'','','','','','','','','', '','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','');
commit;
if (I_request_id>0)
then
p_message:='Request ID:'||to_char(I_request_id);
dbms_output.put_line('I_request_id:'||I_request_id||',');
dbms_output.put_line('p_message:'||p_message);
commit;
else
p_message:=apps.fnd_message.get;
dbms_output.put_line('I_request_id:'||I_request_id||',');
dbms_output.put_line('p_message:'||p_message);
rollback;
end if;
end;
结果:
I_request_id:0,
p_message:ORACLE error -2289 in SUBMIT: others

Cause:  SUBMIT: others failed
due to ORA-02289: 序列(号)不存在.

The SQL statement being executed at the
time of the error was: &SQLSTMT and was executed from the file &ERRFILE.

PL/SQL 过程已成功完成。


只看该作者    顶部
离线 kelly2007
初级会员



精华贴数 0
个人空间 0
技术积分 14 (72413)
社区积分 0 (1570767)
注册日期 2007-9-25
论坛徽章:0
      
      

发表于 2007-11-5 12:43 
我分别在ar.ra_customers_interface_all和ar.ra_customer_profiles_int_all中插入数据.
其中前者表中,插入必须字段:
insert into ar.ra_customers_interface_all(orig_system_customer_ref,insert_update_flag,customer_name,customer_status,customer_number,last_updated_by,last_update_date,created_by,creation_date) "
                                        + "values('cust0001','I','c test','A',9000,-1,sysdate,-1,sysdate)

后者插入了
insert into ar.ra_customer_profiles_int_all(insert_update_flag,orig_system_customer_ref,customer_profile_class_name,"
                                        +"credit_hold,last_updated_by,last_update_date,creation_date,created_by) "
                                        +"values('I','cust0001','DEFAULT','N','-1',sysdate,sysdate,'-1')


只看该作者    顶部
离线 kelly2007
初级会员



精华贴数 0
个人空间 0
技术积分 14 (72413)
社区积分 0 (1570767)
注册日期 2007-9-25
论坛徽章:0
      
      

发表于 2007-11-7 10:40 
帮忙看看问题

怎么没有人帮忙回答呀?


只看该作者    顶部
离线 feifanhsl
初级会员



精华贴数 0
个人空间 0
技术积分 118 (14612)
社区积分 0 (415850)
注册日期 2005-5-19
论坛徽章:0
      
      

发表于 2008-4-26 21:54 
你的问题解决了吗,我也有同样的问题,交流一下


只看该作者    顶部
离线 jetbo
思维创造动力


精华贴数 0
个人空间 0
技术积分 566 (3406)
社区积分 53 (4725)
注册日期 2003-10-10
论坛徽章:2
授权会员ITPUB新首页上线纪念徽章    
      

发表于 2008-6-25 21:19 
先在PL/SQL中把程序调试通过,然后采用上面的思路来进行调用,从LZ提供的信息来看,应该是PL/SQL都没通过的


__________________
提供Oracle EBS银行、航空、钢铁、贸易、制造行业财务、分销、制造业务及二次开发解决方案
UnderWorld:OracleERP有一感觉叫"口渴",有一种动作叫"喝水"...
只看该作者    顶部
 
    

相关内容


CopyRight 1999-2006 itpub.net All Right Reserved.
北京皓辰广域网络信息技术有限公司. 版权所有
E-mail:Webmaster@itpub.net
京ICP证:010037号 联系我们 法律顾问