【问题标题】:Reasons for SyncError and resolution in V3V3 中出现 SyncError 的原因和解决方法
【发布时间】:2013-09-10 12:22:13
【问题描述】:

在 V3 中导致 SyncError 的原因是什么,您如何解决它?如果是验证相关,为什么API无法处理?最后,有没有给 QBD 用户的提示?

【问题讨论】:

    标签: intuit-partner-platform intuit ipp-qbd-sync


    【解决方案1】:

    您需要使用 V2 API 解决此问题。

    同步进程相关的PFB链接

    https://developer.intuit.com/docs/0025_quickbooksapi/0050_data_services/v2/0500_quickbooks_windows/0300_sync_manager

    https://developer.intuit.com/docs/0025_quickbooksapi/0050_data_services/v2/0500_quickbooks_windows/0400_data_synchronization

    要知道哪个对象处于错误状态,请参考

    https://developer.intuit.com/docs/0025_quickbooksapi/0050_data_services/v2/0500_quickbooks_windows/0100_calling_data_services/0015_retrieving_objects

    您可能还想知道为什么这些对象处于错误状态。为此,请参阅状态 API。 前 -

    <?xml version="1.0" encoding="UTF-16"?>
    <CustomerQuery ErroredObjectsOnly="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.intuit.com/sb/cdm/v2">
    </CustomerQuery>
    

    https://developer.intuit.com/docs/0025_quickbooksapi/0050_data_services/v2/0500_quickbooks_windows/0600_object_reference/syncstatus

    <SyncStatusRequest ErroredObjectsOnly="true" xmlns="http://www.intuit.com/sb/cdm/v2">
        <NgIdSet>
            <NgId>1527022</NgId>
            <NgObjectType>Invoice</NgObjectType>
        </NgIdSet>
        <StartCreatedTMS>1986-02-05T14:51:18.038+05:30</StartCreatedTMS>
        <EndCreatedTMS>2015-11-05T14:51:18.038+05:30</EndCreatedTMS>
    </SyncStatusRequest>
    

    您可以使用 API Explorer 尝试所有这些调用。 https://developer.intuit.com/apiexplorer?apiname=V2QBD

    在 V3 中,尚不支持上述 API。 V3 支持的实体和操作 - https://developer.intuit.com/docs/0025_quickbooksapi/0050_data_services/v3/030_entity_services_reference/0500_v3_supported_entities_and_operations

    谢谢

    【讨论】:

    • 蓝点菜单小部件中有一个指示给用户,有一个颜色编码的同步图标告诉用户是否有错误。 (红色、黄色或绿色)
    猜你喜欢
    • 2022-01-25
    • 2017-01-17
    • 1970-01-01
    • 1970-01-01
    • 2020-07-17
    • 2017-10-31
    • 2023-03-05
    • 2018-01-20
    相关资源
    最近更新 更多