Source AL, 474 lines
src/Layers/W1/BaseApp/Inventory/Item/Substitution/ItemSubst.Codeunit.allines 15 to 30 of 474, Copyright (c) Microsoft Corporation. MIT
codeunit 5701 "Item Subst."{ Permissions = TableData "Item Substitution" = rimd; trigger OnRun() begin end; var Item: Record Item; ItemSubstitution: Record "Item Substitution"; SalesHeader: Record "Sales Header"; NonStockItem: Record "Nonstock Item"; TempSalesLine: Record "Sales Line" temporary; CompanyInfo: Record "Company Information";
All 474 lines
Events 14 in 29
All 25 events in 17-29
Public procedures 5 in 29
| ItemSubstGet(var SalesLine: Record "Sales Line"): Boolean | 17-29changed in 21 |
| 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 |
| 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): Boolean | new in 26 |
All 16 procedures in 17-29
Changes 18 in 29
| 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): Boolean | gone 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 |
All 52 changes in 17-29