18
The Update Unit Cost field on the Change Production Order Status should update the following
- the Unit Cost field on the Production Order Component
- the rolled-up Unit Cost of produced items on higher level
- The Unit Cost of the Sales Order line where the demand originated from.

It is not consequent in doing that.

Check my blog at:
https://dynamicsuser.net/nav/b/peik/posts/the-mysterious-update-unit-cost-field-in-dynamics-365-bc-production-orders
Category: Manufacturing
STATUS DETAILS
Needs Votes

Comments

P

// Before closing the production orderrecalculate the actual cost
[EventSubscriber(ObjectType::Codeunit, Codeunit::"Prod. Order Status Management", 'OnBeforeChangeStatusOnProdOrder', '', true, false)]
local procedure OnBeforeChangeStatusOnProdOrder(var ProductionOrder: Record "Production Order"; NewStatus: Option Quote,Planned,"Firm Planned",Released,Finished)
begin
VBRManufacturingManagement.UpdateCostPricesOnProductionOrder(ProductionOrder, NewStatus)
end;

Category: Manufacturing

P

This must be in ASAP, Saves us a lot of questions at our helpdesk, and specially in Actual Costing scenario's, and its only 2 lines of code

Category: Manufacturing

P

Please consider also an update for the total unit costs of an assembly order.
(Incident: 119091825000377 - Update Unit Cost with Assembly Order)

After leaving the register line entries of an assembly order, it should update the total amount automatically.

Category: Manufacturing