Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Suggested answer

Create Vendor Payment journal in X++ code

(0) ShareShare
ReportReport
Posted on by 396
Hi Folks,
 
  I was trying to create Vendor Payment Journal entry through code.
 
I got the code but now I'm stuck on how to find OffsetLedgerDimension if I only have main account id from a parameter field??
 
Thanks in advance!!
  • Suggested answer
    Anthony Blake Profile Picture
    Anthony Blake 2,232 Super User 2024 Season 2 on at
    Create Vendor Payment journal in X++ code
    Try:
     
    LedgerDefaulAccountHelper::GetDefaultAccountFromMainAccountRecId(MainAccount::findByMainAccountId(yourMainAccountId));
  • Hana Xue Profile Picture
    Hana Xue Microsoft Employee on at
    Create Vendor Payment journal in X++ code
    Hi,
    Your description is a bit concise, could you provide more detailed information? Would it be convenient for you to share your code so that other experts can view and assist you.
    Best Regards,
    Hana
  • Komi Siabi Profile Picture
    Komi Siabi 12,748 Most Valuable Professional on at
    Create Vendor Payment journal in X++ code
    Can you share the code with us?

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey Pt 2

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,904 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,605 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans