web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :

Post Ledger Journal using X++ in D365 Operations

Community Member Profile Picture Community Member

Introduction:

In this blog article, we will see how we can post the journal by using code.

How to do?

Create a new method and write below code. In this code you declare object of Class ‘LedgerJournalCheckPost’. This class will use journal buffer and post it.

public void postJournal(LedgerJournalTable ledgerJournalTable)
{ 
LedgerJournalCheckPost jourPost;
jourPost = LedgerJournalCheckPost::newLedgerJournalTable(ledgerJournalTable, NoYes::Yes);
jourPost.runOperation();
}

The post Post Ledger Journal using X++ in D365 Operations appeared first on CloudFronts - Microsoft Dynamics 365 | Power BI | Azure.


This was originally posted here.

Comments

*This post is locked for comments