在快速手册中将数据从两个来源导入到一家公司



我有两个门户网站(不同的域(,但我想使用WebConnector将客户,供应商和发票从两个门户网站导入我的Quickbooks。我尝试的是创建两个qwc文件并在Web连接器中配置,但是每当我尝试从第二家公司导入发票时,我都会收到无效引用的错误....未找到(但客户端的名称与我在 Quickbooks 上与我正在创建的 XML 完全匹配以运行发票导入(。以下是我运行导入时遇到的错误

3140: There is an invalid reference to QuickBooks Term "Client, Test" in the Invoice.  QuickBooks error message: Invalid argument.  The specified record does not exist in the list.

以下是我用来导入发票的 xml

<?xml version="1.0" encoding="utf-8"?>
<?qbxml version="13.0"?>
<QBXML>
<QBXMLMsgsRq onError="continueOnError">
<InvoiceAddRq requestID="39">
<InvoiceAdd>
<CustomerRef>
<FullName>Client, Test</FullName>
</CustomerRef>
<TxnDate>0000-00-00</TxnDate>
<RefNumber>Zaztest</RefNumber>
<ShipAddress>
<Addr1>6050 Hellyer Ave #100C</Addr1>
<Addr2></Addr2>
<City>San Jose</City>
<State>California</State>
<PostalCode>95136</PostalCode>
<Country></Country>
</ShipAddress>
<PONumber>Client</PONumber>
<TermsRef>
<FullName>Client, Test</FullName>
</TermsRef>
<DueDate>0000-00-00</DueDate>
<InvoiceLineAdd>
<ItemRef>
<FullName>Bill:ZigSig Fee</FullName>
</ItemRef>
<Rate>141</Rate>
</InvoiceLineAdd>
</InvoiceAdd>
</InvoiceAddRq>
</QBXMLMsgsRq>
</QBXML>

你说客户端(客户(存在...

" not found (but the name of client matches exactly like i have on quickbooks with the xml"

但是,这不是错误消息告诉您的内容。错误消息与客户名称无关。这是关于术语名称的。错误:

invalid reference to QuickBooks ****Term**** "Client, Test"

(强调Term我的(。错误消息不是关于如何命名客户,而是关于术语的命名方式。

术语通常是类似Net 30Due on Receipt.它们不应与客户名称相同。

TLDR:修复 qbXML 以发送有效的TermRef/FullName值:

<TermsRef>
<FullName>Client, Test</FullName>
</TermsRef>

最新更新