Codeunit 99000763 Inv. Post. To G/L Subscribers
Source AL, 41 lines
src/Layers/W1/BaseApp/Manufacturing/Inventory/Costing/InvPostToGLSubscribers.Codeunit.allines 11 to 26 of 41, Copyright (c) Microsoft Corporation. MIT
codeunit 99000763 "Inv. Post. To G/L Subscribers"{ var ManufacturingSetup: Record "Manufacturing Setup"; [EventSubscriber(ObjectType::Codeunit, Codeunit::"Inventory Posting To G/L", OnBeforeAdjustWIPForProduction, '', true, false)] local procedure OnBeforeAdjustWIPForProduction(var ValueEntry: Record "Value Entry"; var IsHandled: Boolean) begin IsHandled := SkipAdjustWIPForProduction(ValueEntry); end; local procedure SkipAdjustWIPForProduction(var ValueEntry: Record "Value Entry"): Boolean var ProdOrderLine: Record "Prod. Order Line"; begin ManufacturingSetup.GetRecordOnce();