我想在发货屏幕(SO302000)上的'确认发货'操作后执行一些代码(更改发货日期)。
我在想这就是做这件事的方法:
public class SOShipmentEntryExt : PXGraphExtension<SOShipmentEntry>
{
[PXOverride]
public virtual void ConfirmShipment(SOOrderEntry docgraph, SOShipment shiporder)
{
Base.ConfirmShipment(docgraph, shiporder);
//Add my code to do something here...
}
}
当我尝试这个时,我收到货运单错误。有更好的方法吗?
答案 0 :(得分:1)
来自类似的案例: How to add custom business logic to Acumatica framework's Actions?
true == bool