Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX forum
Suggested answer

You can't have unallocated cost on a planning formula.

Posted on by 60

Recalculate inventory error in dynamics AX 2012: You can't have unallocated cost on a planning formula.

  • Suggested answer
    Ankit Mehta Profile Picture
    Ankit Mehta 20 on at
    RE: You can't have unallocated cost on a planning formula.

    Hello Everyone, I had the same issue and tried the solutions mentioned by Andrejs, and it worked.

    if you are still getting the error, please check the access permission of modules on Ledger calendar period (GL \ Setup \ Ledger \ Ledger calendar)

    There is hotfix, very well explained in below link (how error got generated), you can also try installing hotfix KB 2935085 instead executing job directly. 

    https://axmartina.wordpress.com/2016/04/26/invent-recalculation-error/

    Thank You

  • Andrejs Opsis Profile Picture
    Andrejs Opsis 20 on at
    RE: You can't have unallocated cost on a planning formula.

    Hi,

    solution : community.dynamics.com/.../632441

  • dachong Profile Picture
    dachong 55 on at
    RE: You can't have unallocated cost on a planning formula.

    Hi,

    If the record is missing, is there a way to fix it? Appreciate your guidance.

  • golob Profile Picture
    golob on at
    RE: You can't have unallocated cost on a planning formula.

    Check whether you have the correct entries in InventTransOriginAssemblyComponent. There needs to be an entry for all production BOM lines (InventTransOriginProdBom.InventTransOrigin == InventTransOriginAssemblyComponent.ComponentInventTransOrigin), and it should be connected to the production order (InventTransOriginProdTable.InventTransOrigin == InventTransOriginAssemblyComponent.AssemblyInventTransOrigin). Similarly for any BOM journals if you use them.

    If these are missing, then an if statement fails to determine that the product being manufactured is _not_ a process industries formula and proceeds with checks regarding the allocation of costs.

  • nhuttm Profile Picture
    nhuttm 60 on at
    RE: You can't have unallocated cost on a planning formula.

    Thanks Dan. I already modified code in 2 classes following the link you sent me, but the error still occur. I cannot finish recalculation inventory with message 'You can't have unallocated cost on a planning formula.'  

  • Suggested answer
    Dan Emreus Profile Picture
    Dan Emreus 1,162 on at
    RE: You can't have unallocated cost on a planning formula.

    Hi

    I found a blog post that you can look at, maybe it can help you.

    ronnyfch.wordpress.com/.../you-cant-have-unallocated-cost-on-a-planning-item-ax-2012

    /Dan

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,652 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,930 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,150

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans