Codeunit 5701 Item Subst.

Base Application, Microsoft.Inventory.Item.Substitution

16 procedures

ProcedureVersions
ItemSubstGet(var SalesLine: Record "Sales Line"): Boolean17-29changed in 21
ItemServiceSubstGet(var ServiceLine2: Record "Service Line")gone after 27changed in 22
Pending, tag 25.0, obsolete since 25: Moved to codeunit ServItemSubstitution
GetCompSubst(var ProdOrderComp: Record "Prod. Order Component")gone after 28
Pending, tag 26.0, obsolete since 26: Moved to codeunit Mfg. Item Substitution as GetProdOrderCompSubst()
UpdateComponent(var ProdOrderComp: Record "Prod. Order Component"; SubstItemNo: Code[20]; SubstVariantCode: Code[10])gone after 28
Pending, tag 26.0, obsolete since 26: Moved to codeunit Mfg. Item Substitution as UpdateProdOrderComp()
PrepareSubstList(ItemNo: Code[20]; VariantCode: Code[10]; LocationCode: Code[10]; DemandDate: Date; CalcATP: Boolean): Booleangone after 28
Pending, tag 26.0, obsolete since 26: Replaced by procedure FindItemSubstitutions()
GetTempItemSubstList(var TempItemSubstitutionList: Record "Item Substitution" temporary)gone after 28
Pending, tag 26.0, obsolete since 26: Use procedure FindItemSubstitutions with parameters TempItemSubstitutions instead.
ErrorMessage(ItemNo: Code[20]; VariantCode: Code[10])17-29
ItemAssemblySubstGet(var AssemblyLine: Record "Assembly Line")17-29
CalcCustPrice(var TempItemSubstitutions: Record "Item Substitution" temporary; var ItemSubstitution: Record "Item Substitution"; var TempSalesLine: Record "Sales Line" temporary)new in 18changed in 26
internal RunOnInsertInSubstServiceListOnAfterCalcQtyAvail(var Item: Record Item; ServiceLine: Record "Service Line"; var TempItemSubstitution: Record "Item Substitution" temporary)25 to 28
internal RunOnInsertInSubstServiceListOnBeforeCalcQtyAvail(var Item: Record Item; ServiceLine: Record "Service Line"; var TempItemSubstitution: Record "Item Substitution" temporary)25 to 28
FindItemSubstitutions(var TempItemSubstitutions: Record "Item Substitution" temporary; ItemNo: Code[20]; VariantCode: Code[10]; LocationCode: Code[10]; DemandDate: Date; CalcATP: Boolean; var GrossReq: Decimal; var SchedRcpt: Decimal): Booleannew in 26
internal RunOnAfterGetCompSubst(var ProdOrderComp: Record "Prod. Order Component"; var TempItemSubstitution: Record "Item Substitution" temporary)26 to 28
internal RunOnAfterUpdateComponentBeforeAssign(var ProdOrderComp: Record "Prod. Order Component"; var TempProdOrderComp: Record "Prod. Order Component" temporary)26 to 28
internal RunOnBeforeUpdateComponent(var ProdOrderComp: Record "Prod. Order Component"; SubstItemNo: Code[20]; SubstVariantCode: Code[10]; var IsHandled: Boolean)26 to 28
internal RunOnGetCompSubstOnAfterCheckPrepareSubstList(var ProdOrderComp: Record "Prod. Order Component"; var TempItemSubstitution: Record "Item Substitution" temporary; var Item: Record Item; var GrossReq: Decimal; var SchedRcpt: Decimal)26 to 28