如何在销售订单保存搜索的订单项结果中包含主线发货日期?
How can I include the main line ship date in line item results for a sales order saved search?
我正在尝试创建一个已保存的搜索,可用于按项目类型细分准时发货。但是,我注意到 {shipdate} 未包含在销售订单行项目的结果中。
Here is an example search where the "Inventory Item" line does not have ship date.
我试过使用公式字段和 {*.shipdate} 和 {mainline.shipdate} 的变体,但它们只会产生错误; {mainline.shipdate} 产生 "Field not found" 而 {*.shipdate} 产生 "Invalid Expression." 我对 {actualshipdate} 没有同样的问题,因为这个日期显示在订单项结果中。
如何在订单项结果中访问此主线维度?
一种方法是制作一个自定义列(行)字段,并使用工作流或脚本(可以在提交前事件上安排或触发)将 header 发货日期字段复制到每一行。
另一种解决方法是使用新的 SuiteAnalytics 工作簿功能,如果您没有其他依赖此功能的保存搜索。
奇怪的是,您的 NetSuite 没有return在每条线上都显示主线发布日期。它对我有用,所以也许某处有设置。
除了查找设置之外,return 每一行的发货日期的最简单方法是使用分析函数:
MIN/*_*/({shipdate}) OVER (PARTITION BY {internalid})
Nathan 的回答让我想再看看这个,因为我也很惊讶 NetSuite 没有在每一行中返回 Ship Date 字段。我发现启用需求计划会影响 NetSuite 显示发货日期的方式。
来自 SuiteAnswers:
If the Demand Planning Feature is enabled, values for the Date Shipped column in the Report will be sourced from the 'Expected Ship Date' column on the line item level of the Sales Order. Thus, using Ship Date on the report will return a null value if Demand Planning Feature is enabled.
因此,打开需求计划意味着发货日期行 = 空,关闭需求计划意味着发货日期行 = 头发货日期(在已保存的搜索中)。
可能没有任何实际帮助,但很高兴知道根本原因。
我正在尝试创建一个已保存的搜索,可用于按项目类型细分准时发货。但是,我注意到 {shipdate} 未包含在销售订单行项目的结果中。
Here is an example search where the "Inventory Item" line does not have ship date.
我试过使用公式字段和 {*.shipdate} 和 {mainline.shipdate} 的变体,但它们只会产生错误; {mainline.shipdate} 产生 "Field not found" 而 {*.shipdate} 产生 "Invalid Expression." 我对 {actualshipdate} 没有同样的问题,因为这个日期显示在订单项结果中。
如何在订单项结果中访问此主线维度?
一种方法是制作一个自定义列(行)字段,并使用工作流或脚本(可以在提交前事件上安排或触发)将 header 发货日期字段复制到每一行。
另一种解决方法是使用新的 SuiteAnalytics 工作簿功能,如果您没有其他依赖此功能的保存搜索。
奇怪的是,您的 NetSuite 没有return在每条线上都显示主线发布日期。它对我有用,所以也许某处有设置。
除了查找设置之外,return 每一行的发货日期的最简单方法是使用分析函数:
MIN/*_*/({shipdate}) OVER (PARTITION BY {internalid})
Nathan 的回答让我想再看看这个,因为我也很惊讶 NetSuite 没有在每一行中返回 Ship Date 字段。我发现启用需求计划会影响 NetSuite 显示发货日期的方式。
来自 SuiteAnswers:
If the Demand Planning Feature is enabled, values for the Date Shipped column in the Report will be sourced from the 'Expected Ship Date' column on the line item level of the Sales Order. Thus, using Ship Date on the report will return a null value if Demand Planning Feature is enabled.
因此,打开需求计划意味着发货日期行 = 空,关闭需求计划意味着发货日期行 = 头发货日期(在已保存的搜索中)。
可能没有任何实际帮助,但很高兴知道根本原因。