Codeunit 5701 Item Subst.
src/Layers/W1/BaseApp/Inventory/Item/Substitution/ItemSubst.Codeunit.al9 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT
ItemSubstGet line 51
- 73callsSaveItemSalesUOM
- 80raisesOnItemSubstGetOnAfterItemSubstitutionSetFilters
- 82callsCalcCustPrice
- 88raisesOnItemSubstGetOnAfterTempItemSubstitutionSetFiltersIsHandled
- 90runsPage 5718 Item Substitution Entries
- 94callsCodeunit 5703 Catalog Item Management CreateItemFromNonstock
- 99callsItemSubstGetPopulateTempSalesLine
- 102callsCodeunit 311 Item-Check Avail. SalesLineCheck
- 110callsCodeunit 99000832 Sales Line-Reserve DeleteLine
- 113raisesOnAfterItemSubstGet
ItemSubstGetPopulateTempSalesLine line 116, local
- 121raisesOnBeforeItemSubstGetPopulateTempSalesLineIsHandled
- 131validatesTable 37 Sales Line No.
- 132validatesTable 37 Sales Line Variant Code
- 137validatesTable 37 Sales Line Quantity
- 138validatesTable 37 Sales Line Unit of Measure Code
- 140callsTable 37 Sales Line CreateDimFromDefaultDim
- 142raisesOnItemSubstGetOnAfterSubstSalesLineItem
CalcCustPrice line 145
- 150raisesOnBeforeCalcCustPriceIsHandled
- 155writesTable 5715 Item Substitution DeleteAll
- 171callsGetSetupData
- 172raisesOnCalcCustPriceOnBeforeCalcQtyAvail
- 174callsCodeunit 5790 Available to Promise CalcQtyAvailabletoPromise
- 179raisesOnCalcCustPriceOnAfterCalcQtyAvail
- 186raisesOnCalcCustPriceOnBeforeTempItemSubstitutionInsert
- 187writesTable 5715 Item Substitution Insert
AssemblyCalcCustPrice line 191, local
- 196writesTable 5715 Item Substitution DeleteAll
- 212callsGetSetupData
- 213raisesOnAssemblyCalcCustPriceOnBeforeCalcQtyAvail
- 215callsCodeunit 5790 Available to Promise CalcQtyAvailabletoPromise
- 220raisesOnAssemblyCalcCustPriceOnAfterCalcQtyAvail
- 227writesTable 5715 Item Substitution Insert
FindItemSubstitutions line 238
- 251writesTable 5715 Item Substitution DeleteAll
- 252callsCreateSubstList
CreateSubstList line 259, local
- 286raisesOnCreateSubstListOnBeforeCalcQuantityAvailable
- 288callsCodeunit 5790 Available to Promise CalcQtyAvailabletoPromise
- 292raisesOnCreateSubstListOnAfterCalcQuantityAvailable
- 296callsIsSubstitutionInserted
- 309writesTable 5715 Item Substitution Modify
ItemAssemblySubstGet line 323
- 342callsSaveItemSalesUOM
- 350callsAssemblyCalcCustPrice
- 356runsPage 5718 Item Substitution Entries
- 362validatesTable 901 Assembly Line No.
- 363validatesTable 901 Assembly Line Variant Code
- 365validatesTable 901 Assembly Line Quantity
- 366validatesTable 901 Assembly Line Unit of Measure Code
- 368callsCodeunit 311 Item-Check Avail. AssemblyLineCheck
- 375callsCodeunit 926 Assembly Line-Reserve DeleteLine
IsSubstitutionInserted line 380, local
- 388writesTable 5715 Item Substitution Insert
SaveItemSalesUOM line 393, local
- 398raisesOnBeforeSaveItemSalesUOMIsHandled