我正在发票屏幕 (SO303000) 中进行自定义。
我想在发票状态从已平衡更改为未结时捕获事件。你能建议我将用于此的活动吗?
此屏幕具有图形类:PX.Objects.SO.SOInvoiceEntry。您需要像这样进行扩展:
public class SOInvoiceEntryExt : PXGraphExtension<SOInvoiceEntry>
{
protected virtual void ARInvoice_Status_FieldUpdated(PXCache sender, PXFieldUpdatedEventArgs e)
{
//Here goes reaction on changing field status.
//you can get ARInvoice in the following way:
ARInvoice invoice = (ARInvoice) e.Row;
}
}