Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV forum
Unanswered

Inventory Adjustment

Posted on by 190

Hello,

We have the following problem in NAV 2018:

After Inventory Adjustment, the actual cost of the output of a finished production order does not correspond to the direct cost of materials and capacity consumed.

Any suggestion would be of great help.

Thank you.

  • Galina Georgieva Profile Picture
    Galina Georgieva 190 on at
    RE: Inventory Adjustment

    Hi,

    We solved the problem by modifying Codeunit 5896:

    LOCAL CalcShareOfCapCost(InvtAdjmtEntryOrder : Record "Inventory Adjmt. Entry (Order)") ShareOfCapCost : Decimal

    IF InvtAdjmtEntryOrder."Order Type" = InvtAdjmtEntryOrder."Order Type"::Assembly THEN

     EXIT(1);

    WITH CapLedgEntry DO BEGIN

     SETCURRENTKEY("Order Type","Order No.");

     SETRANGE("Order Type",InvtAdjmtEntryOrder."Order Type");

     SETRANGE("Order No.",InvtAdjmtEntryOrder."Order No.");

     SETRANGE("Order Line No.",InvtAdjmtEntryOrder."Order Line No.");

     SETRANGE("Routing No.",InvtAdjmtEntryOrder."Routing No.");

     SETRANGE("Routing Reference No.",InvtAdjmtEntryOrder."Routing Reference No.");

     SETRANGE("Item No.",InvtAdjmtEntryOrder."Item No.");

     CALCSUMS("Output Quantity");

     ShareOfCapCost := "Output Quantity";

     IF InvtAdjmtEntryOrder."Order Type" = InvtAdjmtEntryOrder."Order Type"::Production THEN

    -------->OLD: SETRANGE("Order Line No);

    -------> NEW: SETRANGE("Order Line No.",InvtAdjmtEntryOrder."Order Line No.");

     CALCSUMS("Output Quantity");

     IF "Output Quantity" <> 0 THEN

       ShareOfCapCost := ShareOfCapCost / "Output Quantity"

     ELSE

       ShareOfCapCost := 1;

  • cetas Profile Picture
    cetas 230 on at
    RE: Inventory Adjustment

    Hi,

    i hope that you must have run the "Adjust cost batch job" and after finishing the production order did you check the "update unit cost" boolean.

  • Galina Georgieva Profile Picture
    Galina Georgieva 190 on at
    RE: Inventory Adjustment

    Hi,

    The costing method is "Average" for all the items.

  • cetas Profile Picture
    cetas 230 on at
    RE: Inventory Adjustment

    Hi,

    Is the "costing method" for the items in the production order  set as "STANDARD", if not these type of issues may occur.

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…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 228,520 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans