Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
AX2009。我们将 AIF 默认订单类型的 AR 参数设置为“销售订单”。但是,在某些情况下,订单必须以“日志”类型输入。将 xml 中的 SalesType 更改为“Journal”似乎不起作用。有没有办法做到这一点,也许在端点设置?谢谢。
该参数在方法 prepareSalesOrder 中的 Class AxdSalesOrder 中调用,如下所示:
_axSalesTable.parmSalesType(this.SalesType());
这会将销售类型设置为您的 AR 参数中保存的销售类型。在此方法中,您可以添加代码以将 parmSalesType 更改为SalesType::Journal基于您指定的任何条件。
SalesType::Journal