codeunitInventoryofficial - Microsoftderived - from the source, no model text

Codeunit 1336 "Item Templ. Mgt."

Base Application · Microsoft.Inventory.Item

Across versions

  1. BC23present
  2. BC241 procedures added
  3. BC251 procedures added, 1 events added
  4. BC263 events added, 1 procedures added
  5. BC272 procedures added
  6. BC281 events changed
  7. BC29-30unchanged

Neighbourhood 12 connected objects and pages

Codeunit 8055 "Sub. Contracts Item Management" (event subscribers)Sub. Contracts Item ManagementCodeunit 99000795 "Mfg. Item Integration" (event subscribers)Mfg. Item IntegrationPage 30 "Item Card" (calls, 3 links)Item CardCodeunit 1332 "Template Feature Mgt." (calls, 2 links)Template Feature Mgt.Codeunit 27 "Confirm Management" (calls, 2 links)Confirm ManagementCodeunit 5703 "Catalog Item Management" (calls, 2 links)Page 456 "No. Series" (calls, 2 links)No. SeriesCodeunit 7205 "CDS Int. Table. Subscriber" (calls)CDS Int. Table. SubscriberCodeunit 7237 "Master Data Mgt. Subscribers" (calls)Master Data Mgt. SubscribersPage 1383 "Item Templ. List" (calls)Item Templ. ListPage 7498 "Item From Picture" (calls)Item From PictureTable 27 "Item" (calls)

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

Events published

  • OnAfterIsEnabled(var Result: Boolean) (integration)
  • OnApplyTemplateOnBeforeItemModify(var Item: Record Item; ItemTempl: Record "Item Templ."; var IsHandled: Boolean; UpdateExistingValues: Boolean) (integration)
  • OnApplyItemTemplateOnBeforeItemGet(var Item: Record Item; ItemTempl: Record "Item Templ."; UpdateExistingValues: Boolean) (integration)
  • OnCreateItemFromTemplateOnBeforeSelectItemTemplate(Item: Record Item; var ItemTempl: Record "Item Templ.") (integration)
  • OnInsertItemFromTemplate(var Item: Record Item; var Result: Boolean; var IsHandled: Boolean) (integration)
  • OnTemplatesAreNotEmpty(var Result: Boolean; var IsHandled: Boolean) (integration)
  • OnUpdateItemFromTemplate(var Item: Record Item; var IsHandled: Boolean) (integration)
  • OnUpdateItemsFromTemplate(var Item: Record Item; var IsHandled: Boolean) (integration)
  • OnSaveAsTemplate(Item: Record Item; var IsHandled: Boolean) (integration)
  • OnShowTemplates(var IsHandled: Boolean) (integration)
  • OnAfterFillFieldExclusionList(var FieldExclusionList: List of [Integer]) (integration)
  • OnBeforeCreateItemFromTemplate(var Item: Record Item; var Result: Boolean; var IsHandled: Boolean) (integration)
  • OnBeforeUpdateFromTemplate(var Item: Record Item; var IsHandled: Boolean) (integration)
  • OnBeforeUpdateMultipleFromTemplate(var Item: Record Item; var IsHandled: Boolean) (integration)
  • OnBeforeCreateTemplateFromItem(Item: Record Item; var IsHandled: Boolean) (integration)
  • OnInsertTemplateFromItemOnBeforeItemTemplInsert(var ItemTempl: Record "Item Templ."; Item: Record Item) (integration)
  • OnBeforeGetUpdateExistingValuesParam(var Result: Boolean; var IsHandled: Boolean) (integration)
  • OnBeforeSetBaseUoM(var Item: Record Item; var ItemTempl: Record "Item Templ."; var IsHandled: Boolean) (integration)
  • OnBeforeInitItemNo(var Item: Record Item; ItemTempl: Record "Item Templ."; var IsHandled: Boolean) (integration)
  • OnCreateTemplateFromItemOnBeforeItemTemplGet(Item: Record Item; ItemTempl: Record "Item Templ.") (integration)
  • OnAfterCreateItemFromTemplate(var Item: Record Item; ItemTempl: Record "Item Templ.") (integration)
  • OnInitFromTemplateOnBeforeValidateFields(var ItemRecRef: RecordRef; var ItemTemplRecRef: RecordRef; FieldExclusionList: List of [Integer]; var FieldValidationList: List of [Integer]) (integration)
  • OnBeforeSelectItemTemplate(var ItemTempl: Record "Item Templ."; var IsHandled: Boolean; var Result: Boolean) Δ BC28 (integration)
  • OnBeforeOpenBlankCardConfirmed(var Result: Boolean; var IsHandled: Boolean) + BC25 (integration)
  • OnCreateItemFromTemplateOnBeforeItemInsert(var Item: Record Item) + BC26 (integration)
  • OnInitFromTemplateOnAfterPrepareTempItem(var TempItem: Record Item temporary; var Item: Record Item; ItemTempl: Record "Item Templ."; UpdateExistingValues: Boolean) + BC26 (integration)
  • OnInitFromTemplateOnAfterPrepareEmptyItemTemplRecordRef(var EmptyItemTemplRecordRef: RecordRef; ItemTempl: Record "Item Templ."; UpdateExistingValues: Boolean) + BC26 (integration)

Event subscriptions

  • OnBeforeInsertRecordWithKeyFieldsHandler subscribes to Codeunit “Config. Template Management” OnBeforeInsertRecordWithKeyFields

Procedures

  • CreateItemFromTemplate(var Item: Record Item; var IsHandled: Boolean; ItemTemplCode: Code[20]): Boolean
  • CreateItemFromTemplate(var Item: Record Item; var IsHandled: Boolean): Boolean
  • ApplyItemTemplate(var Item: Record Item; ItemTempl: Record "Item Templ.")
  • ApplyItemTemplate(var Item: Record Item; ItemTempl: Record "Item Templ."; UpdateExistingValues: Boolean)
  • InitFromTemplate(var Item: Record Item; ItemTempl: Record "Item Templ."; UpdateExistingValues: Boolean) (internal)
  • InsertDimensions(DestNo: Code[20]; SourceNo: Code[20]; DestTableId: Integer; SourceTableId: Integer)
  • ItemTemplatesAreNotEmpty(var IsHandled: Boolean): Boolean
  • InsertItemFromTemplate(var Item: Record Item): Boolean
  • TemplatesAreNotEmpty(): Boolean
  • IsEnabled(): Boolean
  • UpdateItemFromTemplate(var Item: Record Item)
  • UpdateItemsFromTemplate(var Item: Record Item)
  • SaveAsTemplate(Item: Record Item)
  • CreateTemplateFromItem(Item: Record Item; var IsHandled: Boolean)
  • ShowTemplates()
  • InitItemNo(var Item: Record Item; ItemTempl: Record "Item Templ.") Δ BC26
  • IsOpenBlankCardConfirmed(): Boolean
  • FillItemKeyFromInitSeries(var RecRef: RecordRef; ConfigTemplateHeader: Record "Config. Template Header")

Plus 20 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 Templ. Mgt."), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources