【发布时间】:2014-03-06 15:46:27
【问题描述】:
这是我用于项目更新的 qbxml。
我在这里复制了我的 xml
<?xml version="1.0" encoding="ISO-8859-1" ?>
<?qbxml version="6.0"?>
- <QBXML>
- <QBXMLMsgsRq onError="stopOnError">
- <ItemInventoryModRq>
- <ItemInventoryMod>
<ListID>80000064-1393879476</ListID>
<EditSequence>1393879476</EditSequence>
<Name>Abco Trading</Name>
<SalesDesc>Abco Trading</SalesDesc>
- <IncomeAccountRef>
<FullName>Income</FullName>
</IncomeAccountRef>
<PurchaseDesc>Abco Trading</PurchaseDesc>
<PurchaseCost>0</PurchaseCost>
- <COGSAccountRef>
<FullName>Cost of Goods Sold</FullName>
</COGSAccountRef>
- <AssetAccountRef>
<FullName>Inventory Asset</FullName>
</AssetAccountRef>
</ItemInventoryMod>
</ItemInventoryModRq>
</QBXMLMsgsRq>
</QBXML>
对于非库存物品模组
<?xml version="1.0" encoding="ISO-8859-1" ?>
<?qbxml version="6.0"?>
- <QBXML>
- <QBXMLMsgsRq onError="stopOnError">
- <ItemNonInventoryModRq>
- <ItemNonInventoryMod>
<ListID>80000069-1394118592</ListID>
<EditSequence>1394118592</EditSequence>
<Name>Dawson and Sons</Name>
<SalesDesc>Dawson and Sons</SalesDesc>
- <IncomeAccountRef>
<FullName>Income</FullName>
</IncomeAccountRef>
<PurchaseDesc>Dawson and Sons</PurchaseDesc>
<PurchaseCost>0</PurchaseCost>
- <ExpenseAccountRef>
<FullName>Expense</FullName>
</ExpenseAccountRef>
</ItemNonInventoryMod>
</ItemNonInventoryModRq>
</QBXMLMsgsRq>
</QBXML>
它给了我错误“QuickBooks found an error when parsing the provided XML text stream”。我也检查了序列。 QBWC如何查看qbxml?
【问题讨论】:
标签: xml parsing quickbooks