Skip to main content

Solved Error during Inventory Closing and Recalculation in Ax 2012

Getting following Error during Inventory Closing and Recalculation in Ax 2012.

Error Details:

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

Solution : This error may come many ways.

First check the item in production type is formula or not, if not, change production type to formula.

Then you can debug following method in class InventCostItemDim 

\Classes\InventCostItemDim.addFormulaKeyAdjustment()

To get any error due to rounding you can check ledgervouchertransobject class in checkrounding method.
Then you can correct rounding issue.

If still error exist then find the recid by debugging on error editing message and find that record in inventtrans table. If in inventtrans table valueopen field if its yes then select no this option you can use only if there is no other solution you found.


Popular posts from this blog

How to set up parent project in project accounting in ax 2012

create simple project and then go to the project hierarchy fast tab and there you must define sub-project ID format "-#" and then your sub-project will be enabled. For resource assigning in Project first you need to configure the HR module, in that you need to maintain the calendar for those employees and then you need to define the cost of that particular employee (for expense) and for Revenue you need to define the sales price of that particular employee. In the project accounting module you need to mention the calendar in scheduling fast tab and then you need to define WBS, in WBS activity you can be able to assign resources.

ERD Account Payable and Account Receivable in ax 2012