Codeunit 8611 Config. Package Management

Base Application, System.IO

src/Layers/W1/BaseApp/System/RapidStart/ConfigPackageManagement.Codeunit.al86 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

OnRun line 15, trigger

  1. 19callsInsertPackageRecord

InsertPackage line 73

  1. 78writesTable 8623 Config. Package Insert

InsertPackageTable line 81

  1. 85validatesTable 8613 Config. Package Table Package Code
  2. 86validatesTable 8613 Config. Package Table Table ID
  3. 87writesTable 8613 Config. Package Table Insert(true)

InsertPackageTableWithoutValidation line 91

  1. 97writesTable 8613 Config. Package Table Insert

InsertPackageField line 101

  1. 107validatesTable 8616 Config. Package Field Package Code
  2. 108validatesTable 8616 Config. Package Field Table ID
  3. 109validatesTable 8616 Config. Package Field Dimension
  4. 110raisesOnInsertPackageFieldOnBeforeValidateFieldID
  5. 111validatesTable 8616 Config. Package Field Field ID
  6. 112validatesTable 8616 Config. Package Field Field Name
  7. 114callsCodeunit 8617 Config. Validate Management IsKeyField
  8. 117raisesOnInsertPackageFieldOnAfterCalcSkipRelationTableID
  9. 119callsCodeunit 8617 Config. Validate Management GetRelationTableID
  10. 121callsValidateException
  11. 127raisesOnInsertPackageFieldOnBeforeInsert
  12. 128writesTable 8616 Config. Package Field Insert

InsertPackageFilter line 132

  1. 136validatesTable 8626 Config. Package Filter Package Code
  2. 137validatesTable 8626 Config. Package Filter Table ID
  3. 138validatesTable 8626 Config. Package Filter Processing Rule No.
  4. 139validatesTable 8626 Config. Package Filter Field ID
  5. 140validatesTable 8626 Config. Package Filter Field Filter
  6. 141writesTable 8626 Config. Package Filter Insert
  7. 145writesTable 8626 Config. Package Filter Modify

InsertPackageRecord line 149

  1. 159callsCodeunit 8616 Config. Management IsSystemTable
  2. 164callsIsImportAllowed
  3. 174raisesOnInsertPackageRecordOnAfterDelayedInsertIsHandled
  4. 178callsInsertPrimaryKeyFields
  5. 181callsModifyRecordDataFields
  6. 184callsUpdateKeyInfoForConfigPackageRecord

InsertPackageData line 187

  1. 197writesTable 8615 Config. Package Data Insert
  2. 201writesTable 8615 Config. Package Data Modify

InsertProcessingRule line 205

  1. 207validatesTable 8631 Config. Table Processing Rule Package Code
  2. 208validatesTable 8631 Config. Table Processing Rule Table ID
  3. 209validatesTable 8631 Config. Table Processing Rule Rule No.
  4. 210validatesTable 8631 Config. Table Processing Rule Action
  5. 211writesTable 8631 Config. Table Processing Rule Insert(true)

InsertProcessingRuleCustom line 214

  1. 216validatesTable 8631 Config. Table Processing Rule Package Code
  2. 217validatesTable 8631 Config. Table Processing Rule Table ID
  3. 218validatesTable 8631 Config. Table Processing Rule Rule No.
  4. 219validatesTable 8631 Config. Table Processing Rule Action
  5. 220validatesTable 8631 Config. Table Processing Rule Custom Processing Codeunit ID
  6. 221writesTable 8631 Config. Table Processing Rule Insert(true)

SetSkipTableTriggers line 224

  1. 227validatesTable 8613 Config. Package Table Skip Table Triggers
  2. 228writesTable 8613 Config. Package Table Modify(true)

InsertPrimaryKeyFields line 242, local

  1. 256callsGetKeyFieldsOrder
  2. 257callsGetFieldsMarkedAsPrimaryKey
  3. 270raisesOnInsertPrimaryKeyFieldsOnBeforeUpdateValueUsingMappingIsHandled
  4. 272callsUpdateValueUsingMapping
  5. 274callsCodeunit 8617 Config. Validate Management EvaluateTextToFieldRef
  6. 298callsInsertRecord

UpdateKeyInfoForConfigPackageRecord line 304, local

  1. 318writesTable 8615 Config. Package Data Modify

InitPackageRecord line 322

  1. 338writesTable 8614 Config. Package Record Insert

InsertRecord line 341, local

  1. 350raisesOnInsertRecordOnBeforeInsertRecRefIsHandled
  2. 355callsCodeunit 8622 Config. Insert With Validation SetInsertParameters
  3. 356runsCodeunit 8622 Config. Insert With Validation

ModifyRecordDataFields line 364, local

  1. 375raisesOnBeforeModifyRecordDataFields
  2. 385callsApplyTemplate
  3. 387raisesOnModifyRecordDataFieldsOnBeforeFindConfigPackageField
  4. 400callsModifyRecordDataField
  5. 411raisesOnModifyRecordDataFieldsOnBeforeRecRefInsertIsHandled
  6. 416raisesOnModifyRecordDataFieldsOnBeforeRecRefModifyIsHandled
  7. 419raisesOnModifyRecordDataFieldsOnAfterRecRefModify
  8. 423raisesOnModifyRecordDataFieldsOnAfterRecRefUpdated
  9. 428callsSetFieldFilter
  10. 430callsCodeunit 8610 Questionnaire Management ModifyConfigQuestionAnswer

ModifyRecordDataField line 434, local

  1. 450callsIsTemplateField
  2. 454raisesOnModifyRecordDataFieldOnBeforeUpdateValueUsingMappingIsHandled
  3. 456callsUpdateValueUsingMapping
  4. 458callsGetCachedConfigPackageField
  5. 460raisesOnModifyRecordDataFieldOnAfterGetCachedConfigPackageFieldIsHandled
  6. 463callsIsBLOBFieldInternal
  7. 464callsEvaluateBLOBToFieldRef
  8. 465callsIsMediaSetFieldInternal
  9. 466callsImportMediaSetFiles
  10. 467callsIsMediaFieldInternal
  11. 468callsImportMediaFiles
  12. 471raisesOnModifyRecordDataFieldOnBeforeEvaluateTextToFieldRef
  13. 473callsCodeunit 8617 Config. Validate Management EvaluateTextToFieldRef

ApplyTemplate line 497, local

  1. 503callsCodeunit 8612 Config. Template Management UpdateRecord
  2. 504callsInsertDimensionsFromTemplates

InsertDimensionsFromTemplates line 508, local

  1. 518callsTable 1302 Dimensions Template InsertDimensionsFromTemplates

ValidatePackageRelations line 550

  1. 555callsSetupProcessingOrder
  2. 559callsCodeunit 8615 Config. Progress Bar Init
  3. 561writesTable 8613 Config. Package Table ModifyAll
  4. 568callsCodeunit 8615 Config. Progress Bar Update
  5. 569callsValidateTableRelation
  6. 574writesTable 8613 Config. Package Table Insert
  7. 576writesTable 8613 Config. Package Table Modify
  8. 579callsCodeunit 8615 Config. Progress Bar Close

ValidateTableRelation line 585, local

  1. 598callsInsertPrimaryKeyFields
  2. 606callsValidateFieldRelationInRecord

ValidateFieldRelationInRecord line 612

  1. 626callsValidatePackageDataRelation

ValidateSinglePackageDataRelation line 632

  1. 642callsInsertPrimaryKeyFields
  2. 644callsValidatePackageDataRelation

ValidatePackageDataRelation line 647, local

  1. 656callsGetRelationInfo
  2. 658callsValidateFieldRelationAgainstPackageData
  3. 661raisesOnAfterValidatePackageDataRelation
  4. 665callsValidateFieldRelationAgainstCompanyData
  5. 668callsFieldError
  6. 674callsPackageErrorsExists
  7. 675callsCleanFieldError

ValidateException line 679

  1. 684raisesOnBeforeValidateExceptionIsHandled

ShowWarningOnImportingBigConfPackageFromExcel line 729, internal

  1. 731callsShowWarningOnImportingBigConfPackage

ShowWarningOnImportingBigConfPackageFromRapidStart line 734, internal

  1. 736callsShowWarningOnImportingBigConfPackage

ShowWarningOnImportingBigConfPackage line 739, local

  1. 745callsCodeunit 457 Environment Information IsSaaS
  2. 751callsPage 8637 Config. Package Warning SwitchContextToImport
  3. 753callsPage 8637 Config. Package Warning GetAction
  4. 755callsPage 8637 Config. Package Warning GetAction

ShowWarningOnApplyingBigConfPackage line 760, internal

  1. 766callsCodeunit 457 Environment Information IsSaaS
  2. 772callsPage 8637 Config. Package Warning SwitchContextToApply
  3. 774callsPage 8637 Config. Package Warning GetAction
  4. 776callsPage 8637 Config. Package Warning GetAction

SentPackageImportedNotification line 781, internal

  1. 789callsTable 1518 My Notifications IsEnabled
  2. 789callsGetPackageImportedNotificationId
  3. 792callsGetPackageImportedNotificationId

ApplyPackageFromNotification line 807, internal

  1. 820callsCodeunit 8611 Config. Package Management ApplyPackage

DisableNotification line 823, internal

  1. 827callsTable 1518 My Notifications InsertDefault
  2. 828callsTable 1518 My Notifications Disable

ShowRapidStartNotification line 831, internal

  1. 836callsCodeunit 457 Environment Information IsSaaS
  2. 839callsIsExistingCompany

GetRelationInfo line 874, local

  1. 918callsCodeunit 8617 Config. Validate Management GetRelationInfoByIDs

ValidateFieldRelationAgainstCompanyData line 922, local

  1. 930callsModifyRecordDataField
  2. 933callsCodeunit 8617 Config. Validate Management EvaluateValue
  3. 935callsGetFieldsOrderInternal
  4. 937callsValidateFieldRefRelationAgainstCompanyDataAndPackage

ValidateFieldRelationAgainstPackageData line 941

  1. 951callsCodeunit 8617 Config. Validate Management IsRelationInKeyFields

RecordError line 971

  1. 990callsGetRecordIDOfRecordError
  2. 992writesTable 8617 Config. Package Error Insert
  3. 993writesTable 8617 Config. Package Error Modify
  4. 995writesTable 8614 Config. Package Record Modify

FieldError line 998

  1. 1019callsGetRecordIDOfRecordError
  2. 1021writesTable 8617 Config. Package Error Insert
  3. 1022writesTable 8617 Config. Package Error Modify
  4. 1025writesTable 8615 Config. Package Data Modify
  5. 1029writesTable 8614 Config. Package Record Modify

CleanRecordError line 1032

  1. 1039writesTable 8617 Config. Package Error DeleteAll

CleanFieldError line 1042

  1. 1049writesTable 8617 Config. Package Error Delete
  2. 1051writesTable 8615 Config. Package Data Modify
  3. 1054callsIsRecordErrorsExists
  4. 1057writesTable 8614 Config. Package Record Modify

CleanPackageErrors line 1062

  1. 1070writesTable 8617 Config. Package Error DeleteAll

ApplyConfigLines line 1093

  1. 1103callsCodeunit 8616 Config. Management MakeTableFilter
  2. 1109callsApplyPackage

ApplyPackage line 1112

  1. 1132callsCodeunit 8703 Feature Telemetry LogUptake
  2. 1140callsShowWarningOnApplyingBigConfPackage
  3. 1142callsCodeunit 8623 Dimensions Notifications ConfirmPackageHasDimensionsWarning
  4. 1162raisesOnApplyPackageOnBeforeCleanPackageErrorsIsHandled
  5. 1166callsCleanPackageErrors
  6. 1169callsSetupProcessingOrder
  7. 1176callsCodeunit 8616 Config. Management IsDimSetIDTable
  8. 1180callsUpdateDimSetIDValues
  9. 1182callsDeleteAppliedPackageRecords
  10. 1185raisesOnApplyPackageOnAfterCommit
  11. 1187writesTable 8614 Config. Package Record DeleteAll
  12. 1188writesTable 8632 Config. Record For Processing DeleteAll
  13. 1194callsApplyPackageTables
  14. 1195callsApplyPackageTables
  15. 1206callsApplyPackageTables
  16. 1207callsApplyPackageTables
  17. 1219callsApplyPackageTables
  18. 1220callsApplyPackageTables
  19. 1222callsProcessAppliedPackageRecords
  20. 1224callsDeleteAppliedPackageRecords
  21. 1231callsMaxInt
  22. 1241callsCodeunit 8703 Feature Telemetry LogUsage

ApplyPackageTables line 1247, local

  1. 1254callsCodeunit 8615 Config. Progress Bar Init
  2. 1261raisesOnApplyPackageTablesOnFilterConfigPackageRecord
  3. 1263callsCodeunit 8615 Config. Progress Bar Update
  4. 1264callsIsTableErrorsExists
  5. 1265callsApplyPackageRecords
  6. 1270callsCodeunit 8615 Config. Progress Bar Close

ApplySelectedPackageRecords line 1273

  1. 1275writesTable 8614 Config. Package Record DeleteAll
  2. 1276writesTable 8632 Config. Record For Processing DeleteAll
  3. 1278callsApplyPackageRecords
  4. 1279callsApplyPackageRecords
  5. 1281callsProcessAppliedPackageRecords
  6. 1282callsDeleteAppliedPackageRecords

ApplyPackageRecords line 1285, local

  1. 1299raisesOnBeforeApplyPackageRecordsIsHandled
  2. 1302callsTable 8631 Config. Table Processing Rule FindTableRules
  3. 1304callsCodeunit 8611 Config. Package Management SetApplyMode
  4. 1309callsCodeunit 8615 Config. Progress Bar Init
  5. 1322callsIsRecordErrorsExistsInPrimaryKeyFields
  6. 1323runsCodeunit 8611 Config. Package Management
  7. 1324callsIsRecordErrorsExists
  8. 1325callsCollectAppliedPackageRecord
  9. 1327callsCollectRecordForProcessingAction
  10. 1331callsCodeunit 8611 Config. Package Management RecordError
  11. 1332callsCodeunit 8611 Config. Package Management GetValidationFieldID
  12. 1336callsCodeunit 8611 Config. Package Management GetNumberOfRecordsInserted
  13. 1337callsCodeunit 8611 Config. Package Management GetNumberOfRecordsModified
  14. 1340callsCodeunit 8615 Config. Progress Bar Update
  15. 1345callsCodeunit 8615 Config. Progress Bar Close
  16. 1347raisesOnAfterApplyPackageRecords

CollectRecordForProcessingAction line 1350, local

  1. 1354callsTable 8614 Config. Package Record FitsProcessingFilter
  2. 1355callsTable 8632 Config. Record For Processing AddRecord

CollectAppliedPackageRecord line 1359, local

  1. 1363writesTable 8614 Config. Package Record Insert

DeleteAppliedPackageRecords line 1366, local

  1. 1373writesTable 8614 Config. Package Record Delete(true)
  2. 1375writesTable 8614 Config. Package Record DeleteAll

ApplyConfigTables line 1379

  1. 1391callsSetHideDialog
  2. 1392callsApplyPackageTables
  3. 1393callsApplyPackageTables
  4. 1394callsDeleteAppliedPackageRecords

ProcessAppliedPackageRecords line 1398, local

  1. 1403raisesOnPreProcessPackage
  2. 1406callsTable 8631 Config. Table Processing Rule Process
  3. 1407callsTable 8632 Config. Record For Processing FindConfigRecord
  4. 1408callsRecordError
  5. 1409writesTable 8614 Config. Package Record Delete
  6. 1413writesTable 8632 Config. Record For Processing DeleteAll
  7. 1414raisesOnPostProcessPackage

SetFieldFilter line 1422

  1. 1427raisesOnBeforeSetFieldFilterIsHandled

SelectAllPackageFields line 1448

  1. 1459callsValidateException
  2. 1460writesTable 8616 Config. Package Field Modify

SetupProcessingOrder line 1466

  1. 1473raisesOnBeforeSetupProcessingOrderIsHandled
  2. 1485writesTable 8613 Config. Package Table Modify
  3. 1491callsSetupTableProcessingOrder
  4. 1493writesTable 8613 Config. Package Table DeleteAll

SetupTableProcessingOrder line 1498, local

  1. 1515writesTable 8613 Config. Package Table Insert
  2. 1527callsMaxInt
  3. 1529callsClearFieldBranchCheckingHistory
  4. 1535callsMaxInt
  5. 1535callsSetupCommentLineProcessingOrder
  6. 1539callsAdjustProcessingOrder
  7. 1540writesTable 8613 Config. Package Table Modify

SetupCommentLineProcessingOrder line 1546, local

  1. 1560callsSetupTableProcessingOrder
  2. 1563callsMaxInt
  3. 1564callsClearFieldBranchCheckingHistory

ClearFieldBranchCheckingHistory line 1597, local

  1. 1601writesTable 8613 Config. Package Table DeleteAll

GetDimSetID line 1612, local

  1. 1629validatesTable 36950 Dimension Set Entry Dimension Code
  2. 1633validatesTable 36950 Dimension Set Entry Dimension Value Code
  3. 1635writesTable 36950 Dimension Set Entry Insert
  4. 1639callsCodeunit 408 DimensionManagement GetDimensionSetID

GetDimSetIDForRecord line 1642

  1. 1657callsCodeunit 8616 Config. Management DimensionFieldID
  2. 1657callsCodeunit 8616 Config. Management DimensionFieldID
  3. 1666validatesTable 36950 Dimension Set Entry Dimension Code
  4. 1668validatesTable 36950 Dimension Set Entry Dimension Value Code
  5. 1669writesTable 36950 Dimension Set Entry Insert
  6. 1671callsCodeunit 8611 Config. Package Management FieldError
  7. 1679callsCodeunit 408 DimensionManagement GetDimensionSetID

UpdateDimSetIDValues line 1682, local

  1. 1693callsApplyPackageTables
  2. 1694callsApplyPackageTables
  3. 1709callsCodeunit 8615 Config. Progress Bar Init
  4. 1714callsCodeunit 8615 Config. Progress Bar Update
  5. 1716callsGetDimSetID
  6. 1717writesTable 8615 Config. Package Data Modify
  7. 1721callsCodeunit 8615 Config. Progress Bar Close

UpdateDefaultDimValues line 1725

  1. 1742callsCodeunit 8616 Config. Management DimensionFieldID
  2. 1742callsCodeunit 8616 Config. Management DimensionFieldID
  3. 1772callsInsertPackageTable
  4. 1773callsInitPackageRecord
  5. 1775callsInsertPackageData
  6. 1778callsInsertPackageData
  7. 1781callsInsertPackageData
  8. 1784callsIsBlankDim
  9. 1785callsInsertPackageData
  10. 1789callsInsertPackageData
  11. 1798callsIsBlankDim
  12. 1802callsInsertPackageTable
  13. 1803callsInitPackageRecord
  14. 1804callsInsertPackageData
  15. 1807callsInsertPackageData

AddConfigTables line 1825

  1. 1832callsInsertPackageTable
  2. 1833callsInsertPackageTable
  3. 1834callsInsertPackageTable
  4. 1835callsInsertPackageTable
  5. 1836callsInsertPackageTable
  6. 1837callsInsertPackageTable
  7. 1838callsInsertPackageTable
  8. 1839callsInsertPackageFilter
  9. 1840callsInsertPackageTable
  10. 1841callsInsertPackageFilter
  11. 1843callsInsertPackageTable
  12. 1844callsInsertPackageTable
  13. 1845raisesOnAddConfigTablesOnBeforeSetSkipTableTriggers
  14. 1846callsSetSkipTableTriggers
  15. 1847callsInsertPackageFilter

AssignPackage line 1852

  1. 1860callsCreateConfigLineBuffer
  2. 1861callsCheckConfigLinesToAssign
  3. 1868callsTable 8622 Config. Line CheckBlocked
  4. 1875callsCheckConfigLinesToAssign
  5. 1876callsInsertPackageTable
  6. 1877callsChangePackageCode
  7. 1878writesTable 8613 Config. Package Table Delete(true)
  8. 1881callsInsertPackageTable
  9. 1884writesTable 8622 Config. Line Modify

ChangePackageCode line 1893, local

  1. 1904writesTable 8614 Config. Package Record DeleteAll
  2. 1911writesTable 8614 Config. Package Record Insert
  3. 1916writesTable 8614 Config. Package Record Insert
  4. 1919writesTable 8615 Config. Package Data DeleteAll
  5. 1926writesTable 8615 Config. Package Data Insert
  6. 1931writesTable 8615 Config. Package Data Insert
  7. 1934writesTable 8617 Config. Package Error DeleteAll
  8. 1941writesTable 8617 Config. Package Error Insert
  9. 1946writesTable 8617 Config. Package Error Insert
  10. 1949writesTable 8626 Config. Package Filter DeleteAll
  11. 1956writesTable 8626 Config. Package Filter Insert
  12. 1961writesTable 8626 Config. Package Filter Insert

CheckConfigLinesToAssign line 1965

  1. 1976writesTable 2000000038 AllObj Insert

CreateConfigLineBuffer line 1980, local

  1. 1985callsAddConfigLineToBuffer
  2. 1986callsAddConfigLineToBuffer

AddConfigLineToBuffer line 1989, local

  1. 1996writesTable 8622 Config. Line Insert

GetRelatedTables line 2001

  1. 2007writesTable 8613 Config. Package Table DeleteAll
  2. 2010callsSetFieldFilter
  3. 2013raisesOnBeforeGetFieldRelationTableNoIsHandled
  4. 2019writesTable 8613 Config. Package Table Insert
  5. 2027callsInsertPackageTable

GetKeyFieldsOrder line 2031, local

  1. 2050writesTable 8616 Config. Package Field Insert
  2. 2052raisesOnAfterGetKeyFieldsOrder

GetFieldsMarkedAsPrimaryKey line 2055, local

  1. 2068writesTable 8616 Config. Package Field Insert

GetFieldsOrder line 2072

  1. 2088writesTable 8616 Config. Package Field Insert

GetFieldsOrderInternal line 2092, local

  1. 2100callsGetFieldsOrder

IsRecordErrorsExistsInPrimaryKeyFields line 2113, local

  1. 2123callsCodeunit 8617 Config. Validate Management IsKeyField

UpdateConfigLinePackageData line 2130

  1. 2152writesTable 8615 Config. Package Data Modify
  2. 2160writesTable 8615 Config. Package Data Modify

HandlePackageDataDimSetIDForRecord line 2165

  1. 2172callsCodeunit 8611 Config. Package Management GetDimSetIDForRecord
  2. 2174callsGetDimPackageDataFromRecord
  3. 2177writesTable 8615 Config. Package Data Delete(true)
  4. 2180callsCreateDimPackageDataFromRecord
  5. 2184writesTable 8615 Config. Package Data Modify

CreateDimPackageDataFromRecord line 2196, local

  1. 2201validatesTable 8616 Config. Package Field Include Field
  2. 2202writesTable 8616 Config. Package Field Modify(true)
  3. 2211writesTable 8615 Config. Package Data Insert

UpdateValueUsingMapping line 2214, local

  1. 2228callsGetMappingFromPKOfRelatedTable
  2. 2231validatesTable 8615 Config. Package Data Value
  3. 2232writesTable 8615 Config. Package Data Modify
  4. 2236callsCreateMissingCodes

CreateMissingCodes line 2239, local

  1. 2250callsRelatedKeyFieldValue

IsBLOBField line 2326

  1. 2330callsCodeunit 10 Type Helper GetField

IsMediaSetField line 2348

  1. 2352callsCodeunit 10 Type Helper GetField

ImportMediaSetFiles line 2364, local

  1. 2372callsCanImportMediaField
  2. 2384writesTable 8630 Config. Media Buffer Insert
  3. 2393writesTable 8630 Config. Media Buffer Modify

IsMediaField line 2399

  1. 2403callsCodeunit 10 Type Helper GetField

GetCachedConfigPackageField line 2415, local

  1. 2424callsCodeunit 10 Type Helper GetField
  2. 2426writesTable 8616 Config. Package Field Insert

ImportMediaFiles line 2430, local

  1. 2438callsCanImportMediaField
  2. 2458writesTable 8630 Config. Media Buffer Insert

ValidateFieldRefRelationAgainstCompanyData line 2543

  1. 2545callsValidateFieldRefRelationAgainstCompanyDataAndPackage

ValidateFieldRefRelationAgainstCompanyDataAndPackage line 2548, local

  1. 2558callsCopyRecRefFields
  2. 2563callsCodeunit 8613 Config. Try Validate SetValidateParameters
  3. 2566runsCodeunit 8613 Config. Try Validate