Source AL, 135 lines
src/Layers/W1/BaseApp/Manufacturing/Inventory/Item/MfgItemSubstitution.Codeunit.allines 13 to 28 of 135, Copyright (c) Microsoft Corporation. MIT
codeunit 99000898 "Mfg. Item Substitution"{ var ItemUnitOfMeasure: Record "Item Unit of Measure"; ProdOrderCompSubst: Record "Prod. Order Component"; ItemSubst: Codeunit "Item Subst."; UOMMgt: Codeunit "Unit of Measure Management"; procedure GetProdOrderCompSubst(var ProdOrderComp: Record "Prod. Order Component") var Item: Record Item; TempItemSubstitutions: Record "Item Substitution" temporary; GrossReq: Decimal; SchedRcpt: Decimal; begin ProdOrderCompSubst := ProdOrderComp;
All 135 lines
Events 4 in 29
| [IntegrationEvent] OnGetCompSubstOnAfterCheckPrepareSubstList(var ProdOrderComp: Record "Prod. Order Component"; var TempItemSubstitution: Record "Item Substitution" temporary; var Item: Record Item; var GrossReq: Decimal; var SchedRcpt: Decimal) | new in 26 |
| [IntegrationEvent] OnAfterGetCompSubst(var ProdOrderComp: Record "Prod. Order Component"; var TempItemSubstitution: Record "Item Substitution" temporary) | new in 26 |
| [IntegrationEvent] OnBeforeUpdateComponent(var ProdOrderComp: Record "Prod. Order Component"; SubstItemNo: Code[20]; SubstVariantCode: Code[10]; var IsHandled: Boolean) | new in 26 |
| [IntegrationEvent] OnAfterUpdateComponentBeforeAssign(var ProdOrderComp: Record "Prod. Order Component"; var TempProdOrderComp: Record "Prod. Order Component" temporary) | new in 26 |
Public procedures 2 in 29
| GetProdOrderCompSubst(var ProdOrderComp: Record "Prod. Order Component") | new in 26 |
| UpdateProdOrderComp(var ProdOrderComp: Record "Prod. Order Component"; SubstItemNo: Code[20]; SubstVariantCode: Code[10]) | new in 26 |