无法使用IPP对QuickBooks桌面添加/修改移动电话字段

时间:2013-07-18 18:01:18

标签: intuit-partner-platform

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

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

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

这是XML跟踪:

http://pastebin.com/qprwAh9z

有什么想法吗?

2 个答案:

答案 0 :(得分:0)

我能够复制这个。手机号码不会同步到QB桌面文件。就像一个bug。 请在这里提交支持票: 链接 - http://developer.intuit.com/Support/Incident

答案 1 :(得分:0)

看起来,问题是当你在Phone的'Tag'字段中使用'Mobile'时。

我在Tag字段中尝试了'Home'而不是'Mobile'。作为替代解决方案,您可以尝试以下方法(我将查看中间QBXML / QBSDK方面是否存在任何约束)

IDS Req

<?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 / LandLine是一种元数据。我会检查并确认这种行为]

enter image description here

由于