Skip to main content

Notifications

Microsoft Dynamics NAV (Archived)

Capacity ledger entries Vs Value entry in production order- NAV2009Sp1

Posted on by Microsoft Employee

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

  • Suggested answer
    keoma Profile Picture
    keoma 32,675 on at
    RE: Capacity ledger entries Vs Value entry in production order- NAV2009Sp1

    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.

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans