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)

Changes in posting framework between AX 2009 and AX 2012

(0) ShareShare
ReportReport
Posted on by 56

Dear All,

Can you please let me the Posting framework in AX 2012 R3.

Sales order and Purchase order. (Tables and Classes)

what is the exact difference of (Sales Order and Purchase Order posting) between AX 2009 and AX 2012 R3 .

Please give me more shed on this.

Thanks!

Arpan

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Chaitanya Golla Profile Picture
    17,225 on at

    Hi,

    Please check below links :

    Sales order classes:

    SalesFormLetter_Confirm

    SalesFormLetter_Invoice

    SalesFormLetter_PackingSlip

    SalesFormLetter_PickingLlst

    Purchase order classes:

    PurchFormLetter_PurchOrder

    PurchFormLetter_ApproveJournal

    PurchFormLetter_Invoice

    PurchFormLetter_PackingSlip

    PurchFormLetter_ReceiptsList

    (Sales Order and Purchase Order Tables and Classes)

    msdaxtech.blogspot.com/.../sales-order-and-purchase-order-tables.html

    FormLetter framework in AX2009 and AX2012

    FrameLetter.jpg

    (Using the Refactored Formletter Framework (White paper) [AX 2012])

    https://technet.microsoft.com/en-us/library/hh272871.aspx

  • @rp@n Profile Picture
    56 on at

    Thanks Chaitanya,

    I think some extra  classes like contract etc... are added in to AX 2012 R3. My friend told me that AX 2012 R3 is based on MVC architecture.

    Please let me the major changes of POSTING in AX 2012 R3.

    Please give me more shed on this.

    Thanks!

    Arpan

  • Suggested answer
    Martin Dráb Profile Picture
    239,364 Most Valuable Professional on at

    You should read Using the Refactored Formletter Framework.

  • Suggested answer
    Chaitanya Golla Profile Picture
    17,225 on at

    Hi,

    Yes, they were introduced. This helps to pass complex data types without having to explicitly implement XML serialization and deserialization. Below diagram depicts the class hierarchy(in context of contract class). For postings purpose, please check the section "Where to place Microsoft Dynamics AX 2009 Customizations" in the link(whitepaper) I shared earlier. Could you provide details about your business requirement such that we can help you better.

    FormLetterContract.jpg

    Refer following links to know about contract classes:

    (Walkthrough: Exposing an X++ Class as a Data Contract [AX 2012])

    https://technet.microsoft.com/en-us/library/gg844225.aspx

    (How to: Add Validation to a Data Contract Class [AX 2012])

    technet.microsoft.com/.../gg731942.aspx

  • @rp@n Profile Picture
    56 on at

    Thanks Chaitanya,

    Sure, I will do.

    Finally one thing if i need to debug SO PackingSlip OR Invoice then where i need to put the breakpoint?

    Is't FormLetterContract class?

    Please let me know the Sequence of calling classes in SO and PO posting.

    I think it's start form FormLettter Contract class. If i not wrong.

    Please give me more shed on this.

    Thanks!

    Arpan Sen

  • Suggested answer
    Chaitanya Golla Profile Picture
    17,225 on at

    Hi,

    For sales order invoice place breakpoint in the insert method of table CustInvoiceJour and for sales packing slip

    place breakpoin in the insert method of table CustPackingSlipJour as these tables gets data after successful posting of sales order invoice and packing slip respectively. Unmark the check box "Execute business operations in CIL" on user options window if you want to debug within AX.

  • @rp@n Profile Picture
    56 on at

    Thanks Chaitanya

    Cab you please let me know the exact all tables which is get inserted or updated data during SO and PO posting.

    Then it's very helpful for me.

    Please give me more shed on this.

    Thanks!

    Arpan

  • Verified answer
    Chaitanya Golla Profile Picture
    17,225 on at

    Hi,

    Source: http://msdaxtech.blogspot.com/2015/03/sales-order-and-purchase-order-tables.html

    Tables involved/affected during Sales order posting:

    SALES ORDER POSTING:
    SalesTable contains all SalesOrder headers regardless whether they have been posted or not.
    The SalesParmTable and SalesParmLine contains detailed information regarding posting sales headers and Lines.

    Sales Confirmation:

    CustConfirmJour and CustConfirmTrans tables contains all Sales Confirmation headers and Lines posted in Dynamic Ax originating from Sales Orders and Lines.
    Sales Packing Slip:
    CustPackingSlipJour and CustPackingSlipTrans tables contains all sales PackingSlip headers and Lines posted in Dynamic Ax originating from Sales Orders and Lines.

    Sales Invoice:
    CustInvoiceJour and CustInvoiceTrans tables contains all sales all Sales Invoice headers and Lines posted in Dynamic Ax originating from Sales Orders and Lines.

    PURCHASE ORDER POSTING:

    PurchTable contains all purchase order headers regardless whether they have been posted or not.
    PurchParmTable and PurchParmLine contains detailed information regarding posting Purchase headers and Lines.

    Purchase order confirmation:

    VendPurchOrderJour and VendPurchOrderTrans tables contains Purchase requisition headers and lines.

    Purch Packing Slip:

    VendReceiptsJour and VendReceiptsTrans tables contains posted receipt header and lines.

    VendPackingSlipJour and VendPackingSlipTrans tables contains posted packingslip headers and lines.

    Purchase invoice:
    VendInvoiceJour and VendInvoiceTrans tables contains all invoiced purchase order headers and Lines.


  • @rp@n Profile Picture
    56 on at

    Thanks Chaitanya

    Where I need to put exact breakpoint during SO and PO posting.

    Please give me more shed on this

    Thanks

    Arpan

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!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 26

#2
Michel ROY Profile Picture

Michel ROY 14

#3
imran ul haq Profile Picture

imran ul haq 8

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans