Solved

How to Override "Process Button" in the "Process Invoices and Memos" screen(SO505000)


Userlevel 4
Badge

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

icon

Best answer by Leonardo Justiniano 9 June 2022, 17:23

View original

2 replies

Userlevel 6
Badge +4

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

 

Userlevel 4
Badge

Hi @Leonardo Justiniano ,

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

 

Regards,

Ramya 

Reply


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved