Codeunit 1917 "MigrationQB Helper Functions"
QBMigration
Across versions
- BC23-28not present
- BC29-30present
Neighbourhood 17 connected objects and pages
QBMigration · BC29-30 · source at ea08af5e · facts from BC29
Procedures
GetEntities(EntityName: Text; var JArray: JsonArray): BooleanGetEntities(QBQuery: Text; EntityName: Text; var JArray: JsonArray): BooleanGetObjectCount(EntityName: Text; var ObjectCount: Integer)GetOnlineRecordCounts(): BooleanGetTextFromJToken(JToken: JsonToken; Path: Text): TextWriteTextToField(var DestinationFieldRef: FieldRef; TextToWrite: Text)FixDateFormat(DateToFix: Text): TextGetFileNameByEntityName(EntityName: Text): TextUpdateFieldValue(var RecordVariant: Variant; FieldNo: Integer; JObject: JsonObject; PropertyName: Text)UpdateFieldWithValue(var RecordVariant: Variant; FieldNo: Integer; Value: Text[30])UpdateFieldValueByPath(var RecordVariant: Variant; FieldNo: Integer; JObject: JsonObject; PropertyPath: Text)GetFieldValueByPath(FieldNo: Integer; JObject: JsonObject; PropertyPath: Text): TextTrimStringQuotes(Value: Text): TextGetPostingAccountNumber(AccountToGet: Text): Code[20]ConvertAccountCategory(MigrationQBAccount: Record "MigrationQB Account"): OptionConvertDebitCreditType(MigrationQBAccount: Record "MigrationQB Account"): OptionCreateCountyIfNeeded(CountryCode: Code[10]; CountryName: Text[50])GetArrayPropertyValueFromJObjectByName(JObject: JsonObject; PropertyName: Text; var JArray: JsonArray): BooleanCleanupGenJournalBatches()CleanupVatPostingSetup()GetAcctCategoryEntryNo(Category: Option): IntegerIsOnlineData(): BooleanCleanupStagingTables()CleanupIsolatedStorage()GetMigrationTypeTxt(): Text[10]FormatGuid(myGuid: text): TextGetPropertyFromCode(CodeTxt: Text; Property: Text): TextGetAuthRequestUrl(ClientId: SecretText; ClientSecret: SecretText; Scope: Text; Url: Text; CallBackUrl: Text; State: Text; var AuthRequestUrl: Text)GetAccessToken(Url: Text; Callback: Text; AuthCode: SecretText; ClientId: SecretText; ClientSecret: SecretText; var AccessKey: SecretText)
Plus 12 local procedures.
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 10 “Type Helper” (2 calls:
WriteTextToField → Evaluate,WriteTextToField → GetOptionNo) - Codeunit 4100 “Temp Blob” (2 calls:
WriteTextToField → CreateOutStream,WriteTextToField → ToRecordRef) - Codeunit 570 “G/L Account Category Mgt.” (1 call:
GetAcctCategoryEntryNo → GetAccountCategory) - Codeunit 6112 “Customer Data Migration Facade” (1 call:
CreateCountyIfNeeded → CreateCountryIfNeeded) - Codeunit 9015 “Application System Constants” (1 call:
ValidateCountry → ApplicationVersion)
Called by
- Codeunit 1912 “MigrationQB Customer Migrator” (28 calls:
GetAll → GetEntities,GetCreditMemosFromJson → GetTextFromJToken,GetCreditMemosFromJson → TrimStringQuotes, …) - Codeunit 1913 “MigrationQB Vendor Migrator” (16 calls:
GetAll → GetEntities,GetInvoicesFromJson → GetTextFromJToken,GetInvoicesFromJson → TrimStringQuotes, …) - Codeunit 1911 “MigrationQB Account Migrator” (9 calls:
GetAccountsFromJson → GetTextFromJToken,GetAccountsFromJson → TrimStringQuotes,GetAll → GetEntities, …) - Page 1830 “MS - QBO Data Migration” (8 calls:
CompleteAuthorizationProcess → GetAccessToken,CompleteAuthorizationProcess → GetMigrationTypeTxt,CompleteAuthorizationProcess → GetOnlineRecordCounts, …) - Codeunit 1920 “MigrationQB Item Migrator” (7 calls:
GetAll → GetEntities,GetItemsFromJson → GetTextFromJToken,GetItemsFromJson → TrimStringQuotes, …) - Codeunit 1830 “MigrateQBO Wizard Integration” (5 calls:
OnAfterMigrationFinishedSubscriber → GetMigrationTypeTxt,OnApplySelectedDataApplyQBData → CleanupGenJournalBatches,OnApplySelectedDataApplyQBData → CleanupVatPostingSetup, …) - Codeunit 1919 “MigrationQB Data Reader” (5 calls:
OnEmptyZipFileSubscriber → GetMigrationTypeTxt,OnExtractFolderMissingSubscriber → GetMigrationTypeTxt,OnFileMissinggSubscriber → GetMigrationTypeTxt, …) - Codeunit 1914 “MigrationQB Wizard Integration” (4 calls:
OnApplySelectedDataApplyQBData → CleanupGenJournalBatches,OnApplySelectedDataApplyQBData → CleanupVatPostingSetup,OnGetInstructionsGetQBInstructions → GetMigrationTypeTxt, …) - Codeunit 1915 “MigrationQB Dashboard Mgt” (4 calls:
InitMigrationStatus → GetMigrationTypeTxt,OnAllStepsCompletedSubscriber → CleanupIsolatedStorage,OnAllStepsCompletedSubscriber → CleanupStagingTables, …) - Codeunit 1916 “MigrationQB Mgt” (2 calls:
ApplySelectedData → GetMigrationTypeTxt,OnZipFileMissingSubscriber → GetMigrationTypeTxt) - Codeunit 1918 “MigrationQB Data Loader” (2 calls:
FillStagingTables → GetMigrationTypeTxt,FillStagingTables → IsOnlineData) - Page 1919 “MigrationQB Default Accounts” (1 call:
UofMRequired → GetObjectCount)
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: "MigrationQB Helper Functions"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.