Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Posting vat on LedgerJournalTrans Costlines With C# versus AIFF webservices

Posted on by Microsoft Employee

I am trying to post an Invoice Journal entries with Invoice and lines (costc vs creditors)  (LedgerJournalTrans )
It validates and gets posted.

I have a basic posting ready, But want to enrich it before posting
I am adding Transaction dates Due dates Payment references etc.
But I am stuck with the VAT and vat codes. I have he journalCostLine.TaxGroup (values like NL or EU) and The Item sales taxgroup code.
But as I expected to fill the journalCostLine.TaxCode This does not seem to map to the same table.
I have codes like
HG,High Goods 21%
LG,Low Goods 9%
ZS,Zero Service 0% etc.
Does any body have an example of how to add this to my journal entry?

And now I am asking can I find a list that tels me what is the target of the specific fields that I am using
Like f.i. the journalCostLine.TaxCode I have no clue what field that would be.
Same Like journalLine.DocumentNumber and or journalCostLine.Voucher especially the last one is quite obvious since it has the same name in AX Gui.(is it?).

*This post is locked for comments

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans