Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Sales Order Invoice Posting Class

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Morning All,

Please I need help concerning a class. A field and a script was created on d salesparmline table so that the info on the new field updates the sales invoice report without hitting the GL. But I need the class that runs when a user clicks on post and updates d custinvoicejour table and form. I want to include d new field as part of d fields dat will be populated like the way others are populated.

Thanks!

*This post is locked for comments

  • Suggested answer
    Sohaib Cheema Profile Picture
    Sohaib Cheema 46,610 User Group Leader on at
    RE: Sales Order Invoice Posting Class

    SalesInvoiceJournalCreate & SalesInvoiceJournalPost are responsible for this.

    Moreover remember for most of tables such as for CustInvoiceJour, have a look at methods such as initFrom*** ; this can be helpful in many cases

    also note that, part of posting control documents is run under CIL, so don't forget to attach process in VS, if you want to debug full cycle

  • Suggested answer
    Martin Dráb Profile Picture
    Martin Dráb 230,445 Most Valuable Professional on at
    RE: Sales Order Invoice Posting Class

    There are quite a few tables; I assume you're looking for SalesInvoiceJournalCreate class.

    Even if this is all the information you wanted, please read Using the Refactored Formletter Framework. It will help you to understand how it works.

    Another way how to get the answer would be using cross-references.

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 Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans