Skip to main content
Dynamics 365 Community / Forums / Finance forum / How to Extend InventJo...
Suggested answer

How to Extend InventJournalCheckPost class

editSubscribe (1) ShareShare
ReportReport
Posted on by 1,837
Dear All,
 
I'm trying to put some logic before transfer journal posting. I'm unable find proper way to use newPostJournal(). Could you please check below and advice right way to from below code.
 
[ExtensionOf(classStr(InventJournalCheckPost))]
final class InventJournalCheckPost_EAway_Extension
{
    public static JournalCheckPost newPostJournal(InventJournalTable _inventJournalTable)
    {
         next newPostJournal(_inventJournalTable) ;
   }
}