Manufacturing Costing - Actual Cost of Output

Shenpen
Shenpen Member Posts: 386
Dear all,

It seems to me that if I set the status of a Prod. Order to Finish and run Adjust Cost batch job, I only get a Cost Amount (Actual) on the Output and (and thus clearing out WIP G/L Account) after the purchase of all components had been completely invoiced. This won't work, for obvious reasons.

The even bigger problem is that the Cost Amount (Expected) won't get adjusted until all components are invoiced... it's in 4.0 before SP1 (no Hungarian SP1 as of yet)

I hacked around in the code, but it is quite strange - I can't see any code in CU Inventory Adjustment that would set _component_ lines to completely invoiced - and this is what the IsCompletelyInvoiced function of Prod. Order Line reads - it reads all components are completely invoiced.

Did anyone had any success in hacking it?

Do It Yourself is they key. Standard code might work - your code surely works.

Comments

  • Shenpen
    Shenpen Member Posts: 386
    Anybody met this problem?

    Do It Yourself is they key. Standard code might work - your code surely works.
  • ara3n
    ara3n Member Posts: 9,258
    what you need to do is when the consumption item ledger entry is inserted, to set the fully invoiced field to true.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • Shenpen
    Shenpen Member Posts: 386
    Sounds good, will try, thanks. But won't it cause problems? I mean if I assume this is not just a simple bug, then maybe if the invoice comes later then the consumption and thus the output won't get adjusted or things like that?...

    Do It Yourself is they key. Standard code might work - your code surely works.