NetSuite Soap API:供应商记录检索的填充publateorderlist

发布于 2025-01-27 11:28:03 字数 607 浏览 6 评论 0原文

使用NetSuite SOAP API时,我想检索vendorbill记录的puphiseorderlistpaskureorderlist字段显示为record reflist on 此文档页面,但是该字段在执行get> get以检索vendorbill 基于InternalID

我已经尝试将bodyfieldsonly标题设置为false,希望这会导致其返回所有相关字段,但是这不会改变响应。

有人知道如何强制record refllist字段类型填充吗?

When using the NetSuite SOAP API I would like to retrieve the purchaseOrderList for a VendorBill record. The purchaseOrderList field is shown as a RecordRefList on this docs page, however that field doesn't populate on responses when performing a get to retrieve a vendorBill based on the internalId.

I've tried setting the bodyFieldsOnly header to false, hoping this would cause it to return all related fields, however this doesn't change the response.

Does anyone know how to force a RecordRefList field type to populate?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

月光色 2025-02-03 11:28:03

在网上搜索文档后,似乎paskuyorderlist供应商账单上的属性仅在更新账单将其与采购订单相关联时使用,似乎在检索时可以返回该属性供应商账单记录。参见 “将采购订单链接到供应商账单”部分。

为了检索与供应商账单项目和费用相关的PO号,我正在从itemListexpenselist属性中检索它们。如果有人知道其他方式,请随时发表评论或编辑。

After searching through the docs online it seems that the purchaseOrderList property on the Vendor Bill is only used when updating the bill to associate it with Purchase Orders, it doesn't look like the property can be returned when retrieving Vendor Bill records. See this docs page under the 'Linking Purchase Orders to a Vendor Bill' section.

In order to retrieve the PO numbers associated with a Vendor Bills items and expenses I am retrieving them from the itemList and expenseList properties which are present on the Vendor Bill. If anyone knows of another way please feel free to comment or edit.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文