How To Override Buildtaxrequest Method Of Apinvoiceentryexternaltax Class
11 May 2020
Hello everybody,
today I want to leave a short techy post on how to override method BuildTaxRequest of APInvoiceEntryExternalTax class.
public class APInvoiceEntryExternalTaxExt: PXGraphExtension<APInvoiceEntryExternalTax, APInvoiceEntry> { [PXOverride] protected virtual GetTaxRequest BuildTaxRequest(APInvoice invoice, Func<APInvoice, GetTaxRequest> baseAction) { var result = baseAction(invoice); //Your code return result; } }
Reason for such a behavior is a fact that class APInvoiceEntryExternalTax is graph extension for graph. That's why such a construction is needed.
Ready to take your Acumatica customization to the next level? Just like we demonstrated how to override the BuildTaxRequest method in the APInvoiceEntryExternalTax class, our team can tailor Acumatica to fit your unique business needs. Whether it’s tweaking tax calculations, enhancing workflows, or building entirely new features, we’re here to help. Leave us a customization request today and let’s transform your Acumatica experience together!