Codeunit 4019 "GP Item Migrator"
HybridGP · Microsoft.DataMigration.GP
Across versions
- BC23-28not present
- BC29-30present
Neighbourhood 8 connected objects and pages
HybridGP · Microsoft.DataMigration.GP · BC29-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| TableNo | GP Item |
Events published
OnBeforeGetMaxItemBatchLineCount(var IsHandled: Boolean; var NewMaxLineCount: Integer)(integration)
Event subscriptions
- OnMigrateItem subscribes to Codeunit “Item Data Migration Facade” OnMigrateItem
- OnMigrateItemPostingGroups subscribes to Codeunit “Item Data Migration Facade” OnMigrateItemPostingGroups
- OnMigrateInventoryTransactions subscribes to Codeunit “Item Data Migration Facade” OnMigrateInventoryTransactions
Procedures
MigrateItemImp(var Sender: Codeunit "Item Data Migration Facade"; RecordIdToMigrate: RecordId)(internal)MigrateItemPostingGroupsImp(var Sender: Codeunit "Item Data Migration Facade"; RecordIdToMigrate: RecordId; ChartOfAccountsMigrated: Boolean)(internal)MigrateInventoryTransactionsImp(var Sender: Codeunit "Item Data Migration Facade"; RecordIdToMigrate: RecordId; ChartOfAccountsMigrated: Boolean)(internal)MigrateKitItems()(internal)CreateItemCategories()(internal)CreateItemCategoryImp(var Item: Record Item)(internal)MigrateItem(var Sender: Codeunit "Item Data Migration Facade"; RecordIdToMigrate: RecordId)(obsolete 28.0: Should not call this procedure directly.)MigrateItemDetails(var GPItem: Record "GP Item"; ItemDataMigrationFacade: Codeunit "Item Data Migration Facade")(obsolete 28.0: Should not call this procedure directly.)MigrateItemPostingGroups(var Sender: Codeunit "Item Data Migration Facade"; RecordIdToMigrate: RecordId; ChartOfAccountsMigrated: Boolean)(obsolete 28.0: Should not call this procedure directly.)MigrateInventoryTransactions(var Sender: Codeunit "Item Data Migration Facade"; RecordIdToMigrate: RecordId; ChartOfAccountsMigrated: Boolean)(obsolete 28.0: Should not call this procedure directly.)MigrateItemInventoryPostingGroup(GPItem: Record "GP Item"; var Sender: Codeunit "Item Data Migration Facade")(obsolete 28.0: Should not call this procedure directly.)MigrateItemClassesIfNeeded(var GPItem: Record "GP Item"; var ItemDataMigrationFacade: Codeunit "Item Data Migration Facade")(obsolete 28.0: Should not call this procedure directly.)
Plus 21 local procedures.
Relations
- runs on Table 4095 “GP Item”
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.
- Codeunit 6113 “Item Data Migration Facade” (23 calls:
CreateDefaultInventoryPostingGroup → CreateInventoryPostingSetupIfNeeded,CreateDefaultInventoryPostingGroup → SetInventoryPostingSetupInventoryAccount,CreateGeneralPostingSetup → CreateGeneralProductPostingSetupIfNeeded, …) - Codeunit 1796 “Data Migration Error Logging” (7 calls:
CreateDefaultInventoryPostingGroup → SetLastRecordUnderProcessing,CreateInventoryPostingGroup → SetLastRecordUnderProcessing,CreateItemJnlLine → SetLastRecordUnderProcessing, …) - Codeunit 4037 “Helper Functions” (7 calls:
ApplyGenPostingSetupCommonAccounts → GetPostingAccountNumber,CanAddGenProductPostingAccount → GetGPAccountNumberByIndex,CreateDefaultInventoryPostingGroup → GetPostingAccountNumber, …) - Codeunit 99000830 “Create Reserv. Entry” (2 calls:
CreateNewItemTrackingLinesIfNecessary → CreateEntry,CreateNewItemTrackingLinesIfNecessary → CreateReservEntryFor) - Codeunit 1327 “Adjust Item Inventory” (1 call:
CreateItemJnlLine → SelectItemTemplateForAdjustment) - Codeunit 6101 “Data Migration Status Facade” (1 call:
DecrementMigratedCount → IncrementMigratedRecordCount) - Codeunit 99000835 “Item Jnl. Line-Reserve” (1 call:
CreateNewItemTrackingLinesIfNecessary → InitFromItemJnlLine)
Called by
- Codeunit 4037 “Helper Functions” (2 calls:
CreateItemCategories → CreateItemCategories,CreateKitItems → MigrateKitItems)
Recent changes
- 2026-09-11 #9363 GP - Updates 202607 (main, BC30, fix)
Deprecations
- procedure MigrateInventoryTransactions: Pending 28.0 (#if not CLEAN28), “Should not call this procedure directly.”
- procedure MigrateItem: Pending 28.0 (#if not CLEAN28), “Should not call this procedure directly.”
- procedure MigrateItemClassesIfNeeded: Pending 28.0 (#if not CLEAN28), “Should not call this procedure directly.”
- procedure MigrateItemDetails: Pending 28.0 (#if not CLEAN28), “Should not call this procedure directly.”
- procedure MigrateItemInventoryPostingGroup: Pending 28.0 (#if not CLEAN28), “Should not call this procedure directly.”
- procedure MigrateItemPostingGroups: Pending 28.0 (#if not CLEAN28), “Should not call this procedure directly.”
Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).
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: "GP Item Migrator"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.