codeunitInventoryofficial - Microsoftderived - from the source, no model text

Codeunit 5404 "Lead-Time Management"

Base Application · Microsoft.Inventory

Across versions

  1. BC23present
  2. BC241 events changed
  3. BC256 events changed, 6 events added
  4. BC261 procedures added
  5. BC271 procedures changed
  6. BC286 events removed, 4 procedures removed
  7. BC29-30unchanged

Neighbourhood 14 connected objects and pages

Table 246 "Requisition Line" (calls, 11 links)Requisition LineCodeunit 99000855 "Planning-Get Parameters" (calls, 9 links)Planning-Get ParametersCodeunit 99000773 "Calculate Prod. Order" (calls, 6 links)Calculate Prod. OrderTable 900 "Assembly Header" (calls, 6 links)Assembly HeaderTable 5405 "Production Order" (calls, 5 links)Production OrderCodeunit 7600 "Calendar Management" (calls, 3 links)Calendar ManagementCodeunit 905 "Assembly Line Management" (calls, 3 links)Assembly Line ManagementTable 39 "Purchase Line" (calls, 2 links)Purchase LineCodeunit 99000787 "Create Prod. Order Lines" (calls)Create Prod. Order LinesCodeunit 99000792 "Create Prod. Order from Sale" (calls)Create Prod. Order from SaleCodeunit 99000809 "Planning Line Management" (calls)Planning Line ManagementCodeunit 99000854 "Inventory Profile Offsetting" (calls)Inventory Profile OffsettingCodeunit 99000886 "Capable to Promise" (calls)Capable to PromiseReport 698 "Get Sales Orders" (calls)Get Sales Orders

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 · BC23-30 · source at ea08af5e · facts from BC29

Events published

  • OnBeforeGetPlannedDueDate(ItemNo: Code[20]; LocationCode: Code[10]; VariantCode: Code[10]; EndingDate: Date; VendorNo: Code[20]; RefOrderType: Enum "Requisition Ref. Order Type"; var Result: Date; var IsHandled: Boolean) + BC25 (integration)
  • OnBeforeGetPlannedEndingDate(ItemNo: Code[20]; LocationCode: Code[10]; VariantCode: Code[10]; DueDate: Date; VendorNo: Code[20]; RefOrderType: Enum "Requisition Ref. Order Type"; var Result: Date; var IsHandled: Boolean) + BC25 (integration)
  • OnBeforeGetPlannedStartingDate(ItemNo: Code[20]; LocationCode: Code[10]; VariantCode: Code[10]; VendorNo: Code[20]; var LeadTime: Code[20]; RefOrderType: Enum "Requisition Ref. Order Type"; EndingDate: Date; var Result: Date; var IsHandled: Boolean) + BC25 (integration)
  • OnGetPlannedDueDateOnBeforeFormatDateFormula(var SKU: Record "Stockkeeping Unit"; RefOrderType: Enum "Requisition Ref. Order Type"; EndingDate: Date; ItemNo: Code[20]; LocationCode: Code[10]) + BC25 (integration)
  • OnGetPlannedEndingDateOnBeforeFormatDateFormula(var SKU: Record "Stockkeeping Unit"; RefOrderType: Enum "Requisition Ref. Order Type"; ItemNo: code[20]; DueDate: Date) + BC25 (integration)
  • OnAfterManufacturingLeadTime(TempStockkeepingUnit: Record "Stockkeeping Unit" temporary; var Result: Code[20]) (integration)
  • OnAfterPurchaseLeadTime(ItemVend: Record "Item Vendor"; var Result: Code[20]) (integration)
  • OnAfterPlannedStartingDate(LeadTime: Code[20]; EndingDate: Date; CustomCalendarChange: array[2] of Record "Customized Calendar Change"; CheckBothCalendars: Boolean; var Result: Date) Δ BC24 (integration)
  • OnAfterSafetyLeadTime(TempStockkeepingUnit: Record "Stockkeeping Unit" temporary; var Result: Code[20]) (integration)
  • OnBeforeWhseInBoundHandlingTime(LocationCode: Code[10]; var InboundWhseHandlingTime: Code[10]; var IsHandled: Boolean) (integration)
  • OnBeforeGetPlannedEndingDateCalculaterForwardFromStartingDate(ItemNo: Code[20]; LocationCode: Code[10]; VariantCode: Code[10]; VendorNo: Code[20]; var LeadTime: Code[20]; RefOrderType: Enum "Requisition Ref. Order Type"; var StartingDate: Date; var Result: Date; var IsHandled: Boolean) + BC25 (integration)

Procedures

  • PurchaseLeadTime(ItemNo: Code[20]; LocationCode: Code[10]; VariantCode: Code[10]; VendorNo: Code[20]): Code[20]
  • ManufacturingLeadTime(ItemNo: Code[20]; LocationCode: Code[10]; VariantCode: Code[10]): Code[20]
  • SetManualScheduling(NewManualScheduling: Boolean) + BC26
  • WhseOutBoundHandlingTime(LocationCode: Code[10]): Code[10]
  • WhseInBoundHandlingTime(LocationCode: Code[10]): Code[10] Δ BC27
  • SafetyLeadTime(ItemNo: Code[20]; LocationCode: Code[10]; VariantCode: Code[10]): Code[20]
  • GetPlannedEndingDate(ItemNo: Code[20]; LocationCode: Code[10]; VariantCode: Code[10]; DueDate: Date; VendorNo: Code[20]; RefOrderType: Enum "Requisition Ref. Order Type"): Date + BC25 + BC25
  • GetPlannedStartingDate(ItemNo: Code[20]; LocationCode: Code[10]; VariantCode: Code[10]; VendorNo: Code[20]; LeadTime: Code[20]; RefOrderType: Enum "Requisition Ref. Order Type"; EndingDate: Date): Date + BC25
  • GetPlannedEndingDate(ItemNo: Code[20]; LocationCode: Code[10]; VariantCode: Code[10]; VendorNo: Code[20]; LeadTime: Code[20]; RefOrderType: Enum "Requisition Ref. Order Type"; StartingDate: Date): Date + BC25 + BC25
  • GetPlannedDueDate(ItemNo: Code[20]; LocationCode: Code[10]; VariantCode: Code[10]; EndingDate: Date; VendorNo: Code[20]; RefOrderType: Enum "Requisition Ref. Order Type"): Date + BC25
  • CheckLeadTimeIsNotNegative(LeadTimeDateFormula: DateFormula)

Plus 5 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: "Lead-Time Management"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources