找回密码
 注册账号

QQ登录

只需一步,快速开始

手机号码,快捷登录

手机号码,快捷登录

初学者课程:T3自学|T6自学|U8自学软件下载课件下载工具下载资料:通资料|U8资料|NC|培训|年结积分规则 | 使用常见问题Q&A
知识库:U8 | | NC | U9 | OA | 政务U8|U9|NCC|NC65|NC65客开|NCC客开新手必读 | 任务 | 快速增金币用友QQ群[微信群]
查看: 3553|回复: 2

[其他] EAI二次开发

[复制链接]
发表于 2012-1-13 10:22:26 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册账号

×
用接口导入总账的凭证时,老返回“文件/路劲访问错误”的信息回来,实在不知道为什么,各种权限也有,XML格式字符串也能在服务器端取到,格式如下:
<?xml version="1.0"?> <ufinterface roottag="voucher" billtype="gl" docid="" receiver="u8" sender="1" proc="Query" codeexchanged="N" renewproofno="n" exportneedexch="N"><voucher id="GL0000000000002"> <voucher_head> <company></company> <voucher_type>收</voucher_type> <fiscal_year>2012</fiscal_year> <accounting_period>1</accounting_period> <voucher_id>3</voucher_id> <attachment_number>-1</attachment_number> <date>2012-1-9</date> <enter>wusheng</enter> <cashier></cashier> <signature></signature> <checker></checker> <posting_date></posting_date> <posting_person></posting_person> <voucher_making_system></voucher_making_system> <memo1></memo1> <memo2></memo2> <reserve1></reserve1> <reserve2>GL0000000000001</reserve2> <revokeflag></revokeflag> </voucher_head> <voucher_body> <entry> <entry_id>1</entry_id> <account_code>410101</account_code> <abstract>办公用品</abstract> <settlement></settlement> <document_id></document_id> <document_date></document_date> <currency></currency> <unit_price></unit_price> <exchange_rate1></exchange_rate1> <exchange_rate2>0</exchange_rate2> <debit_quantity>0</debit_quantity> <primary_debit_amount>0</primary_debit_amount> <secondary_debit_amount></secondary_debit_amount> <natural_debit_currency>100</natural_debit_currency> <credit_quantity>0</credit_quantity> <primary_credit_amount>0</primary_credit_amount> <secondary_credit_amount></secondary_credit_amount> <natural_credit_currency>0</natural_credit_currency> <bill_type></bill_type> <bill_id></bill_id> <bill_date></bill_date> <auxiliary_accounting> <item name="dept_id"></item> <item name="personnel_id"></item> <item name="cust_id"></item> <item name="supplier_id"></item> <item name="item_id"></item> <item name="item_class"></item> <item name="operator"></item> <item name="self_define1"></item> <item name="self_define2"></item> <item name="self_define3"></item> <item name="self_define4"></item> <item name="self_define5"></item> <item name="self_define6"></item> <item name="self_define7"></item> <item name="self_define8"></item> <item name="self_define9"></item> <item name="self_define10"></item> <item name="self_define11"></item> <item name="self_define12"></item> <item name="self_define13"></item> <item name="self_define14"></item> <item name="self_define15"></item> <item name="self_define16"></item> </auxiliary_accounting> <detail> <cash_flow_statement> </cash_flow_statement> <code_remark_statement> </code_remark_statement> </detail> </entry> <entry> <entry_id>2</entry_id> <account_code>1001</account_code> <abstract>办公用品</abstract> <settlement></settlement> <document_id></document_id> <document_date></document_date> <currency></currency> <unit_price></unit_price> <exchange_rate1></exchange_rate1> <exchange_rate2>0</exchange_rate2> <debit_quantity>0</debit_quantity> <primary_debit_amount>0</primary_debit_amount> <secondary_debit_amount></secondary_debit_amount> <natural_debit_currency>0</natural_debit_currency> <credit_quantity>0</credit_quantity> <primary_credit_amount>0</primary_credit_amount> <secondary_credit_amount></secondary_credit_amount> <natural_credit_currency>100</natural_credit_currency> <bill_type></bill_type> <bill_id></bill_id> <bill_date></bill_date> <auxiliary_accounting> <item name="dept_id"></item> <item name="personnel_id"></item> <item name="cust_id"></item> <item name="supplier_id"></item> <item name="item_id"></item> <item name="item_class"></item> <item name="operator"></item> <item name="self_define1"></item> <item name="self_define2"></item> <item name="self_define3"></item> <item name="self_define4"></item> <item name="self_define5"></item> <item name="self_define6"></item> <item name="self_define7"></item> <item name="self_define8"></item> <item name="self_define9"></item> <item name="self_define10"></item> <item name="self_define11"></item> <item name="self_define12"></item> <item name="self_define13"></item> <item name="self_define14"></item> <item name="self_define15"></item> <item name="self_define16"></item> </auxiliary_accounting> <detail> <cash_flow_statement> </cash_flow_statement> <code_remark_statement> </code_remark_statement> </detail> </entry> </voucher_body> </voucher> </ufinterface>
应该是处理process方法时报的错,本人初学,求高手解决,万分感谢
发表于 2012-2-23 20:19:21 | 显示全部楼层
把<voucher id="GL0000000000002">的值去掉试试。
回复 点赞 拍砖

使用道具 举报

发表于 2012-2-23 20:20:53 | 显示全部楼层
proc="Query" 把query改为add , renewproofno="n"把n改为y
回复 点赞 拍砖

使用道具 举报

您需要登录后才可以回帖 登录 | 注册账号

本版积分规则

QQ|站长微信|Archiver|手机版|小黑屋|用友之家 ( 蜀ICP备07505338号|51072502110008 )

GMT+8, 2024-12-22 13:52 , Processed in 0.037011 second(s), 6 queries , Gzip On, Redis On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表