0

我似乎无法在 QuickBooks for QB Desktop 中修改或添加手机字段。在线工作正常,桌面没有骰子,但根据 MOD 请求的 XML 响应,它似乎工作正常。

它显示正在创建/修改的字段(创建了 idDomain,生成了 id 值)但是 SyncManager 从不将更改推送到 QuickBooks。

我可以在 QB 端修改 Mobile 值,我将能够在我的 IPP 应用程序中看到该更改,但在朝另一个方向前进时不会继续。

这是 XML 跟踪:

http://pastebin.com/qprwAh9z

有任何想法吗?

4

2 回答 2

0

看起来,问题在于您在电话的“标签”字段中使用“移动”时。

我在标签字段中尝试了“家”而不是“移动”。作为替代解决方案,您可以尝试以下方法(我会看看中间 QBXML/QBSDK 端是否有任何约束)

IDS 请求

<?xml version="1.0" encoding="UTF-8"?>
    <Add xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" RequestId="22f39648c5ab1111988854e808163dc9" xmlns="http://www.intuit.com/sb/cdm/v2">
        <ExternalRealmId>657117515</ExternalRealmId>
        <Object xsi:type="Customer">
        <TypeOf>Person</TypeOf>
        <Name>SampleCust-IDS12</Name>
        <Address>
    ...
        </Address>
        <Address>
    ...
        </Address>
        <Phone>
            <DeviceType>LandLine</DeviceType>
            <FreeFormNumber>0123456789</FreeFormNumber>
            <Default>1</Default>
            <Tag>Business</Tag>
        </Phone>
        <Phone>
            <DeviceType>LandLine</DeviceType>
            <FreeFormNumber>1234567890</FreeFormNumber>
            <Default>0</Default>
            <Tag>Home</Tag>
        </Phone>
    ...
        </Object>
    </Add>

创建响应

<RestResponse xmlns="http://www.intuit.com/sb/cdm/v2">
  <Success RequestId="22f39648c5ab1111988854e808163dc9">
    <PartyRoleRef>
      <Id idDomain="NG">1221097</Id>
      <SyncToken>1</SyncToken>
      <LastUpdatedTime>2013-07-19T11:25:43Z</LastUpdatedTime>
      <PartyReferenceId idDomain="NG">1261065</PartyReferenceId>
    </PartyRoleRef>
    <RequestName>CustomerAdd</RequestName>
    <ProcessedTime>2013-07-19T11:25:43Z</ProcessedTime>
  </Success>
</RestResponse>

QBXML [第二个电话号码在AltPhone标签下]

<?qbxml version="9.0" ?>
<QBXML>
   <QBXMLMsgsRq onError="continueOnError" newMessageSetID="13ff6ae6e2c76b59e49">
    <CustomerAddRq requestID="EsbKeyMapHeader:1221097:0">
        <CustomerAdd>
            <Name>SampleCust-IDS12</Name>
..
            <BillAddress>
...
            </BillAddress>
            <ShipAddress>
...
            </ShipAddress>
            <PrintAs>SampleCust</PrintAs>
            <Phone>0123456789</Phone>
            <AltPhone>1234567890</AltPhone>
            <Fax></Fax>
..
    </CustomerAddRq>
   </QBXMLMsgsRq>
</QBXML>

QB 的观点 [Mobile 没有特定的领域。Mobile/LandLine 是一种元数据。我会检查并确认此行为]

在此处输入图像描述

谢谢

于 2013-07-19T18:48:31.417 回答
0

我能够复制这个。手机号没有同步到QB桌面文件。好像是个bug。请在此处提交支持票:链接 - http://developer.intuit.com/Support/Incident

于 2013-07-19T08:14:17.100 回答