简体   繁体   English

在QBO的v3 API(IPP)中,所有货运公司都映射到同一个帐户吗?

[英]In QBO's v3 API (IPP), do all shipping lines map to the same account?

When I query an invoice that contains a shipping line, I get: 当我查询包含货运行的发票时,得到:

{
    "DetailType": "SalesItemLineDetail", 
    "Amount": 25.0, 
    "SalesItemLineDetail": {
        "ItemRef": {
            "value": "SHIPPING_ITEM_ID"
        }
    }
}

It looks like in the UI, in Advanced Settings, a shipping account can be selected by a user. 看起来像在UI中的“高级设置”中,用户可以选择运输帐户。 What's not immediately clear is if I go in and change it, will all previous transactions that used shipping change to that account too? 现在还不清楚的是,如果我进去更改它,以前所有使用送货的交易是否也会更改到该帐户? Or will only new shipping transactions from that point forward hit the new account? 还是从那时起只有新的运输交易会打入新帐户? That, obviously, will impact the usefulness of the item ID provided by the Invoice query response. 显然,这将影响发票查询响应提供的项目ID的有效性。

Thank you! 谢谢!

As a reference, a Read on the company's Preferences object includes this information: 作为参考,对公司的Preferences对象的Read包括以下信息:

"AllowShipping": true,
"DefaultShippingAccount": "277",

I guess it's not immediately clear to me if the item that maps to this income account is generated by the system or was created by the user, but it probably doesn't matter. 我想目前尚不清楚该映射到此收入帐户的项目是由系统生成还是由用户创建,但可能无关紧要。 The real question is whether changes to it propagate to prior transactions. 真正的问题是对它的更改是否会传播到先前的交易中。

Ok, so I tested this in one of my company files- I see that shipping line in txns does not refer to any accountref and there is no way of knowing to which account this amount is posted. 好的,所以我在我的公司文件之一中对此进行了测试-我发现txns中的运送行未引用任何accountref,并且无法知道此金额已过帐到哪个帐户。 However, when I changed the default ship account to something else then Company pref query result shows the new account details. 但是,当我将默认运送帐户更改为其他帐户时,公司偏好查询结果将显示新的帐户详细信息。 I will have to check with the QBO product team on this one to find our if all existing txns are also impacted or not. 我将不得不与QBO产品团队联系以了解我们现有的所有TXN是否也受到影响。

EDIT: Existing txns are not impacted by changing shipping account. 编辑:现有的txns不受更改运输帐户的影响。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM