web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Critical error in function InventCostMovement.checkVariance

(0) ShareShare
ReportReport
Posted on by 55

I'm seeing this error when I generate the receipt for a PO on specific items. When it first occurred the Unit Price had been edited on the item so I assumed it was that, but we're getting it on these items when no edits are made to the price on the PO. 

The INVENTCOSTTRANSVARIANCE.COSTAMOUNT is showing a number that we can't figure out

I have the same question (0)
  • Suggested answer
    SouravDam Profile Picture
    11,730 on at

    Hi cicconej582,

    Is this stocked or non-stocked items?

    Can you check if main accounts are selected for those items in posting type Stock variation for "Purchase order" in inventory posting profile or not.

    652274.JPG

    Also check if setting main account in posting type Cost change variance for "Standard cost variance" is actually solving this issue or not. 

    67475.JPG

    Else; better to raise a ticket to MS Support to get a clarity on this case.

    Best regards,
    Sourav Dam

    Kindly mark this thread 'Yes' if this is answered your query which may help other community members in this forum.

  • cicconej582 Profile Picture
    55 on at

    Can you point me in the direction of where to check this in AX 2012?

  • Suggested answer
    SouravDam Profile Picture
    11,730 on at

    Hi cicconej582,

    You can check this in below path.

    Inventory management > Setup > Posting > Posting.

    Kindly check and update us.

    Best regards,
    Sourav Dam

    Kindly mark this thread 'Yes' if this is answered your query which may help other community members in this forum.

  • cicconej582 Profile Picture
    55 on at

    Our Purchase Order Stock Variation form grid is empty...the Cost change variance Main accounts are all setup

  • Suggested answer
    SouravDam Profile Picture
    11,730 on at

    Hi cicconej582,

    Thanks for the feedback.

    Could you kindly set appropriate main account for Stock variance posting type and after that check if this is solving this case or not.

    I faced same issue months back and got it solved by setting appropriate main accounts in this posting type.

    Please try and check the result if this is fine now.

    Best regards,
    Sourav Dam

    Kindly mark this thread 'Yes' if this is answered your query which may help other community members in this forum.

  • cicconej582 Profile Picture
    55 on at

    I setup the the Stock variance but still received the Critical error

  • Suggested answer
    SouravDam Profile Picture
    11,730 on at

    Hi cicconej582,

    Hope you have set the "Stock variance" for all those items or item groups for which you are getting this error.

    Also, just make sure that when you are trying to post the product receipt; the amount is showing in "Unit price" as well as in "Line net amount" column.

    If this is not the case, then I would suggest to log a support case in MS Support.

    Else, you can wait for other members in this forum to share their input on this.

    Best regards,
    Sourav Dam

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 659 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 533 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 289 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans