Acumatica REST API - 如何在检索 Stockitem 时包含扩展数据
Acumatica REST API - How To Include Extended Data when retrieving Stockitem
我需要检索 Stockitems 和所有字段(包括 "Extended Data")我没有看到通过 REST API 进行此操作的方法。我看不到任何可展开的内容,而且 SELECT 似乎也无济于事。
我猜我需要扩展现有端点,因为库存项目的默认端点不会将扩展数据显示为可扩展项目。那正确吗?
但是,我怎么知道如何找到扩展数据呢?我检查了元素,但它告诉我的不多。
我如何在端点中包含正确的信息,以便我可以通过 REST API 扩展它?或者如何通过 REST API?
访问扩展数据
I am guessing I will need to extend the existing endpoint since the
default endpoint for stock items does not show the extended data as an
expandable item. Is that right?
是的,没错。
However, how can I know how to find the extended data? I inspect the
element, but it doesn't tell me much.
它告诉您需要在扩展端点中添加的数据视图 (ItemSettings) 和自定义字段 (UsrAm)。
首先创建扩展端点,然后 select 该扩展端点中的实体 (StockItem)。 Select 字段选项卡项,扩展实体并使用填充从目标数据视图 (ItemSettings) 添加自定义字段 (UsrAm)
我需要检索 Stockitems 和所有字段(包括 "Extended Data")我没有看到通过 REST API 进行此操作的方法。我看不到任何可展开的内容,而且 SELECT 似乎也无济于事。
我猜我需要扩展现有端点,因为库存项目的默认端点不会将扩展数据显示为可扩展项目。那正确吗?
但是,我怎么知道如何找到扩展数据呢?我检查了元素,但它告诉我的不多。
我如何在端点中包含正确的信息,以便我可以通过 REST API 扩展它?或者如何通过 REST API?
访问扩展数据I am guessing I will need to extend the existing endpoint since the default endpoint for stock items does not show the extended data as an expandable item. Is that right?
是的,没错。
However, how can I know how to find the extended data? I inspect the element, but it doesn't tell me much.
它告诉您需要在扩展端点中添加的数据视图 (ItemSettings) 和自定义字段 (UsrAm)。
首先创建扩展端点,然后 select 该扩展端点中的实体 (StockItem)。 Select 字段选项卡项,扩展实体并使用填充从目标数据视图 (ItemSettings) 添加自定义字段 (UsrAm)