codeunitPlatform, DevOps & Performanceofficial - Microsoftderived - from the source, no model text

Codeunit 9999 "Upgrade Tag"

System Application · System.Upgrade

Across versions

  1. BC23-25present
  2. BC261 procedures added
  3. BC27-30unchanged

Neighbourhood 140 connected objects and pages

Codeunit 3305 "Payables Agent Upgrade" (event subscribers, 2 links)Codeunit 4589 "SOA Upgrade" (event subscribers, 2 links)Codeunit 104000 "Upgrade - BaseApp" (calls, 248 links)Upgrade - BaseAppCodeunit 104030 "Upgrade Plan Permissions" (calls, 22 links)Upgrade Plan PermissionsCodeunit 9057 "Plan Upgrade" (calls, 22 links)Codeunit 104059 "Serv. Upgrade BaseApp" (calls, 16 links)Serv. Upgrade BaseAppCodeunit 4589 "SOA Upgrade" (calls, 16 links)Codeunit 104051 "Update VAT Date Field" (calls, 10 links)Update VAT Date FieldCodeunit 3305 "Payables Agent Upgrade" (calls, 10 links)Payables Agent UpgradeCodeunit 6978 "Upgrade Expense Agent Setup" (calls, 10 links)Upgrade Expense Agent SetupCodeunit 9996 "Upgrade Tag Impl." (calls, 10 links)Upgrade Tag Impl.Codeunit 8356 "MCP Upgrade" (calls, 8 links)Codeunit 1999 "Guided Experience Upgrade" (calls, 6 links)Guided Experience UpgradeCodeunit 22201 "Upgrade" (calls, 6 links)Codeunit 6616 "FS Install" (calls, 6 links)FS InstallCodeunit 1597 "Email Upgrade" (calls, 5 links)Codeunit 7048 "Set Price Line Source Group" (calls, 5 links)Set Price Line Source GroupCodeunit 104040 "Upgrade Profiles V2" (calls, 4 links)Upgrade Profiles V2Codeunit 104055 "Upgrade - Error Message" (calls, 4 links)Codeunit 1567 "System Upgrade Privacy Notices" (calls, 4 links)System Upgrade Privacy NoticesCodeunit 7238 "Master Data Mgt. Upgrade" (calls, 4 links)Master Data Mgt. UpgradeCodeunit 1081 "Fin. Report Default Upgrade" (calls, 3 links)Codeunit 1688 "Email Logging Upgrade" (calls, 3 links)Email Logging UpgradeCodeunit 1933 "Performance Profiler Installer" (calls, 3 links)Codeunit 7105 "Upgrade Exp. Report VAT Spec" (calls, 3 links)Codeunit 9994 "API Data Upgrade" (calls, 3 links)Codeunit 104010 "Upg Set Country App Areas" (calls, 2 links)Codeunit 104042 "Upgrade Permission Sets" (calls, 2 links)Codeunit 104044 "Upgrade Privacy Notices" (calls, 2 links)Codeunit 104046 "Upgrade Monitored Field" (calls, 2 links)Codeunit 104047 "Upgrade Profiles" (calls, 2 links)Codeunit 104050 "Upg Load Named Forward Links" (calls, 2 links)Codeunit 104053 "Upgrade Word Report Rendering" (calls, 2 links)Codeunit 104056 "Upgrade Workflow" (calls, 2 links)Codeunit 104057 "Upgrade Custom Report Impl." (calls, 2 links)Codeunit 104058 "Upgrade User Setup" (calls, 2 links)Codeunit 104060 "Upgrade App ID Permissions" (calls, 2 links)Codeunit 104061 "Upgrade User Groups" (calls, 2 links)Codeunit 104063 "Upg. - Default. Calc. Based On" (calls, 2 links)Codeunit 1541 "Workflow Webhook Events" (calls, 2 links)

Open in the neighbourhood explorer

One hop out, from the extracted relations and call graph. Up to 40 shown; the sections below list them all.

System Application · System.Upgrade · BC23-30 · source at ea08af5e · facts from BC29

Properties

Property Value
Access Public
Permissions tabledata “Upgrade Tags” = rimd

Events published

Procedures

  • HasUpgradeTag(Tag: Code[250]): Boolean: Verifies if the upgrade tag exists.
  • HasUpgradeTag(Tag: Code[250]; TagCompanyName: Code[30]): Boolean: Verifies if the upgrade tag exists.
  • HasDatabaseUpgradeTag(Tag: Code[250]): Boolean + BC26: Verifies if the database upgrade tag exists.
  • SetDatabaseUpgradeTag(NewTag: Code[250]): Sets the upgrade tag for database upgrades.
  • SetUpgradeTag(NewTag: Code[250]): Sets the upgrade tag.
  • SetSkippedUpgrade(ExistingTag: Code[250]; SkipUpgrade: Boolean): Sets the upgrade tag to skipped.
  • SetSkippedUpgrade(ExistingTag: Code[250]; TagCompanyName: Code[30]; SkipUpgrade: Boolean): Sets the upgrade tag to skipped.
  • HasUpgradeTagSkipped(ExistingTag: Code[250]; TagCompanyName: Code[30]): Boolean: Check if the upgrade tag is skipped.
  • SetAllUpgradeTags(): This method should be used to set all upgrade tags in a new company. The method is called from codeunit 2 - Company Initialize.
  • SetAllUpgradeTags(NewCompanyName: Code[30]): This method should be used to set all upgrade tags in a new company.
  • CopyUpgradeTags(FromCompanyName: Code[30]; ToCompanyName: Code[30]): This method should be used to copy all upgrade tags from a company to another company.
  • GetPerCompanyUpgradeTags(var PerCompanyUpgradeTags: List of [Code[250]]): With this method you get all the upgrade tags by company in a list.
  • GetPerDatabaseUpgradeTags(var PerDatabaseUpgradeTags: List of [Code[250]]): With this method you get all the upgrade tags by database in a list.
  • BackupUpgradeTags(): Integer: This function is used for cloud migration to backup upgrade tags before cloud migration is triggered. Using the function if cloud migration is not enabled will throw an error.
  • RestoreUpgradeTagsFromBackup(BackupId: Integer; RestoreMissingTagsOnly: Boolean): This function is used to restore Upgrade tags after cloud migration. Using the function if cloud migration is not enabled will throw an error.

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.

Called by

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: "Upgrade Tag"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources