Codeunit 20530 Subc. Prod. Ord. Comp. Res.

Subcontracting, Microsoft.Manufacturing.Subcontracting

Source AL, 40 lines

src/Apps/W1/Subcontracting/App/src/Manufacturing/SubcProdOrdCompRes.Codeunit.allines 9 to 24 of 40, Copyright (c) Microsoft Corporation. MIT

codeunit 20530 "Subc. Prod. Ord. Comp. Res."{    EventSubscriberInstance = Manual;    /// <summary>    /// When a transfer is created, the storage location in the production component is swapped and thus triggers the verification.\    /// The verification attempts to perform an auto tracking if the order tracking policy of the item is not equal to None, but this is not possible.\    /// Therefore the verification is overwritten and set to false.    /// </summary>    /// <param name="NewProdOrderComp"></param>    /// <param name="OldProdOrderComp"></param>    /// <param name="HasError"></param>    /// <param name="ShowError"></param>    [EventSubscriber(ObjectType::Codeunit, Codeunit::"Prod. Order Comp.-Reserve", OnVerifyChangeOnBeforeHasError, '', false, false)]    local procedure "Prod. Order Comp.-Reserve_OnVerifyChangeOnBeforeHasError"(NewProdOrderComp: Record "Prod. Order Component"; OldProdOrderComp: Record "Prod. Order Component"; var HasError: Boolean; var ShowError: Boolean)#if not CLEAN29

All 40 lines