Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

Create and post Ledger journal using X++

(0) ShareShare
ReportReport
Posted on by 383

Hello every one how could i create and post general journal using x++ between ledger and subledger in D365

  • AhmedSaeed Profile Picture
    383 on at
    RE: Create and post Ledger journal

    Hi ludwig

    i need to post a journal between customer and Ledger account and also between bank and customer for some cases in my business

  • Ludwig Reinhard Profile Picture
    Microsoft Employee on at
    RE: Create and post Ledger journal

    Hello AhmedSaeed,

    What transaction do you want to post in a GL journal?

    Those journals are usually not used to post subledger transactions.

    Can you elaborate what you want to achieve with those journals?

    Many thanks and best regards,

    Ludwig

  • Suggested answer
    Gunjan Bhattachayya Profile Picture
    35,421 on at
    RE: Create and post Ledger journal

    Hi Ahmed,

    Please check this post for creating general journal using X .

    You can use this code for posting journals -

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

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,118 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,866 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans