today I want to leave a short techy post on how to override method BuildTaxRequest of APInvoiceEntryExternalTax class.
public class APInvoiceEntryExternalTaxExt: PXGraphExtension<APInvoiceEntryExternalTax, APInvoiceEntry>
protected virtual GetTaxRequest BuildTaxRequest(APInvoice invoice, Func<APInvoice, GetTaxRequest> baseAction)
var result = baseAction(invoice);
Reason for such a behavior is a fact that class APInvoiceEntryExternalTax is graph extension for graph. That's why such a construction is needed.