|
楼主 |
发表于 2009-12-24 11:56:08
|
显示全部楼层
也试过不用基础数据对照表的方式,但是导入时提示的是同样的错误。
以下是操作情况
1.创建外部交换平台的外部系统
创建外部系统名为1101,默认的按名称匹配,会计科目是按编码匹配。
2.手动加载数据
3.产生的错误是科目没找到.
<?xml version="1.0" encoding='UTF-8'?>
<ufinterface billtype="gl" proc="add" sender="1101" roottag="voucher" receiver="116103010@116103010-0001">
<voucher id="">
<voucher_head>
<company>市公司</company>
<voucher_type>记账凭证</voucher_type>
<fiscal_year>2009</fiscal_year>
<accounting_period>12</accounting_period>
<voucher_id>2</voucher_id>
<attachment_number>4</attachment_number>
<prepareddate>2009-12-03</prepareddate>
<enter></enter>
<cashier></cashier>
<signature>N</signature>
<checker></checker>
<posting_date></posting_date>
<posting_person></posting_person>
<voucher_making_system>总账</voucher_making_system>
<memo1></memo1>
<memo2></memo2>
<reserve1></reserve1>
<reserve2></reserve2>
</voucher_head>
<voucher_body>
<entry>
<entry_id>1</entry_id>
<account_code>660206</account_code>
<abstract>分公司付琢玲报汽油费</abstract>
<settlement></settlement>
<document_id></document_id>
<document_date></document_date>
<currency>人民币</currency>
<unit_price>0.00000000</unit_price>
<exchange_rate1>0.00000000</exchange_rate1>
<exchange_rate2>1.00000000</exchange_rate2>
<debit_quantity>0.00000000</debit_quantity>
<primary_debit_amount>3011.1000</primary_debit_amount>
<secondary_debit_amount>0.0000</secondary_debit_amount>
<natural_debit_currency>3011.1000</natural_debit_currency>
<credit_quantity>0.00000000</credit_quantity>
<primary_credit_amount>0.0000</primary_credit_amount>
<secondary_credit_amount>0.0000</secondary_credit_amount>
<natural_credit_currency>0.0000</natural_credit_currency>
<bill_type></bill_type>
<bill_id></bill_id>
<bill_date></bill_date>
<auxiliary_accounting>
<item name="部门档案">经理室</item>
<item name="归口环节档案">行政管理环节</item>
</auxiliary_accounting>
<detail></detail>
</entry>
<entry>
<entry_id>2</entry_id>
<account_code>660206</account_code>
<abstract>分公司付琢玲报汽油费</abstract>
<settlement></settlement>
<document_id></document_id>
<document_date></document_date>
<currency>人民币</currency>
<unit_price>0.00000000</unit_price>
<exchange_rate1>0.00000000</exchange_rate1>
<exchange_rate2>1.00000000</exchange_rate2>
<debit_quantity>0.00000000</debit_quantity>
<primary_debit_amount>1413.1000</primary_debit_amount>
<secondary_debit_amount>0.0000</secondary_debit_amount>
<natural_debit_currency>1413.1000</natural_debit_currency>
<credit_quantity>0.00000000</credit_quantity>
<primary_credit_amount>0.0000</primary_credit_amount>
<secondary_credit_amount>0.0000</secondary_credit_amount>
<natural_credit_currency>0.0000</natural_credit_currency>
<bill_type></bill_type>
<bill_id></bill_id>
<bill_date></bill_date>
<auxiliary_accounting>
<item name="部门档案">办公室</item>
<item name="归口环节档案">行政管理环节</item>
</auxiliary_accounting>
<detail></detail>
</entry>
<entry>
<entry_id>3</entry_id>
<account_code>660206</account_code>
<abstract>分公司付琢玲报汽油费</abstract>
<settlement></settlement>
<document_id></document_id>
<document_date></document_date>
<currency>人民币</currency>
<unit_price>0.00000000</unit_price>
<exchange_rate1>0.00000000</exchange_rate1>
<exchange_rate2>1.00000000</exchange_rate2>
<debit_quantity>0.00000000</debit_quantity>
<primary_debit_amount>1331.0200</primary_debit_amount>
<secondary_debit_amount>0.0000</secondary_debit_amount>
<natural_debit_currency>1331.0200</natural_debit_currency>
<credit_quantity>0.00000000</credit_quantity>
<primary_credit_amount>0.0000</primary_credit_amount>
<secondary_credit_amount>0.0000</secondary_credit_amount>
<natural_credit_currency>0.0000</natural_credit_currency>
<bill_type></bill_type>
<bill_id></bill_id>
<bill_date></bill_date>
<auxiliary_accounting>
<item name="部门档案">专卖股</item>
<item name="归口环节档案">专卖管理环节</item>
</auxiliary_accounting>
<detail></detail>
</entry>
<entry>
<entry_id>4</entry_id>
<account_code>660206</account_code>
<abstract>分公司付琢玲报汽油费</abstract>
<settlement></settlement>
<document_id></document_id>
<document_date></document_date>
<currency>人民币</currency>
<unit_price>0.00000000</unit_price>
<exchange_rate1>0.00000000</exchange_rate1>
<exchange_rate2>1.00000000</exchange_rate2>
<debit_quantity>0.00000000</debit_quantity>
<primary_debit_amount>5480.3100</primary_debit_amount>
<secondary_debit_amount>0.0000</secondary_debit_amount>
<natural_debit_currency>5480.3100</natural_debit_currency>
<credit_quantity>0.00000000</credit_quantity>
<primary_credit_amount>0.0000</primary_credit_amount>
<secondary_credit_amount>0.0000</secondary_credit_amount>
<natural_credit_currency>0.0000</natural_credit_currency>
<bill_type></bill_type>
<bill_id></bill_id>
<bill_date></bill_date>
<auxiliary_accounting>
<item name="部门档案">客户服务部</item>
<item name="归口环节档案">营销环节</item>
</auxiliary_accounting>
<detail></detail>
</entry>
<entry>
<entry_id>5</entry_id>
<account_code>22210101</account_code>
<abstract>分公司付琢玲报汽油费提进项税</abstract>
<settlement></settlement>
<document_id></document_id>
<document_date></document_date>
<currency>人民币</currency>
<unit_price>0.00000000</unit_price>
<exchange_rate1>0.00000000</exchange_rate1>
<exchange_rate2>1.00000000</exchange_rate2>
<debit_quantity>0.00000000</debit_quantity>
<primary_debit_amount>1910.0400</primary_debit_amount>
<secondary_debit_amount>0.0000</secondary_debit_amount>
<natural_debit_currency>1910.0400</natural_debit_currency>
<credit_quantity>0.00000000</credit_quantity>
<primary_credit_amount>0.0000</primary_credit_amount>
<secondary_credit_amount>0.0000</secondary_credit_amount>
<natural_credit_currency>0.0000</natural_credit_currency>
<bill_type></bill_type>
<bill_id></bill_id>
<bill_date></bill_date>
<auxiliary_accounting>
<item name="部门档案">分公司本部</item>
<item name="税金类型">燃油17%</item>
</auxiliary_accounting>
<detail></detail>
</entry>
<entry>
<entry_id>6</entry_id>
<account_code>100201</account_code>
<abstract>分公司付琢玲报汽油费</abstract>
<settlement></settlement>
<document_id></document_id>
<document_date>2009-11-13</document_date>
<currency>人民币</currency>
<unit_price>0.00000000</unit_price>
<exchange_rate1>0.00000000</exchange_rate1>
<exchange_rate2>1.00000000</exchange_rate2>
<debit_quantity>0.00000000</debit_quantity>
<primary_debit_amount>0.0000</primary_debit_amount>
<secondary_debit_amount>0.0000</secondary_debit_amount>
<natural_debit_currency>0.0000</natural_debit_currency>
<credit_quantity>0.00000000</credit_quantity>
<primary_credit_amount>13145.5700</primary_credit_amount>
<secondary_credit_amount>0.0000</secondary_credit_amount>
<natural_credit_currency>13145.5700</natural_credit_currency>
<bill_type></bill_type>
<bill_id></bill_id>
<bill_date></bill_date>
<auxiliary_accounting>
<item name="现金流量项目">支付的其他与经营活动有关的现金</item>
<item name="账户档案">工商银行支行</item>
<item name="合并范围内外项目">合并范围外</item>
<item name="结算方式">网上银行</item>
</auxiliary_accounting>
<detail></detail>
</entry>
</voucher_body>
</voucher>
</ufinterface>
产生的错误回复:
<?xml version="1.0" encoding='UTF-8'?>
<ufinterface billtype="gl" filename="gl25be81fee71101.xml" isexchange="Y" proc="add" receiver="116103010@116103010-0001" replace="Y" roottag="sendresult" sender="1101" successful="N">
<sendresult>
<billpk>
</billpk>
<bdocid>1005125be81fefc0000000000000gl0</bdocid>
<filename>
</filename>
<resultcode>-31202</resultcode>
<resultdescription>单据1005125be81fefc0000000000000gl0开始处理...
(1)字段enter不能为空!请修改数据文件或者在[交换规则定义]中设置该字段的默认值。
(2)单据翻译转换错误:根据基础档案[会计科目]无法翻译[account_code]字段,待翻译值:660206,翻译方式:按编码., 翻译参照的主体帐簿:116103010-0001。
(3)单据翻译转换错误:根据基础档案[会计科目]无法翻译[account_code]字段,待翻译值:660206,翻译方式:按编码., 翻译参照的主体帐簿:116103010-0001。
(4)单据翻译转换错误:根据基础档案[会计科目]无法翻译[account_code]字段,待翻译值:660206,翻译方式:按编码., 翻译参照的主体帐簿:116103010-0001。
(5)单据翻译转换错误:根据基础档案[会计科目]无法翻译[account_code]字段,待翻译值:660206,翻译方式:按编码., 翻译参照的主体帐簿:116103010-0001。
(6)单据翻译转换错误:根据基础档案[会计科目]无法翻译[account_code]字段,待翻译值:22210101,翻译方式:按编码., 翻译参照的主体帐簿:116103010-0001。
(7)单据翻译转换错误:根据基础档案[会计科目]无法翻译[account_code]字段,待翻译值:100201,翻译方式:按编码., 翻译参照的主体帐簿:116103010-0001。
单据1005125be81fefc0000000000000gl0处理错误:单据翻译转换错误:单据校验转换失败</resultdescription>
<content>
</content>
<invaliddoc>
<docitem name="会计科目">660206</docitem>
<docitem name="会计科目">660206</docitem>
<docitem name="会计科目">660206</docitem>
<docitem name="会计科目">660206</docitem>
<docitem name="会计科目">22210101</docitem>
<docitem name="会计科目">100201</docitem>
</invaliddoc>
</sendresult>
</ufinterface>
科目在系统中是有的.
|
|