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

I have the same question (0)
  • Suggested answer
    Sohaib Cheema Profile Picture
    49,677 Super User 2026 Season 1 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Joris dG Profile Picture

Joris dG 5

#2
Andrew Jones a1x Profile Picture

Andrew Jones a1x 2

#2
Sagar Suman Profile Picture

Sagar Suman 2 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans