Skip to main content

Notifications

Microsoft Dynamics AX (Archived)

why is Cost Price is ZERO?

Posted on by 14,849

Dear 

I have a case where COGS is not being posted to ledger when a sales order is invoiced. so i investigated and found that the field Cost Price is ZERO in the Inventory On-Hand Form

COGS-On_2D00_Hand2.png

Although there are receipt transactions to this item,

i was trying to check what could cause the issue i found , i found that the Price update Last Cost Price was not checked, 

COGS.png

but i created another item with the same setup and did a receiving and the Cost price field was filled even without this check

the item model group is weighted average

any idea's what to investigate next ?

*This post is locked for comments

  • Verified answer
    Weaveriski Profile Picture
    Weaveriski 23,616 on at
    RE: why is Cost Price is ZERO?

    Whilst the item is in a negative position AX will not recalculate the stock - in your test system receipt in enough to have positive inventory and then run the inventory recalculation.

    The reason for the zero at the start is the creation of the item at zero, the item cost of the first one would eventually recalculate, but only when a recalculation is run and the inventory position is positive.

  • Abdo Khoury Profile Picture
    Abdo Khoury 14,849 on at
    RE: why is Cost Price is ZERO?

    True , and True , AX can't possibly know

    but the weird part is i have other items that are setup the same exact way, and with the exact same circumstances meaning , Sales , Sales , Sales then Receipt and yet the field cost price is filled,

    and even after i ran inventory calculation yesterday , the field didn't blink

  • Verified answer
    Guy Terry Profile Picture
    Guy Terry 28,621 Super User 2024 Season 2 on at
    RE: why is Cost Price is ZERO?

    It looks like you run negative stock; is that right? I think this might be the cause, but I want to test it. After all, how can AX know the cost of items you haven't purchased yet?

  • Abdo Khoury Profile Picture
    Abdo Khoury 14,849 on at
    RE: why is Cost Price is ZERO?

    is this a technical issue or something missing in my setup?

  • Abdo Khoury Profile Picture
    Abdo Khoury 14,849 on at
    RE: why is Cost Price is ZERO?

    I ran inventory recalculation , for this specific item , i thought maybe this will update the Cost price field but it didn't , it did though post a ledger journal for the COGS that has not been posted yet , i thought this might fix the issue ,

    any other ideas?

  • Abdo Khoury Profile Picture
    Abdo Khoury 14,849 on at
    RE: why is Cost Price is ZERO?

    thank guys , that is clear 

    but even at site level , it is not showing any cost 

    COGS-On_2D00_Hand3.png

    something seems to be missing 

  • Guy Terry Profile Picture
    Guy Terry 28,621 Super User 2024 Season 2 on at
    RE: why is Cost Price is ZERO?

    In your first screen shot of the On-hand inquiry, were you looking at your inventory with the Warehouse dimension shown?

    When using the On-hand inquiry to look at the cost of your stock, you should use Dimension display to ensure that only Site is visible.

    This is because you are tracking financial inventory at the Site level only. Looking at the cost of your stock at, say, Warehouse level will give you odd results, because AX is not tracking cost at that level.

  • Abdo Khoury Profile Picture
    Abdo Khoury 14,849 on at
    RE: why is Cost Price is ZERO?

    I am very much interested to understand the reason, not just solve the issue.

  • Abdo Khoury Profile Picture
    Abdo Khoury 14,849 on at
    RE: why is Cost Price is ZERO?

    Hey Guy

    on the storage dimension group Physical Inventory is Checked at the Warehouse level

    COGS-Storage-tracking.png

    Tracking dimension group is NONE

    and yes the include Physical value is checked

  • Guy Terry Profile Picture
    Guy Terry 28,621 Super User 2024 Season 2 on at
    RE: why is Cost Price is ZERO?

    Hi Silvano,

    On the item's Storage and Tracking dimension groups, what lines are ticked 'Active' and 'Financial inventory'?

    On the item's Item model group, is 'Include physical value' ticked?

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