codeunitInventoryofficial - Microsoftderived - from the source, no model text

Codeunit 5701 "Item Subst."

Base Application · Microsoft.Inventory.Item.Substitution

Across versions

  1. BC23-24present
  2. BC253 procedures added, 2 procedures removed
  3. BC2610 procedures added, 8 events added
  4. BC27unchanged
  5. BC281 procedures removed
  6. BC2910 procedures removed, 8 events removed
  7. BC30unchanged

Neighbourhood 10 connected objects and pages

Codeunit 5790 "Available to Promise" (calls, 3 links)Available to PromiseCodeunit 311 "Item-Check Avail." (calls, 2 links)Item-Check Avail.Codeunit 5522 "Order Planning Mgt." (calls, 2 links)Order Planning Mgt.Codeunit 99000898 "Mfg. Item Substitution" (calls, 2 links)Mfg. Item SubstitutionPage 5718 "Item Substitution Entries" (calls, 2 links)Item Substitution EntriesCodeunit 5703 "Catalog Item Management" (calls)Catalog Item ManagementCodeunit 926 "Assembly Line-Reserve" (calls)Assembly Line-ReserveCodeunit 99000832 "Sales Line-Reserve" (calls)Sales Line-ReserveTable 37 "Sales Line" (calls)Sales LineTable 901 "Assembly Line" (calls)Assembly Line

Open in the neighbourhood explorer

One hop out, from the extracted relations and call graph. Up to 40 shown; the sections below list them all.

Base Application · Microsoft.Inventory.Item.Substitution · BC23-30 · source at ea08af5e · facts from BC29

Properties

Property Value
Permissions TableData “Item Substitution” = rimd

Events published

  • OnAfterItemSubstGet(var SalesLine: Record "Sales Line"; TempSalesLine: Record "Sales Line" temporary) (integration)
  • OnBeforeSaveItemSalesUOM(var OldSalesUOM: Code[10]; Item: Record Item; var IsHandled: Boolean) (integration)
  • OnCalcCustPriceOnAfterCalcQtyAvail(var Item: Record Item; SalesLine: Record "Sales Line"; var TempItemSubstitution: Record "Item Substitution" temporary) (integration)
  • OnCalcCustPriceOnBeforeCalcQtyAvail(var Item: Record Item; SalesLine: Record "Sales Line"; var TempItemSubstitution: Record "Item Substitution" temporary; ItemSubstitution: Record "Item Substitution") (integration)
  • OnAssemblyCalcCustPriceOnAfterCalcQtyAvail(var Item: Record Item; AssemblyLine: Record "Assembly Line"; var TempItemSubstitution: Record "Item Substitution" temporary) (integration)
  • OnAssemblyCalcCustPriceOnBeforeCalcQtyAvail(var Item: Record Item; AssemblyLine: Record "Assembly Line"; var TempItemSubstitution: Record "Item Substitution" temporary) (integration)
  • OnBeforeCalcCustPrice(var TempItemSubstitution: Record "Item Substitution" temporary; TempSalesLine: Record "Sales Line" temporary; var IsHandled: Boolean; Item: Record Item) (integration)
  • OnBeforeItemSubstGetPopulateTempSalesLine(var TempSalesline: Record "Sales Line" temporary; var TempItemSubstitution: Record "Item Substitution" temporary; var IsHandled: Boolean; SaveItemNo: Code[20]; SaveVariantCode: Code[10]) (integration)
  • OnCreateSubstListOnAfterCalcQuantityAvailable(var Item: Record Item; var TempItemSubstitution: Record "Item Substitution" temporary) + BC26 (integration)
  • OnCreateSubstListOnBeforeCalcQuantityAvailable(var Item: Record Item; var TempItemSubstitution: Record "Item Substitution" temporary) + BC26 (integration)
  • OnItemSubstGetOnAfterSubstSalesLineItem(var SalesLine: Record "Sales Line"; var SourceSalesLine: Record "Sales Line"; var TempItemSubstitution: Record "Item Substitution" temporary) (integration)
  • OnItemSubstGetOnAfterItemSubstitutionSetFilters(var ItemSubstitution: Record "Item Substitution") (integration)
  • OnItemSubstGetOnAfterTempItemSubstitutionSetFilters(var TempItemSubstitution: Record "Item Substitution" temporary; var SalesLine: Record "Sales Line"; var TempSalesLine: Record "Sales Line" temporary; OldSalesUOM: Code[10]; var IsHandled: Boolean) (integration)
  • OnCalcCustPriceOnBeforeTempItemSubstitutionInsert(var TempItemSubstitution: Record "Item Substitution" temporary; ItemSubstitution: Record "Item Substitution") (integration)

Procedures

  • ItemSubstGet(var SalesLine: Record "Sales Line"): Boolean
  • CalcCustPrice(var TempItemSubstitutions: Record "Item Substitution" temporary; var ItemSubstitution: Record "Item Substitution"; var TempSalesLine: Record "Sales Line" temporary) Δ BC26
  • 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 + BC26
  • ErrorMessage(ItemNo: Code[20]; VariantCode: Code[10])
  • ItemAssemblySubstGet(var AssemblyLine: Record "Assembly Line")

Plus 6 local procedures.

Triggers

OnRun

Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.

Called by

Ask your agent

Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "Item Subst."), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources