D365 Finance & Operations and Dynamics AX Forum

AX 2012 Create PO Version via code while Bypassing Change Management

  • 1.  AX 2012 Create PO Version via code while Bypassing Change Management

    Posted 16 days ago

    Hi everyone!

    We've run into an interesting dilemma that I'm trying to code around.  We use change management for purchase orders in AX 2012, but had the request for a custom screen to be able to change delivery dates and buyer groups without having to push the PO back through workflow.  I've got the screen developed and am able to toggle the change management off and on successfully, but my problem is that it isn't automatically creating new PO versions.  I've been able to replicate the code to create a new version and automatically confirm the PO with the change, but when we edit a PO line via my custom screen, the change is rolled to all confirmed versions of the PO, so we lose our audit trail.

    Has anyone successfully done something similar, or even just successfully replicated the versioning process via X++ code without change management turned on?

    Thanks,

    Wes



    ------------------------------
    Wes Burke
    Senior Business Intelligence Analyst
    Miltope
    Hope Hull AL
    ------------------------------
    The first step toward cloud success. - Migrate from AX to D365 with expert guidance from Microsoft. I'm Ready


If you've found this thread useful, dive deeper into User Group community content by role