Skip to main content

Hi Team,

Please let me know how i can override the Process button on this screen. Because while print invoice, i need to print multiple invoice copies. 

For this reason i need to override this button,  Please help me on this.

I tried to override like this, but it doesn’t allows me to do.

 

 

Regards,

Ramya

Hi @ramya15 

You might need to override 

public PXAction<ARInvoice> printInvoice;
PXButton(CommitChanges = true), PXUIField(DisplayName = "Print", MapEnableRights = PXCacheRights.Select)]
public virtual IEnumerable PrintInvoice(PXAdapter adapter, string reportID = null) => Report(adapter, reportID ?? "AR641000");

In ARInvoiceEntry.

If you look at the list of actions and trace the source:

That comes from SOInvoiceEntry : ARInvoiceEntry

 


Hi @Leonardo Justiniano ,

Thank you so much.  It’s working after overriding the “PrintInvoice” action.

 

Regards,

Ramya 


Reply