Hello experts,
I am not sure in which cases value entry in production order generates and in which case not generated? (Using NAV2009SP1)
system generated the capacity ledger entries whereas the Value entry is not generated. Due to this issue capacity ledger entry - 'Direct cost' field value shows zero.
From the codeunit 22 'Item Jnl.-Post Line' - PostOutput function understand that system checks the 'Run time' and 'unit cost'
on the Output journal, I have entered Run time and Unit cost is updated from machine center but the value entries are not generated, Kindly suggest.
Many Thanks
Siva.
CU22 PostOutput function
CalcDirAndIndirCostAmts(DirCostAmt,IndirCostAmt,ValuedQty,"Unit Cost","Indirect Cost %","Overhead Rate");
InsertCapValueEntry(CapLedgEntry,"Value Entry Type"::"Direct Cost",ValuedQty,ValuedQty,DirCostAmt);
InsertCapValueEntry(CapLedgEntry,"Value Entry Type"::"Indirect Cost",ValuedQty,0,IndirCostAmt);
CapQty := "Run Time";
CostAmt := ROUND(CapQty * UnitCost);
DirCostAmt := ROUND((CostAmt - CapQty * OvhdRate) / (1 + IndirCostPct / 100))
*This post is locked for comments
fct. InsertCapValueEntry starts with:
WITH ItemJnlLine DO BEGIN
IF (InvdQty = 0) AND (AdjdCost = 0) THEN
EXIT;
did you check if InvdQty and AdjdCost are 0 when posting? value entries are only created, if at least one of them is <> 0.
did you check ValuedQty in fct. PostOutput if it is <> 0 ?
it is set by this code:
IF Subcontracting THEN
ValuedQty := "Invoiced Quantity"
ELSE
ValuedQty := CalcCapQty;
also check the calc. variable values in fct. CalcDirAndIndirCostAmts if they are not 0.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156