NetSuite Soap API:供应商记录检索的填充publateorderlist
使用NetSuite SOAP API时,我想检索vendorbill
记录的puphiseorderlist
。 paskureorderlist
字段显示为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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在网上搜索文档后,似乎
paskuyorderlist
供应商账单上的属性仅在更新账单将其与采购订单相关联时使用,似乎在检索时可以返回该属性供应商账单记录。参见 “将采购订单链接到供应商账单”部分。为了检索与供应商账单项目和费用相关的PO号,我正在从
itemList
和expenselist
属性中检索它们。如果有人知道其他方式,请随时发表评论或编辑。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
andexpenseList
properties which are present on the Vendor Bill. If anyone knows of another way please feel free to comment or edit.