codeunitInventoryofficial - Microsoftderived - from the source, no model text

Codeunit 730 "Copy Item"

Base Application · Microsoft.Inventory.Item

Across versions

  1. BC23present
  2. BC24declaration changed
  3. BC252 procedures removed
  4. BC261 events added
  5. BC271 procedures added
  6. BC284 procedures changed, 1 procedures added
  7. BC291 events added
  8. BC30unchanged

Neighbourhood 7 connected objects and pages

Table 27 "Item" (relates to)ItemCodeunit 6472 "Serv. Copy Item" (event subscribers)Serv. Copy ItemCodeunit 6472 "Serv. Copy Item" (calls, 2 links)Serv. Copy ItemCodeunit 1511 "Notification Lifecycle Mgt." (calls)Notification Lifecycle Mgt.Page 30 "Item Card" (calls)Item CardPage 31 "Item List" (calls)Item ListPage 456 "No. Series" (calls)No. Series

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

Properties

Property Value
TableNo Item

Events published

  • OnAfterCopyExtendedTexts(var SourceItem: Record Item; var TargetItem: Record Item) (integration)
  • OnAfterCopyItem(var CopyItemBuffer: Record "Copy Item Buffer"; SourceItem: Record Item; var TargetItem: Record Item) (integration)
  • OnBeforeCopyItem(SourceItem: Record Item; var TargetItem: Record Item; CopyCounter: Integer; var CopyItemBuffer: Record "Copy Item Buffer") (integration)
  • OnBeforeCopyItemPriceListLines(FromItemNo: Code[20]; ToItemNo: Code[20]; var IsHandled: Boolean) (integration)
  • OnBeforeCopyItemPriceListLines2(FromItemNo: Code[20]; ToItemNo: Code[20]; PriceType: Enum "Price Type"; AmountType: Enum "Price Amount Type"; var IsHandled: Boolean) + BC29 (integration)
  • OnBeforeOnRun(Item: Record Item; var FirstItemNo: Code[20]; var LastItemNo: Code[20]; var IsItemCopied: Boolean; var IsHandled: Boolean) (integration)
  • OnRunOnAfterItemCopied(var CopyItemBuffer: Record "Copy Item Buffer") (integration)
  • OnBeforeInitSeries(var Item: Record Item; var InventorySetup: Record "Inventory Setup") (integration)
  • OnBeforeCopyItemVariants(var TempCopyItemBuffer: Record "Copy Item Buffer" temporary; FromItemNo: Code[20]; ToItemNo: Code[20]; var IsHandled: Boolean) (integration)
  • OnCopyItemPriceListLinesOnAfterPriceListLineSetFilters(var PriceListLine: Record "Price List Line") (integration)
  • OnCopyItemOnBeforeTargetItemInsert(SourceItem: Record Item; var TargetItem: Record Item; CopyCounter: Integer; var CopyItemBuffer: Record "Copy Item Buffer") (integration)
  • OnCopyItemPriceListLinesOnBeforeInsertNewPriceListLine(var NewPriceListLine: Record "Price List Line"; PriceListLine: Record "Price List Line") + BC26 (integration)

Procedures

  • DoCopyItem()
  • SetCopyItemBuffer(NewCopyItemBuffer: Record "Copy Item Buffer" temporary)
  • CopyItem(CopyCounter: Integer)
  • CopyItemRelatedTable(TableId: Integer; FieldNo: Integer; FromItemNo: Code[20]; ToItemNo: Code[20])
  • CopyItemRelatedTableFromRecRef(var SourceRecRef: RecordRef; FieldNo: Integer; FromItemNo: Code[20]; ToItemNo: Code[20])
  • ShowCreatedItems(var ItemCopiedNotification: Notification) + BC27
  • GetNewItemNo(var NewFirstItemNo: Code[20]; var NewLastItemNo: Code[20])

Plus 24 local procedures.

Triggers

OnRun

Relations

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

Recent changes

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: "Copy Item"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources