Codeunit 47023 "SL Helper Functions"
HybridSL · Microsoft.DataMigration.SL
Across versions
- BC23-28not present
- BC29-30present
Neighbourhood 16 connected objects and pages
HybridSL · Microsoft.DataMigration.SL · BC29-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Permissions | tabledata “Dimension Set Entry” = rimd, tabledata “G/L Account” = rimd, tabledata “G/L Entry” = rimd, tabledata Customer = rimd, tabledata “Cust. Ledger Entry” = rimd, tabledata Dimension = rimd, tabledata “Dimension Value” = rimd, tabledata “Detailed Cust. Ledg. Entry” = rimd, tabledata Vendor = ri… |
Events published
OnSkipPostingGLAccounts(var SkipPosting: Boolean)(integration)OnSkipPostingItemBatches(var SkipPosting: Boolean)(integration)OnSkipPostingAccountBatches(var SkipPosting: Boolean)(integration)OnSkipPostingCustomerBatches(var SkipPosting: Boolean)(integration)OnSkipPostingVendorBatches(var SkipPosting: Boolean)(integration)
Procedures
GetPostingAccountNumber(AccountToGet: Text): Code[20]GetDimSetIDByFullSubaccount(Subaccount: Text[24]): IntegerGetMigrationTypeTxt(): Text[250]GetNumberOfAccounts(): Integer(internal)GetNumberOfCustomers(): Integer(internal)GetNumberOfItems(): Integer(internal)GetNumberOfVendors(): Integer(internal)NameFlip(Value: Text): Text(internal)ConvertAccountCategory(SLAccountStaging: Record "SL Account Staging"): Option(internal)ConvertDebitCreditType(SLAccountStaging: Record "SL Account Staging"): Option(internal)ConvertIncomeBalanceType(SLAccountStaging: Record "SL Account Staging"): Option(internal)ResetAdjustforPaymentInGLSetup(var Flag: Boolean)(internal)CreateDimensions()(internal)CheckDimensionName(Name: Text[50]): Code[20](internal)CreateDimensionValues()(internal)GetTelemetryCategory(): Text(internal)SetDimensionsCreated()(internal)PostGLTransactions()(internal)SafePostItemBatch(ItemJournalBatch: Record "Item Journal Batch")(internal)SafePostGLBatch(JournalBatchName: Code[10])(internal)RemoveBatches()(internal)LogWarningAndClearLastError(ContextValue: Text[50])(internal)GLBatchHasLines(TemplateName: Code[10]; BatchName: Code[10]; AccountType: Enum "Gen. Journal Account Type"): Boolean(internal)SetGlobalDimensions(GlobalDim1: Code[20]; GlobalDim2: Code[20])(internal)CheckPluralization(var GlobalDim: Code[20])(internal)SetShortcutDimenions()(internal)UpdateGlobalDimensionNo()(internal)GetGlobalDimensionNo(DimensionCode: Code[20]): Integer(internal)GetSLSegmentsIdBySegmentNumber(SegmentNumber: Integer): Text[20](internal)SetProcessesRunning(IsRunning: Boolean)(internal)CreateItemTrackingCodes()(internal)SetItemTrackingCodesCreated()(internal)CreateLocations()(internal)SetLocationsCreated()(internal)CreateBankAccounts()(internal)CreateOpenPurchaseOrders()(internal)CreateOpenSalesOrders()(internal)CreateProjectData()(internal)CreateUnitOfMeasureIfNeeded(CodeToSet: Code[10]; DescriptionToSet: Text[50])(internal)DeleteExistingCustomerPostingGroups()(internal)DeleteExistingGeneralPostingSetups()(internal)DeleteExistingGenProductPostingGroups()(internal)DeleteExistingInventoryPostingSetups()(internal)DeleteExistingInventoryPostingGroups()(internal)DeleteExistingVendorPostingGroups()(internal)CheckAndLogErrors()(internal)LogError(LastErrorMessage: Text)(internal)GetLastError()(internal)RunPreMigrationCleanup()(internal)CreatePreMigrationData(): Boolean(internal)CreatePostMigrationData(): Boolean(internal)LogPostMigrationDataMessage(PostMigrationType: Code[30]; TableRef: Text[30]; MessageCode: Text[100]; MessageText: Text[250])CheckMigrationStatus()(internal)CreateDataMigrationErrorRecord(ErrorMessage: Text[250])(internal)DimensionsCreated(): Boolean(internal)ItemTrackingCodesCreated(): Boolean(internal)LocationsCreated(): Boolean(internal)CashManagerDataCreated(): Boolean(internal)OpenPODataCreated(): Boolean(internal)OpenSODataCreated(): Boolean(internal)ProjectDataCreated(): Boolean(internal)SetBankAccountsCreated()(internal)SetOpenPOsCreated()(internal)SetOpenSOsCreated()(internal)SetProjectDataCreated()(internal)
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 1796 “Data Migration Error Logging” (4 calls:
CreateDimensions → SetLastRecordUnderProcessing,LogError → ClearLastRecordUnderProcessing,LogError → GetFullListOfLastRecordsUnderProcessingAsText, …) - Codeunit 47000 “SL Account Migrator” (2 calls:
GetDimSetIDByFullSubaccount → CreateDimSetFromSubSegments,GetDimSetIDByFullSubaccount → GetSegmentValueFromSubaccount) - Codeunit 13 “Gen. Jnl.-Post Batch” (1 call:
SafePostGLBatch → (object)) - Codeunit 23 “Item Jnl.-Post Batch” (1 call:
SafePostItemBatch → (object)) - Codeunit 47002 “SL Populate Account History” (1 call:
GetDimSetIDByFullSubaccount → GetNumberOfSegments) - Codeunit 47006 “SL Project Migrator” (1 call:
CreateProjectData → MigrateProjectModule) - Codeunit 47007 “SL SO Migrator” (1 call:
CreateOpenSalesOrders → MigrateOpenSalesOrders) - Codeunit 47010 “SL Cash Manager Migrator” (1 call:
CreateBankAccounts → MigrateCashManagerModule) - Codeunit 47011 “SL PO Migrator” (1 call:
CreateOpenPurchaseOrders → MigrateOpenPurchaseOrders)
Called by
- Codeunit 47001 “SL Cloud Migration” (22 calls:
CreateDataMigrationStatusRecords → GetMigrationTypeTxt,InitiateSLMigration → CreatePreMigrationData,InitiateSLMigration → DeleteExistingCustomerPostingGroups, …) - Codeunit 47005 “SL Wizard Integration” (8 calls:
OnAfterMigrationFinishedSubscriber → PostGLTransactions,OnAfterMigrationFinishedSubscriber → SetProcessesRunning,RegisterSLDataMigrator → GetLastError, …) - Codeunit 47000 “SL Account Migrator” (6 calls:
CreateDimSet → GetSLSegmentsIdBySegmentNumber,CreateDimSetFromSubSegments → GetSLSegmentsIdBySegmentNumber,MigrateAccountDetails → ConvertAccountCategory, …) - Codeunit 47010 “SL Cash Manager Migrator” (5 calls:
CreateBankAccount → LogPostMigrationDataMessage,CreateBankTransactions → GetDimSetIDByFullSubaccount,CreateBankTransactions → LogPostMigrationDataMessage, …) - Codeunit 47007 “SL SO Migrator” (3 calls:
CreateLines → LogPostMigrationDataMessage,GetSalesOrderDimSetID → GetDimSetIDByFullSubaccount,MigrateOpenSalesOrderData → LogPostMigrationDataMessage) - Codeunit 47006 “SL Project Migrator” (2 calls:
CreateEquipmentResource → NameFlip,CreateResource → NameFlip) - Codeunit 47011 “SL PO Migrator” (2 calls:
CreateItemUnitOfMeasure → CreateUnitOfMeasureIfNeeded,CreateLines → GetDimSetIDByFullSubaccount) - Codeunit 47013 “SL Hybrid Management” (2 calls:
InitializationofSLSynchronization → GetTelemetryCategory,UpdateStatusOnHybridReplicationCompleted → GetTelemetryCategory) - Codeunit 47018 “SL Customer Migrator” (2 calls:
DecrementMigratedCount → GetMigrationTypeTxt,MigrateCustomerDetails → NameFlip) - Codeunit 47021 “SL Vendor Migrator” (2 calls:
DecrementMigratedCount → GetMigrationTypeTxt,MigrateVendorDetails → NameFlip) - Codeunit 47024 “SL Migration Error Handler” (1 call:
UpdateErrorOverview → GetMigrationTypeTxt) - Codeunit 47026 “SL Item Migrator” (1 call:
DecrementMigratedCount → GetMigrationTypeTxt)
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: "SL Helper Functions"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.