Codeunit 8614 Config. XML Exchange

Base Application, System.IO

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

AddTableAttributes line 71, local

  1. 76callsGetElementName
  2. 81callsGetElementName
  3. 86callsGetElementName
  4. 91callsGetElementName
  5. 96callsGetElementName
  6. 101callsGetElementName
  7. 106callsGetElementName
  8. 111callsGetElementName
  9. 116callsGetElementName
  10. 121callsGetElementName
  11. 126raisesOnAfterAddTableAttributes

AddFieldAttributes line 129, local

  1. 132callsCodeunit 6224 XML DOM Management AddAttribute
  2. 132callsGetElementName
  3. 134callsCodeunit 6224 XML DOM Management AddAttribute
  4. 134callsGetElementName
  5. 136callsCodeunit 6224 XML DOM Management AddAttribute
  6. 136callsGetElementName
  7. 138callsCodeunit 6224 XML DOM Management AddAttribute
  8. 139callsGetElementName
  9. 141raisesOnAfterAddFieldAttributes

AddDimensionFields line 144, local

  1. 153callsGetElementName
  2. 153callsCodeunit 8617 Config. Validate Management CheckName
  3. 156callsGetDimValueFromTable

AddDimPackageFields line 165, local

  1. 173callsCodeunit 8616 Config. Management IsDimSetIDTable
  2. 173callsCodeunit 8616 Config. Management IsDefaultDimTable
  3. 178callsCodeunit 8611 Config. Package Management InsertPackageField
  4. 179callsCodeunit 8616 Config. Management DimensionFieldID
  5. 181callsFieldNodeExists
  6. 181callsGetElementName
  7. 183writesTable 8616 Config. Package Field Insert
  8. 191writesTable 8613 Config. Package Table Modify

ApplyPackageFilter line 195

  1. 200raisesOnBeforeApplyPackageFilter

CreateRecordNodes line 220, local

  1. 244raisesOnBeforeCreateRecordNodesIsHandled
  2. 248callsCodeunit 8616 Config. Management IsSystemTable
  3. 254callsExcludeRemovedFields
  4. 256callsGetElementName
  5. 259callsGetElementName
  6. 264callsGetElementName
  7. 268callsAddTableAttributes
  8. 273raisesOnCreateRecordNodesOnBeforeApplyPackageFilterIsHandled
  9. 275callsApplyPackageFilter
  10. 276raisesOnCreateRecordNodesOnAfterApplyPackageFilter
  11. 282callsCodeunit 8615 Config. Progress Bar Init
  12. 286raisesOnCreateRecordNodesOnBeforeRecRefLoopIterationIsHandled
  13. 288callsGetTableElementName
  14. 295raisesOnCreateRecordNodesOnAfterConfigPackageFieldSetFilters
  15. 300callsAddDimensionFieldsWhenProcessingOrder
  16. 306callsCodeunit 10 Type Helper GetField
  17. 307callsGetFieldElementName
  18. 307callsTable 8616 Config. Package Field GetValidatedElementName
  19. 313callsFormatFieldValue
  20. 315callsAddXMLComment
  21. 318callsAddFieldAttributes
  22. 321callsCodeunit 6224 XML DOM Management AddAttribute
  23. 323callsCodeunit 6224 XML DOM Management AddAttribute
  24. 328raisesOnCreateRecordNodesOnAfterRecordProcessed
  25. 333callsCodeunit 8615 Config. Progress Bar Update
  26. 339callsCodeunit 8615 Config. Progress Bar Close
  27. 341callsGetTableElementName
  28. 348raisesOnCreateRecordNodesOnNotFoundOnAfterConfigPackageFieldSetFilters
  29. 353callsGetFieldElementName
  30. 353callsTable 8616 Config. Package Field GetValidatedElementName
  31. 357callsAddFieldAttributes
  32. 361callsAddDimensionFields
  33. 362raisesOnCreateRecordNodesOnAfterNotFoundRecordProcessed

ExportPackageXMLToStream line 371

  1. 383callsCodeunit 419 File Management ServerTempFileName
  2. 386callsSetCalledFromCode
  3. 387callsExportPackageXML

ExportPackage line 397

  1. 404callsExportPackageXML

ExportPackageXML line 408

  1. 437callsCodeunit 8611 Config. Package Management AddConfigTables
  2. 440callsCodeunit 419 File Management ServerTempFileName
  3. 441callsGetFileDialogFilter
  4. 444raisesOnExportPackageXMLOnAfterAssignToFile
  5. 446callsSetWorkingFolder
  6. 446callsCodeunit 419 File Management GetDirectoryName
  7. 448callsExportPackageXMLDocument
  8. 460callsCodeunit 419 File Management ServerTempFileName
  9. 461raisesOnOnExportPackageXMLOnAfterAssignToFileOnAfterSetCompressedFileName
  10. 462callsCodeunit 8619 Config. Pckg. Compression Mgt. ServersideCompress
  11. 464callsCodeunit 419 File Management DownloadHandler

ExportPackageXMLDocument line 471

  1. 477callsCodeunit 8703 Feature Telemetry LogUptake
  2. 483callsCodeunit 6224 XML DOM Management LoadXMLDocumentFromText
  3. 486callsGetPackageTag
  4. 490callsCleanUpConfigPackageData
  5. 493callsInitializeMediaTempFolder
  6. 495callsCodeunit 6224 XML DOM Management AddAttribute
  7. 496callsGetElementName
  8. 499callsCodeunit 6224 XML DOM Management AddAttribute
  9. 499callsGetElementName
  10. 501callsCodeunit 6224 XML DOM Management AddAttribute
  11. 502callsGetElementName
  12. 504callsCodeunit 6224 XML DOM Management AddAttribute
  13. 505callsGetElementName
  14. 506callsCodeunit 6224 XML DOM Management AddAttribute
  15. 507callsGetElementName
  16. 508callsCodeunit 6224 XML DOM Management AddAttribute
  17. 508callsGetElementName
  18. 509callsCodeunit 6224 XML DOM Management AddAttribute
  19. 509callsGetElementName
  20. 510raisesOnExportPackageXMLDocumentOnAfterSetAttributes
  21. 513raisesOnExportPackageXMLDocumentOnBeforeConfigProgressBarInit
  22. 516callsCodeunit 8615 Config. Progress Bar Init
  23. 521callsCodeunit 8615 Config. Progress Bar Update
  24. 523callsExportConfigTableToXML
  25. 527callsUpdateConfigPackageMediaSet
  26. 528callsExportConfigPackageMediaSetToXML
  27. 532callsCodeunit 8615 Config. Progress Bar Close
  28. 534raisesOnAfterExportPackageXMLDocument

ExportConfigTableToXML line 537, local

  1. 539callsCreateRecordNodes
  2. 541writesTable 8613 Config. Package Table Modify

ImportPackageXMLFromClient line 550

  1. 560callsCodeunit 419 File Management ServerTempFileName
  2. 561callsUploadXMLPackage
  3. 564callsCodeunit 419 File Management GetServerFileProperties
  4. 566callsCodeunit 8611 Config. Package Management ShowWarningOnImportingBigConfPackageFromRapidStart
  5. 568callsDecompressPackage
  6. 570callsImportPackageXML

ImportPackageXML line 573

  1. 577callsCodeunit 6224 XML DOM Management LoadXMLDocumentFromFile
  2. 579callsImportPackageXMLDocument

ImportPackageXMLFromStream line 582

  1. 586callsCodeunit 6224 XML DOM Management LoadXMLDocumentFromInStream
  2. 588callsImportPackageXMLDocument

ImportPackageXMLWithCodeFromStream line 591

  1. 595callsCodeunit 6224 XML DOM Management LoadXMLDocumentFromInStream
  2. 597callsGetPackageCode
  3. 600callsImportPackageXMLDocument

ImportPackageXMLDocument line 604

  1. 634callsVerifyCanImportConfigurationPackage
  2. 637callsCodeunit 8703 Feature Telemetry LogUptake
  3. 644callsGetPackageCode
  4. 654writesTable 8623 Config. Package Delete(true)
  5. 659writesTable 8623 Config. Package Insert
  6. 666callsGetAttribute
  7. 666callsGetElementName
  8. 668callsGetAttribute
  9. 668callsGetElementName
  10. 673callsGetAttribute
  11. 673callsGetElementName
  12. 675callsGetAttribute
  13. 675callsGetElementName
  14. 678callsGetAttribute
  15. 678callsGetElementName
  16. 681callsGetAttribute
  17. 681callsGetElementName
  18. 684raisesOnBeforeEvaluateMinCountForAsyncImportIsHandled
  19. 688raisesOnImportPackageXMLDocumentOnBeforeModify
  20. 689writesTable 8623 Config. Package Modify
  21. 701callsCodeunit 8615 Config. Progress Bar Init
  22. 705callsGetTableStatisticsForTelemetry
  23. 710callsImportTableFromXMLNode
  24. 714callsCodeunit 4100 Temp Blob CreateOutStream
  25. 716callsCodeunit 490 Parallel Session Management NewSessionRunCodeunitWithBlob
  26. 721callsCodeunit 8616 Config. Management IsDefaultDimTable
  27. 725raisesOnImportPackageXMLDocumentOnDefaultDimOnAfterConfigPackageRecordSetFilters
  28. 730callsGetDefaultDimensionNoLinkFieldNumber
  29. 731callsCodeunit 8611 Config. Package Management UpdateDefaultDimValues
  30. 734callsCodeunit 8616 Config. Management IsDimSetIDTable
  31. 740callsCodeunit 8611 Config. Package Management HandlePackageDataDimSetIDForRecord
  32. 750callsCodeunit 8615 Config. Progress Bar Close
  33. 752callsCodeunit 490 Parallel Session Management WaitForAllToFinish
  34. 754callsCodeunit 8611 Config. Package Management UpdateConfigLinePackageData
  35. 763callsCodeunit 8611 Config. Package Management ApplyConfigTables
  36. 765callsCodeunit 8611 Config. Package Management SentPackageImportedNotification
  37. 768raisesOnAfterImportPackageXMLDocument

GetTableStatisticsForTelemetry line 772, internal

  1. 792callsGetElementName

ImportTableFromXMLNode line 806

  1. 813callsFillPackageMetadataFromXML
  2. 814callsTableObjectExists
  3. 815callsCodeunit 8611 Config. Package Management InsertPackageTableWithoutValidation
  4. 816callsCodeunit 8611 Config. Package Management InitPackageRecord
  5. 817callsCodeunit 8611 Config. Package Management RecordError
  6. 819callsPackageDataExistsInXML
  7. 820callsFillPackageDataFromXML

PackageDataExistsInXML line 824, local

  1. 837callsGetElementName
  2. 850callsFieldNodeExists
  3. 850callsGetElementName
  4. 851callsGetNodeValue
  5. 851callsGetElementName

FillPackageMetadataFromXML line 869, local

  1. 884callsGetNodeValue
  2. 884callsGetElementName
  3. 888callsTryOpenTable
  4. 893callsGetNodeValue
  5. 893callsGetElementName
  6. 897callsCodeunit 8616 Config. Management FindPage
  7. 898callsGetNodeValue
  8. 898callsGetElementName
  9. 901callsGetNodeValue
  10. 901callsGetElementName
  11. 904callsGetNodeValue
  12. 904callsGetElementName
  13. 907callsGetNodeValue
  14. 907callsGetElementName
  15. 910callsGetNodeValue
  16. 910callsGetElementName
  17. 913callsGetNodeValue
  18. 913callsGetElementName
  19. 916callsGetNodeValue
  20. 916callsGetElementName
  21. 919raisesOnFillPackageMetadataFromXMLOnAfterGetPackageTableValueFromXML
  22. 922callsGetNodeValue
  23. 922callsGetElementName
  24. 926callsGetNodeValue
  25. 926callsGetElementName
  26. 930writesTable 8613 Config. Package Table Insert(true)
  27. 933callsCodeunit 8611 Config. Package Management SelectAllPackageFields
  28. 937validatesTable 8623 Config. Package Code
  29. 938writesTable 8623 Config. Package Insert(true)
  30. 943writesTable 8613 Config. Package Table Insert(true)
  31. 949callsGetElementName
  32. 953callsCodeunit 8611 Config. Package Management SetFieldFilter
  33. 956callsFieldNodeExists
  34. 956callsGetElementName
  35. 958callsCodeunit 8617 Config. Validate Management IsKeyField
  36. 960callsGetElementName
  37. 962callsGetAttribute
  38. 962callsGetElementName
  39. 964callsGetAttribute
  40. 964callsGetElementName
  41. 966callsCodeunit 8611 Config. Package Management ValidateException
  42. 967callsGetAttribute
  43. 967callsGetElementName
  44. 969callsCodeunit 8611 Config. Package Management ValidateException
  45. 970callsGetAttribute
  46. 970callsGetElementName
  47. 974raisesOnFillPackageMetadataFromXMLOnBeforeConfigPackageFieldModify
  48. 976writesTable 8616 Config. Package Field Modify
  49. 980callsAddDimPackageFields

FillPackageDataFromXML line 987, local

  1. 1006callsCodeunit 8616 Config. Management IsSystemTable
  2. 1010callsExcludeRemovedFields
  3. 1014raisesOnFillPackageDataFromXMLOnAfterCalcShouldShowTableContainsRecordsQst
  4. 1017callsTable 8613 Config. Package Table DeletePackageData
  5. 1023callsCodeunit 8615 Config. Progress Bar Update
  6. 1024callsGetElementName
  7. 1029callsCodeunit 8615 Config. Progress Bar Init
  8. 1039writesTable 8616 Config. Package Field Insert
  9. 1045callsCodeunit 8611 Config. Package Management InitPackageRecord
  10. 1052raisesOnFillPackageDataFromXMLOnAfterConfigPackageDataInit
  11. 1057callsFieldNodeExists
  12. 1057callsTable 8616 Config. Package Field GetElementName
  13. 1060callsGetConfigPackageDataValue
  14. 1060callsTable 8616 Config. Package Field GetElementName
  15. 1061raisesOnFillPackageDataFromXMLOnAfterConfigPackageDataInsert
  16. 1062writesTable 8615 Config. Package Data Insert
  17. 1065raisesOnFillPackageDataFromXMLOnAfterCalcShouldAssignValue
  18. 1069callsCodeunit 8617 Config. Validate Management EvaluateValue
  19. 1071callsCodeunit 8611 Config. Package Management FieldError
  20. 1075writesTable 8615 Config. Package Data Modify
  21. 1081writesTable 8613 Config. Package Table Modify
  22. 1083callsCodeunit 8615 Config. Progress Bar Update
  23. 1088callsCodeunit 8615 Config. Progress Bar Close

ExcludeRemovedFields line 1092, local

  1. 1102validatesTable 8616 Config. Package Field Include Field
  2. 1103writesTable 8616 Config. Package Field Modify

FormatFieldValue line 1118, local

  1. 1126callsCodeunit 8617 Config. Validate Management XMLFormat
  2. 1134callsCodeunit 8617 Config. Validate Management XMLFormat
  3. 1136callsConvertBlobToBase64String
  4. 1138callsExportMediaSet
  5. 1140callsExportMedia
  6. 1149callsCodeunit 10 Type Helper FormatDate
  7. 1152callsConvertBlobToBase64String
  8. 1155raisesOnFormatFieldValueOnBeforeExitInnerText

GetDimValueFromTable line 1173, local

  1. 1192callsCodeunit 8616 Config. Management IsDefaultDimTable
  2. 1193callsGetDefaultDimensionNoLinkFieldNumber

GetElementName line 1203

  1. 1207raisesOnBeforeGetElementName
  2. 1209callsCodeunit 6224 XML DOM Management IsValidXMLNameStartCharacter
  3. 1211callsCodeunit 6224 XML DOM Management ReplaceXMLInvalidCharacters

GetFieldElementName line 1219

  1. 1224callsGetElementName

GetTableElementName line 1227

  1. 1232callsGetElementName

GetPackageCode line 1250

  1. 1256callsGetAttribute
  2. 1256callsGetElementName

GetDefaultDimensionNoLinkFieldNumber line 1259, local

  1. 1270raisesOnAfterGetDefaultDimensionNoLinkFieldNumber

InitializeMediaTempFolder line 1274, local

  1. 1284callsGetCurrentMediaFolderPath
  2. 1285callsCodeunit 419 File Management ServerDirectoryExists
  3. 1286callsCodeunit 419 File Management ServerRemoveDirectory
  4. 1288callsCodeunit 419 File Management ServerCreateDirectory

GetCurrentMediaFolderPath line 1291, local

  1. 1293callsCodeunit 419 File Management CombinePath
  2. 1293callsGetMediaFolderName

GetMediaFolder line 1297

  1. 1301callsCodeunit 419 File Management ServerFileExists
  2. 1302callsCodeunit 419 File Management GetDirectoryName
  3. 1304callsCodeunit 419 File Management ServerDirectoryExists
  4. 1310callsCodeunit 419 File Management CombinePath
  5. 1310callsGetMediaFolderName
  6. 1311callsCodeunit 419 File Management ServerDirectoryExists

GetXSDType line 1319

  1. 1325raisesOnBeforeGetXSDTypeIsHandled

DecompressPackage line 1392

  1. 1394callsCodeunit 419 File Management ServerTempFileName
  2. 1395callsCodeunit 8619 Config. Pckg. Compression Mgt. ServersideDecompress

DecompressPackageToBlob line 1399

  1. 1406callsCodeunit 4100 Temp Blob CreateInStream
  2. 1408callsCodeunit 4100 Temp Blob CreateOutStream

UploadXMLPackage line 1412, local

  1. 1414callsGetFileDialogFilter

ConvertBlobToBase64String line 1422, local

  1. 1428callsCodeunit 4100 Temp Blob FromFieldRef
  2. 1429callsCodeunit 4100 Temp Blob CreateInStream
  3. 1430callsCodeunit 4110 Base64 Convert ToBase64

ExportMediaSet line 1433, local

  1. 1443callsGetMediaFolder
  2. 1448writesTable 8630 Config. Media Buffer Insert

ExportMedia line 1460, local

  1. 1478callsTable 8630 Config. Media Buffer GetNextNo
  2. 1479writesTable 8630 Config. Media Buffer Insert
  3. 1485writesTable 8630 Config. Media Buffer Insert
  4. 1488writesTable 8630 Config. Media Buffer Modify

GetConfigPackageDataValue line 1493, local

  1. 1498callsCodeunit 8611 Config. Package Management IsBLOBField
  2. 1500callsCodeunit 4110 Base64 Convert FromBase64
  3. 1500callsGetNodeValue
  4. 1502callsGetNodeValue

UpdateConfigPackageMediaSet line 1505, local

  1. 1511callsGetMediaFolder
  2. 1514callsCodeunit 419 File Management GetServerDirectoryFilesList
  3. 1519callsImportMediaSetFromFile
  4. 1522callsCodeunit 419 File Management ServerRemoveDirectory

ExportConfigPackageMediaSetToXML line 1525, local

  1. 1536callsCodeunit 8611 Config. Package Management InsertPackageTable
  2. 1537callsCodeunit 8611 Config. Package Management InsertPackageFilter
  3. 1541callsExportConfigTableToXML

ImportMediaSetFromFile line 1544, local

  1. 1553callsCodeunit 419 File Management BLOBImportFromServerFile
  2. 1556callsCodeunit 4100 Temp Blob ToRecordRef
  3. 1560callsCodeunit 419 File Management GetFileNameWithoutExtension
  4. 1561callsTable 8630 Config. Media Buffer GetNextNo
  5. 1562writesTable 8630 Config. Media Buffer Insert

CleanUpConfigPackageData line 1565, local

  1. 1570writesTable 8630 Config. Media Buffer DeleteAll

AddDimensionFieldsWhenProcessingOrder line 1573, local

  1. 1579callsGetElementName
  2. 1579callsCodeunit 8617 Config. Validate Management CheckName
  3. 1582callsGetDimValueFromTable

VerifyCanImportConfigurationPackage line 1590, local

  1. 1594raisesOnVerifyCanImportConfigurationPackage