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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Create Journal from C# code

(0) ShareShare
ReportReport
Posted on by

I am new to Dynamic AX environment. I am trying to develop a C# tool to read a csv file and create journal in AX. The csv file has all the sufficient information to create invoice journal. I do not have any idea about how to create/post journal from C# tool? What is the best way to create journal from code? (Journal and Journal Lines of a complete invoice)

 Thanks in advance.

*This post is locked for comments

  • Suggested answer
    Sohaib Cheema Profile Picture
    49,668 Super User 2026 Season 2 on at

    What is the best way to create journal from code?

    AIF, WEBSERVICES

  • Suggested answer
    5400 Profile Picture
    7,162 on at
  • 5400 Profile Picture
    7,162 on at

    See you can create document service or custom service as per journal API. After that consume this WCF service  in VS and write C# code to pass the required value to API which will be the best way to create journal process.

  • Community Member Profile Picture
    on at

    Thanks Sohaib.

    I have to expose Journal and other objects over AIF. Then, consume the service in C# and manipulate data over there. right?

  • Community Member Profile Picture
    on at

    Thanks Bhaskar Roy for sharing url. I will check this solution. I forgot to mention that it is for AX 2009. Hope this solution work for it.

  • Community Member Profile Picture
    on at

    Note : This to be written for AX 2009.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Prashant Singh Profile Picture

Prashant Singh 2

#1
nmaenpaa Profile Picture

nmaenpaa 2 Moderator

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans