2015-03-25 85 views

回答

3

該屏幕具有圖類: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; 
} 

} 
+0

它不起作用,我試圖調試這個事件,但沒有發生任何事情。 – 2015-03-30 08:45:40

+0

進行自定義,並在窗體SO303000.aspx中將CommitChanges =「True」添加到字段狀態 – 2015-03-30 08:53:12