I have a customer that would like free text invoices to go to the "Operations" layer after posting, eventually the GeneralJournalEntry table is updated and the PostingLayer is 'Currrent', trying to find a place to intercept this.
I have a customer that would like free text invoices to go to the "Operations" layer after posting, eventually the GeneralJournalEntry table is updated and the PostingLayer is 'Currrent', trying to find a place to intercept this.
This works, less of a problem than I expected.
[ExtensionOf(classStr(CustInvoiceSourceDocType))]
final class My_CustInvoiceSourceDocType_extension
{
public CurrentOperationsTax parmPostingLayer()
{
next parmPostingLayer();
return CurrentOperationsTax::Operations;
}
}
Thanks Nikolaos, I actually put one in each when I asked the question initially. I've played around with this for a few days and have found no straight forward way to make it work. It's probably going to get a bit hacky.
Hi,
you might get more answers if you post this question to the Dynamics 365 for Finance and Operations forum.