Codeunit 5701 Item Subst.

Base Application, Microsoft.Inventory.Item.Substitution
List17181920212223242526272829
Procedures111310110
Events214288

In 29 18 gone

GetCompSubst(var ProdOrderComp: Record "Prod. Order Component")gone after 28
gone
UpdateComponent(var ProdOrderComp: Record "Prod. Order Component"; SubstItemNo: Code[20]; SubstVariantCode: Code[10])gone after 28
gone
PrepareSubstList(ItemNo: Code[20]; VariantCode: Code[10]; LocationCode: Code[10]; DemandDate: Date; CalcATP: Boolean): Booleangone after 28
gone
GetTempItemSubstList(var TempItemSubstitutionList: Record "Item Substitution" temporary)gone after 28
gone
internal RunOnInsertInSubstServiceListOnAfterCalcQtyAvail(var Item: Record Item; ServiceLine: Record "Service Line"; var TempItemSubstitution: Record "Item Substitution" temporary)25 to 28
gone
internal RunOnInsertInSubstServiceListOnBeforeCalcQtyAvail(var Item: Record Item; ServiceLine: Record "Service Line"; var TempItemSubstitution: Record "Item Substitution" temporary)25 to 28
gone
internal RunOnAfterGetCompSubst(var ProdOrderComp: Record "Prod. Order Component"; var TempItemSubstitution: Record "Item Substitution" temporary)26 to 28
gone
internal RunOnAfterUpdateComponentBeforeAssign(var ProdOrderComp: Record "Prod. Order Component"; var TempProdOrderComp: Record "Prod. Order Component" temporary)26 to 28
gone
internal RunOnBeforeUpdateComponent(var ProdOrderComp: Record "Prod. Order Component"; SubstItemNo: Code[20]; SubstVariantCode: Code[10]; var IsHandled: Boolean)26 to 28
gone
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
gone
[IntegrationEvent] OnAfterGetCompSubst(var ProdOrderComp: Record "Prod. Order Component"; var TempItemSubstitution: Record "Item Substitution" temporary)gone after 28
gone
[IntegrationEvent] OnAfterUpdateComponentBeforeAssign(var ProdOrderComp: Record "Prod. Order Component"; var TempProdOrderComp: Record "Prod. Order Component" temporary)gone after 28
gone
[IntegrationEvent] OnBeforeUpdateComponent(var ProdOrderComp: Record "Prod. Order Component"; SubstItemNo: Code[20]; SubstVariantCode: Code[10]; var IsHandled: Boolean)gone after 28
gone
[IntegrationEvent] OnInsertInSubstServiceListOnAfterCalcQtyAvail(var Item: Record Item; ServiceLine: Record "Service Line"; var TempItemSubstitution: Record "Item Substitution" temporary)gone after 28
gone
[IntegrationEvent] OnInsertInSubstServiceListOnBeforeCalcQtyAvail(var Item: Record Item; ServiceLine: Record "Service Line"; var TempItemSubstitution: Record "Item Substitution" temporary)gone after 28
gone
[IntegrationEvent] OnCreateSubstListOnAfterCalcQtyAvail(var Item: Record Item; ProdOrderComp: Record "Prod. Order Component"; var TempItemSubstitution: Record "Item Substitution" temporary)gone after 28
gone
[IntegrationEvent] OnCreateSubstListOnBeforeCalcQtyAvail(var Item: Record Item; ProdOrderComp: Record "Prod. Order Component"; var TempItemSubstitution: Record "Item Substitution" temporary)gone after 28
gone
[IntegrationEvent] OnGetCompSubstOnAfterCheckPrepareSubstList(var ProdOrderComp: Record "Prod. Order Component"; var TempItemSubstitution: Record "Item Substitution" temporary; var Item: Record Item; var GrossReq: Decimal; var SchedRcpt: Decimal)gone after 28
gone

In 28 1 gone

ItemServiceSubstGet(var ServiceLine2: Record "Service Line")gone after 27changed in 22
gone

In 26 10 marked obsolete, 1 changed, 7 added

GetCompSubst(var ProdOrderComp: Record "Prod. Order Component")gone after 28
marked Pending, tag 26.0: Moved to codeunit Mfg. Item Substitution as GetProdOrderCompSubst()
UpdateComponent(var ProdOrderComp: Record "Prod. Order Component"; SubstItemNo: Code[20]; SubstVariantCode: Code[10])gone after 28
marked Pending, tag 26.0: 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
marked Pending, tag 26.0: Replaced by procedure FindItemSubstitutions()
GetTempItemSubstList(var TempItemSubstitutionList: Record "Item Substitution" temporary)gone after 28
marked Pending, tag 26.0: Use procedure FindItemSubstitutions with parameters TempItemSubstitutions instead.
CalcCustPrice(var TempItemSubstitutions: Record "Item Substitution" temporary; var ItemSubstitution: Record "Item Substitution"; var TempSalesLine: Record "Sales Line" temporary)new in 18changed in 26
changed, was CalcCustPrice(var TempItemSubstitution: Record "Item Substitution" temporary; var ItemSubstitution: Record "Item Substitution"; var TempSalesLine: Record "Sales Line" temporary)
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
added
internal RunOnAfterGetCompSubst(var ProdOrderComp: Record "Prod. Order Component"; var TempItemSubstitution: Record "Item Substitution" temporary)26 to 28
added
internal RunOnAfterUpdateComponentBeforeAssign(var ProdOrderComp: Record "Prod. Order Component"; var TempProdOrderComp: Record "Prod. Order Component" temporary)26 to 28
added
internal RunOnBeforeUpdateComponent(var ProdOrderComp: Record "Prod. Order Component"; SubstItemNo: Code[20]; SubstVariantCode: Code[10]; var IsHandled: Boolean)26 to 28
added
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
added
[IntegrationEvent] OnAfterGetCompSubst(var ProdOrderComp: Record "Prod. Order Component"; var TempItemSubstitution: Record "Item Substitution" temporary)gone after 28
marked Pending, tag 26.0: Moved to codeunit Mfg. Item Substitution
[IntegrationEvent] OnAfterUpdateComponentBeforeAssign(var ProdOrderComp: Record "Prod. Order Component"; var TempProdOrderComp: Record "Prod. Order Component" temporary)gone after 28
marked Pending, tag 26.0: Moved to codeunit Mfg. Item Substitution
[IntegrationEvent] OnBeforeUpdateComponent(var ProdOrderComp: Record "Prod. Order Component"; SubstItemNo: Code[20]; SubstVariantCode: Code[10]; var IsHandled: Boolean)gone after 28
marked Pending, tag 26.0: Moved to codeunit Mfg. Item Substitution
[IntegrationEvent] OnCreateSubstListOnAfterCalcQtyAvail(var Item: Record Item; ProdOrderComp: Record "Prod. Order Component"; var TempItemSubstitution: Record "Item Substitution" temporary)gone after 28
marked Pending, tag 26.0: Replaced by event OnCreateSubstListOnAfterCalcQuantityAvailable
[IntegrationEvent] OnCreateSubstListOnBeforeCalcQtyAvail(var Item: Record Item; ProdOrderComp: Record "Prod. Order Component"; var TempItemSubstitution: Record "Item Substitution" temporary)gone after 28
marked Pending, tag 26.0: Replaced by event OnCreateSubstListOnBeforeCalcQuantityAvailable
[IntegrationEvent] OnGetCompSubstOnAfterCheckPrepareSubstList(var ProdOrderComp: Record "Prod. Order Component"; var TempItemSubstitution: Record "Item Substitution" temporary; var Item: Record Item; var GrossReq: Decimal; var SchedRcpt: Decimal)gone after 28
marked Pending, tag 26.0: Moved to codeunit Mfg. Item Substitution
[IntegrationEvent] OnCreateSubstListOnAfterCalcQuantityAvailable(var Item: Record Item; var TempItemSubstitution: Record "Item Substitution" temporary)new in 26
added
[IntegrationEvent] OnCreateSubstListOnBeforeCalcQuantityAvailable(var Item: Record Item; var TempItemSubstitution: Record "Item Substitution" temporary)new in 26
added

In 25 3 marked obsolete, 2 added

ItemServiceSubstGet(var ServiceLine2: Record "Service Line")gone after 27changed in 22
marked Pending, tag 25.0: Moved to codeunit ServItemSubstitution
internal RunOnInsertInSubstServiceListOnAfterCalcQtyAvail(var Item: Record Item; ServiceLine: Record "Service Line"; var TempItemSubstitution: Record "Item Substitution" temporary)25 to 28
added
internal RunOnInsertInSubstServiceListOnBeforeCalcQtyAvail(var Item: Record Item; ServiceLine: Record "Service Line"; var TempItemSubstitution: Record "Item Substitution" temporary)25 to 28
added
[IntegrationEvent] OnInsertInSubstServiceListOnAfterCalcQtyAvail(var Item: Record Item; ServiceLine: Record "Service Line"; var TempItemSubstitution: Record "Item Substitution" temporary)gone after 28
marked Pending, tag 25.0: Moved to codeunit ServItemSubstitution
[IntegrationEvent] OnInsertInSubstServiceListOnBeforeCalcQtyAvail(var Item: Record Item; ServiceLine: Record "Service Line"; var TempItemSubstitution: Record "Item Substitution" temporary)gone after 28
marked Pending, tag 25.0: Moved to codeunit ServItemSubstitution

In 22 1 changed, 2 gone, 2 added

ItemServiceSubstGet(var ServiceLine2: Record "Service Line")gone after 27changed in 22
changed, was ItemServiceSubstGet(var ServInvLine2: Record "Service Line")
[IntegrationEvent] OnBeforeCalcCustPrice(var TempItemSubstitution: Record "Item Substitution" temporary; TempSalesLine: Record "Sales Line" temporary; var IsHandled: Boolean)gone after 21
gone
[IntegrationEvent] OnItemSubstGetOnAfterTempItemSubstitutionSetFilters(var TempItemSubstitution: Record "Item Substitution" temporary)gone after 21
gone
[IntegrationEvent] OnBeforeCalcCustPrice(var TempItemSubstitution: Record "Item Substitution" temporary; TempSalesLine: Record "Sales Line" temporary; var IsHandled: Boolean; Item: Record Item)new in 22
added
[IntegrationEvent] OnItemSubstGetOnAfterTempItemSubstitutionSetFilters(var TempItemSubstitution: Record "Item Substitution" temporary; var SalesLine: Record "Sales Line"; var TempSalesLine: Record "Sales Line" temporary; OldSalesUOM: Code[10]; var IsHandled: Boolean)new in 22
added

In 21 1 changed

ItemSubstGet(var SalesLine: Record "Sales Line"): Boolean17-29changed in 21
changed, was ItemSubstGet(var SalesLine: Record "Sales Line")

In 19 1 added

[IntegrationEvent] OnBeforeSaveItemSalesUOM(var OldSalesUOM: Code[10]; Item: Record Item; var IsHandled: Boolean)new in 19
added

In 18 2 added, 1 gone

CalcCustPrice(var TempItemSubstitution: Record "Item Substitution" temporary; var ItemSubstitution: Record "Item Substitution"; var TempSalesLine: Record "Sales Line" temporary)new in 18changed in 26
added
[IntegrationEvent] OnBeforeItemSubstGetPopulateTempSalesLine(var TempSalesline: Record "Sales Line" temporary; var TempItemSubstitution: Record "Item Substitution" temporary; var IsHandled: Boolean)gone after 17
gone
[IntegrationEvent] OnBeforeItemSubstGetPopulateTempSalesLine(var TempSalesline: Record "Sales Line" temporary; var TempItemSubstitution: Record "Item Substitution" temporary; var IsHandled: Boolean; SaveItemNo: Code[20]; SaveVariantCode: Code[10])new in 18
added