Hello,
I have to add some new fields to tmp tables used in salesInvoiceDP class.
I wanted to assign values to new fields in newly created _Extension class of SalesInvoiceDP and wanted to use Chain of Command.
I wanted to modify "insertIntoSalesInvoiceHeaderFooterTmp" method with CoC, but it gave me error as insertIntoSalesInvoiceHeaderFooterTmp is a private method and can't be used within Coc.
Then I tried to copy pre event handler of that method, but I got an error:
"Pre or post event handlers can only be created on hookable methods. Hookable methods are non-abstract methods that are either public or have been attributed with Hookable(true)."
What would be a best option to correctly fill new fields in DP classes? In this case SalesInvoiceDP, insertIntoSalesInvoiceHeaderFooterTmp method?
Thanks.
*This post is locked for comments
I have the same question (0)