[ExtensionOf(classStr(SalesInvoiceDP))] final class HIGSalesInvoiceDP_Extension { protected void populateSalesInvoiceHeaderFooterTmp(CustInvoiceJour _custInvoiceJour, CompanyInfo _companyInfo) { CustInvoiceTrans custInvoiceTrans,custInvoiceTransOrig; SalesLine salesLine; InventTransOrigin transOrigin,transOriginOrig; InventTrans inventTrans; next populateSalesInvoiceHeaderFooterTmp(_custInvoiceJour,_companyInfo); salesInvoiceHeaderFooterTmp.BuyerAddress = _custInvoiceJour.deliveryAddress(); salesInvoiceHeaderFooterTmp.BuyerName = _custInvoiceJour.DeliveryName; salesInvoiceHeaderFooterTmp.CompanyAddress = strReplace(salesInvoiceHeaderFooterTmp.CompanyAddress,"\n",","); salesInvoiceHeaderFooterTmp.HIGDueDate = salesInvoiceHeaderFooterTmp.InvoiceDate + PaymTerm::find(_custInvoiceJour.Payment).NumOfDays ; //salesInvoiceHeaderFooterTmp.CompanyBankAccount = BankAccountTable::find(_