Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Unblock date validation to ending production order.

Posted on by 85

Dear everyone.

In Production control module, if the posting date of Route card/Job card/Picking list or RAF is after ending date, system will throw a error and prevent user from ending production order

I checked the code and I can unblock the date validation when ending production order. I already revert the Picking list lines/ Route card lines which is wrong posting date before ending. Therefore, the costing and ledger is still correct.

I want to ask that is there any other impact in this situation.

Do you ever try to unblock date validation to ending production order? Or is there any solution to solve when we post wrong posting date.

Thanks you very much

*This post is locked for comments

  • Verified answer
    Satish Panwar Profile Picture
    Satish Panwar 14,645 on at
    RE: Unblock date validation to ending production order.

    Hi Jack,

    Suggest that you create 2 orders which are identical. Process one order without commenting any code (use date so system will let you post).

    Then process another order... comment code and process posting.

    Compare the costing on two order to see if the block code is creating any issue. In this scenario it's very difficult to comment on the system behavior. Probably finish good cost calculation will give you good idea.

    Thanks,

    Satish Panwar

  • Jack Nguyen Profile Picture
    Jack Nguyen 85 on at
    RE: Unblock date validation to ending production order.

    For more details, this is a code I want to block temporarily to end production order and I will unblock after I finish ending.

    pastedimage1566275066898v1.png

    Many thanks

  • Jack Nguyen Profile Picture
    Jack Nguyen 85 on at
    RE: Unblock date validation to ending production order.

    Thanks for your answers

    In my situation, I have no choice to work around due to customer's request ( revert wrong production order and replace with new one/ use movement or adjustment journal to modify). There are only two technical solutions which I can do.

       -   Try to re-write all wrong posting date in database

       -   Unblock date validation  

    Before unblocking date validation, I already reverted all wrong transactions to ensure those transaction will not effect to costing.

    Could you explain for me how system will get and write data when we ending one production order ?

    Many thanks

  • Verified answer
    guk1964 Profile Picture
    guk1964 10,877 on at
    RE: Unblock date validation to ending production order.

    The help says " The production order is assigned the Ended status and can no longer be updated. The production order is cost accounted, an"d a receipt transaction with the Purchased status is generated for the produced item. All journals associated with the production order are closed."

    You can probably do some movement/adjustments marked to the order, but it would need testing. If the error is not material then it may be better to live with it and to put the effort into improving the administrative process to ensure orders at not ended before bookings are complete and verified. Whether the costs are as expected after RAF for example. Arguably Ending orders is a financial department function.

    For further control of production order updates, set your user default values in Process > End form, -  Default values button, and also set appropriate policies on  the Status tab of your production parameters.

  • Verified answer
    Satish Panwar Profile Picture
    Satish Panwar 14,645 on at
    RE: Unblock date validation to ending production order.

    Hi Jack,

    During ending of production order, there is cost calculation that's going on behind the scenes. The cost calculations might get impacted if you try to customize and remove the date block. Suggest that you don't do any customization in this area to further add complications into inventory accounting.

    If someone posted wrong date then the end date has to be after those date to accounts for all costing calculations. In one off scenario, this can be handled by posting to a future date but long term should be handled via training. Another option is to keep the future periods closed so that these kinds of issues don't create any inventory related issue across month-end. Hope this helps.

    Thanks,

    Satish Panwar

    Please take time to click 'Yes' against the answers that help you guide in right direction to help other community members.

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,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans