Unified Operations & Dynamics AX Forum

Expand all | Collapse all

ax 2012 r3 source document framework

  • 1.  ax 2012 r3 source document framework

    Posted 11-28-2018 10:01 AM

    Hi, there is a problem with finalizing POs that we see with certain POs. After some debugging, it looks like it is tied to SourceDocument framework - to be specific, an absence of the matching record from PurchTable, in SourceDocumentHeaderTable. There is very little, if any, documentation about source documentation framework online. Can anyone help with some details in terms how does it work.. how the records are inserted in Header and Line table...

    So the exact error, when i go to finalize the invoiced PO, is - 

    Function SourceDocumentStateModel.getValidTargetSourceDocAccountingStatus has been incorrectly called.

    thats because accounting status of NONE is not allowed, and thats exactly whats happening when there is no matching record in SourceDocumentHeaderTable...

    Any ideas?



    Pedja Nikodijevic
    Express Scripts Canada

  • 2.  RE: ax 2012 r3 source document framework

    Posted 11-28-2018 01:57 PM
    Have you already checked LCS for available hotfixes especially if you work with an older R3 version?
    Best regards,

    Ludwig Reinhard