找回密码
 注册账号

QQ登录

只需一步,快速开始

手机号码,快捷登录

手机号码,快捷登录

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

[求助] NC 凭证导入错误

[复制链接]
发表于 2011-3-4 11:05:01 | 显示全部楼层 |阅读模式

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

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

×
<?xml version="1.0" encoding='gb2312'?>
<ufinterface billtype="gl" filename="凭证.xml" isexchange="Y" proc="add" receiver="05@05-0003" replace="Y" roottag="sendresult" sender="1008" successful="N">
    <sendresult>
        <billpk>
        </billpk>
        <bdocid>
        </bdocid>
        <filename>
        </filename>
        <resultcode>-31003</resultcode>
        <resultdescription>交换环境初始化异常:无法找到元素:bill</resultdescription>
        <content>
        </content>
    </sendresult>
</ufinterface>

用外部交换平台导入后报错,XML格式应该没错,是什么原因呢?

<?xml version="1.0" encoding="gb2312"?>
<ufinterface roottag="voucher" billtype="gl" subtype="" replace="Y" receiver="05" sender="1008" isexchange="Y" filename="凭证.xml" proc="add" operation="req">
<voucher id="05201111">
<voucher_head>
<company>05</company>
<voucher_type>00</voucher_type>
<fiscal_year>2011</fiscal_year>
<accounting_period>1</accounting_period>
<voucher_id>1</voucher_id>
<attachment_number>1</attachment_number>
<prepareddate>2011-01-01</prepareddate>
<enter>dengdahua</enter>
<cashier/>
<signature>N</signature>
<checker/>
<operator/>
<posting_date/>
<posting_person/>
<revokeflag>N</revokeflag>
<voucherkind>0</voucherkind>
<voucher_making_system>总账</voucher_making_system>
<memo1/><memo2/>
<reserve1/><reserve2/>
</voucher_head>
<voucher_body>
<entry>
<entry_id>1</entry_id>
<account_code>100101</account_code>
<abstract>测试</abstract>
<settlement>1</settlement>
<document_id></document_id>
<document_date>2011-01-01</document_date>
<currency>CNY</currency>
<unit_price></unit_price>
<exchange_rate1>0</exchange_rate1>
<exchange_rate2></exchange_rate2>
<debit_quantity>0</debit_quantity>
<primary_debit_amount>100</primary_debit_amount>
<secondary_debit_amount>0</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>0</secondary_credit_amount>
<natural_credit_currency>0</natural_credit_currency>
<bill_type/><bill_id/>
<bill_date/><auxiliary_accounting/>
<detail/>
<freeitem1/><freeitem2/>
<freeitem3/><freeitem4/>
<freeitem5/><freeitem6/>
<freeitem7/><freeitem8/>
<freeitem9/><freeitem10/>
<freeitem11/><freeitem12/>
<freeitem13/><freeitem14/>
<freeitem15/><freeitem16/>
<freeitem17/><freeitem18/>
<freeitem19/><freeitem20/>
<freeitem21/><freeitem22/>
<freeitem23/><freeitem24/>
<freeitem25/><freeitem26/>
<freeitem27/><freeitem28/>
<freeitem29/><freeitem30/>
<otheruserdata>
<cashflowcase><pk_cashflow>1111</pk_cashflow>
<moneymain>100</moneymain>
<money>100</money>
</cashflowcase>
</otheruserdata>
</entry>
<entry>
<entry_id>2</entry_id>
<account_code>10020101</account_code><abstract>测试</abstract><settlement>10</settlement><document_id></document_id><document_date>2011-01-01</document_date><currency>CNY</currency><unit_price></unit_price><exchange_rate1>0</exchange_rate1><exchange_rate2></exchange_rate2><debit_quantity>0</debit_quantity><primary_debit_amount>0</primary_debit_amount><secondary_debit_amount>0</secondary_debit_amount><natural_debit_currency>0</natural_debit_currency><credit_quantity>0</credit_quantity><primary_credit_amount>100</primary_credit_amount><secondary_credit_amount>0</secondary_credit_amount><natural_credit_currency>100</natural_credit_currency><bill_type/><bill_id/><bill_date/><auxiliary_accounting/><detail/><freeitem1/><freeitem2/><freeitem3/><freeitem4/><freeitem5/><freeitem6/><freeitem7/><freeitem8/><freeitem9/><freeitem10/><freeitem11/><freeitem12/><freeitem13/><freeitem14/><freeitem15/><freeitem16/><freeitem17/><freeitem18/><freeitem19/><freeitem20/><freeitem21/><freeitem22/><freeitem23/><freeitem24/><freeitem25/><freeitem26/><freeitem27/><freeitem28/><freeitem29/><freeitem30/><otheruserdata><cashflowcase><pk_cashflow>1111</pk_cashflow><moneymain>-100</moneymain><money>-100</money></cashflowcase></otheruserdata></entry></voucher_body></voucher><voucher id="05201112"><voucher_head><company>05</company><voucher_type>00</voucher_type><fiscal_year>2011</fiscal_year><accounting_period>1</accounting_period><voucher_id>2</voucher_id><attachment_number>1</attachment_number><prepareddate>2011-01-01</prepareddate><enter>dengdahua</enter><cashier/><signature>N</signature><checker/><operator/><posting_date/><posting_person/><revokeflag>N</revokeflag><voucherkind>0</voucherkind><voucher_making_system>总账</voucher_making_system><memo1/><memo2/><reserve1/><reserve2/></voucher_head><voucher_body><entry><entry_id>1</entry_id><account_code>100101</account_code><abstract>测试</abstract><settlement>1</settlement><document_id></document_id><document_date>2011-01-01</document_date><currency>CNY</currency><unit_price></unit_price><exchange_rate1>0</exchange_rate1><exchange_rate2></exchange_rate2><debit_quantity>0</debit_quantity><primary_debit_amount>100</primary_debit_amount><secondary_debit_amount>0</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>0</secondary_credit_amount><natural_credit_currency>0</natural_credit_currency><bill_type/><bill_id/><bill_date/><auxiliary_accounting/><detail/><freeitem1/><freeitem2/><freeitem3/><freeitem4/><freeitem5/><freeitem6/><freeitem7/><freeitem8/><freeitem9/><freeitem10/><freeitem11/><freeitem12/><freeitem13/><freeitem14/><freeitem15/><freeitem16/><freeitem17/><freeitem18/><freeitem19/><freeitem20/><freeitem21/><freeitem22/><freeitem23/><freeitem24/><freeitem25/><freeitem26/><freeitem27/><freeitem28/><freeitem29/><freeitem30/><otheruserdata><cashflowcase><pk_cashflow>1111</pk_cashflow><moneymain>100</moneymain><money>100</money></cashflowcase></otheruserdata></entry><entry><entry_id>2</entry_id><account_code>10020101</account_code><abstract>测试</abstract><settlement>10</settlement><document_id></document_id><document_date>2011-01-01</document_date><currency>CNY</currency><unit_price></unit_price><exchange_rate1>0</exchange_rate1><exchange_rate2></exchange_rate2><debit_quantity>0</debit_quantity><primary_debit_amount>0</primary_debit_amount><secondary_debit_amount>0</secondary_debit_amount><natural_debit_currency>0</natural_debit_currency><credit_quantity>0</credit_quantity><primary_credit_amount>100</primary_credit_amount><secondary_credit_amount>0</secondary_credit_amount><natural_credit_currency>100</natural_credit_currency><bill_type/><bill_id/><bill_date/><auxiliary_accounting/><detail/><freeitem1/><freeitem2/><freeitem3/><freeitem4/><freeitem5/><freeitem6/><freeitem7/><freeitem8/><freeitem9/><freeitem10/><freeitem11/><freeitem12/><freeitem13/><freeitem14/><freeitem15/><freeitem16/><freeitem17/><freeitem18/><freeitem19/><freeitem20/><freeitem21/><freeitem22/><freeitem23/><freeitem24/><freeitem25/><freeitem26/><freeitem27/><freeitem28/><freeitem29/><freeitem30/><otheruserdata><cashflowcase><pk_cashflow>1111</pk_cashflow><moneymain>-100</moneymain><money>-100</money></cashflowcase></otheruserdata></entry></voucher_body></voucher></ufinterface>
发表于 2011-3-4 16:59:45 | 显示全部楼层
交换环境初始化异常:无法找到元素
未做外部数据与内部数据对应关系吧
发表于 2012-9-12 17:56:11 | 显示全部楼层
回复 点赞 拍砖

使用道具 举报

发表于 2012-12-20 13:46:23 | 显示全部楼层
导入的xml跟NC凭证的xml,从交换规则中可以导出NC的凭证xml
应用集成--交换规则--打开--选择gl和外部系统编码--确定--导出
回复 点赞 拍砖

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-18 00:50 , Processed in 0.046891 second(s), 9 queries , Gzip On, Redis On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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