ReleaseUpdateDB Class [AX 2012]

The ReleaseUpdateDB class is the base class for all of the upgrade scripts.

Syntax

class ReleaseUpdateDB

Run On

Server

Methods

  Method Description
Gg786201.pubmethod(en-us,AX.60).gif addCrossModuleDependency Adds cross module, version dependency for an upgrade script.
Gg786201.pubmethod(en-us,AX.60).gif addCrossVersionModuleDependency Adds cross module, version dependency for an upgrade script.
Gg786201.pubmethod(en-us,AX.60).gif addDependency Adds a dependency of a method on another method in the same class.
Gg786201.protmethod(en-us,AX.60).gif addFinalJob Adds an upgrade script as a final job.
Gg786201.protmethod(en-us,AX.60).gif addSharedJob Adds an upgrade script as a shared job.
Gg786201.protmethod(en-us,AX.60).gif addStandardJob Adds an upgrade script as a standard job.
Gg786201.protmethod(en-us,AX.60).gif addStartJob Adds an upgrade script as a start job.
Gg786201.protmethod(en-us,AX.60).gif callInsertUpdateRelatedSkipMethods Calls the skip methods that are relevant when doing inserts or updates.
Gg786201.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Gg786201.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Gg786201.pubmethod(en-us,AX.60).gif fromVersion Gets the version of the Microsoft Dynamics AX system that is being upgraded.
Gg786201.pubmethod(en-us,AX.60).gif fromVersionEx Gets the version of the AX system that is being upgraded.
Gg786201.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Gg786201.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Gg786201.pubmethod(en-us,AX.60).gif initAdditionalJobs Contains the initial setup for additional upgrade scripts.
Gg786201.pubmethod(en-us,AX.60).gif initAdditionalUpdateJobs Contains the initial setup for additional upgrade scripts.
Gg786201.pubmethod(en-us,AX.60).gif initDynamicTableDependencies Creates table dependencies for scripts whose dependencies cannot be set by using upgrade attributes.
Gg786201.pubmethod(en-us,AX.60).gif initJobs Builds list upgrade script classes and creates dependencies that are based on their attributes.
Gg786201.pubmethod(en-us,AX.60).gif initJobsUsingUpgradeAttributes Creates upgrade jobs and sets up their dependencies based on the attributes of every upgrade script method in a class.
Gg786201.protmethod(en-us,AX.60).gif initOperationProgress Creates a progress form that can be used to show the progress of an upgrade step.
Gg786201.pubmethod(en-us,AX.60).gif initPostSyncJobs Contains the initial setup for the PostSync upgrade scripts.
Gg786201.pubmethod(en-us,AX.60).gif initPostSyncUpdateJobs Contains the initial setup for the PostSyncUpdate upgrade scripts.
Gg786201.pubmethod(en-us,AX.60).gif initPreSyncJobs Contains the initial setup for PreSync upgrade scripts.
Gg786201.pubmethod(en-us,AX.60).gif initPreSyncUpdateJobs Contains the initial setup for PreSyncUpdate upgrade scripts.
Gg786201.pubmethod(en-us,AX.60).gif isConfKeyEnabledInPrevVersion Determines whether the configuration key was enabled in the earlier version of the application.
Gg786201.pubmethod(en-us,AX.60).gif moduleName Gets the module name of an upgrade class.
Gg786201.pubmethod(en-us,AX.60).gif new Initializes a new instance of the Object class. (Inherited from Object.)
Gg786201.pubmethod(en-us,AX.60).gif notify Releases the hold on an object that has called the wait method on this object. (Inherited from Object.)
Gg786201.pubmethod(en-us,AX.60).gif notifyAll Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.)
Gg786201.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Gg786201.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Gg786201.pubmethod(en-us,AX.60).gif parmCockpit Gets or sets the Cockpit parameter.
Gg786201.pubmethod(en-us,AX.60).gif parmCurrentBatch Gets or sets the CurrentBatch parameter.
Gg786201.pubmethod(en-us,AX.60).gif parmScriptStage Gets or sets the ScriptStage parameter.
Gg786201.pubmethod(en-us,AX.60).gif prefixCurrentClassId Gets or sets the classId parameter.
Gg786201.pubmethod(en-us,AX.60).gif prefixCurrentVersion Gets or sets the version of the current instance of an upgrade class.
Gg786201.pubmethod(en-us,AX.60).gif run Runs the upgrade script.
Gg786201.pubmethod(en-us,AX.60).gif setImportfromVersion Sets the version of the Microsoft Dynamics AX system that is being upgraded.
Gg786201.protmethod(en-us,AX.60).gif setModuleConfigKey Sets the configuration keys of the current module.
Gg786201.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Gg786201.pubmethod(en-us,AX.60).gif tableProgress Sets the progress of the upgrade process, depending on the number of tables processed.
Gg786201.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Gg786201.pubmethod(en-us,AX.60).gif usageCount Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.)
Gg786201.pubmethod(en-us,AX.60).gif validatedModuleName Validates that a module name is not too long.
Gg786201.privmethod(en-us,AX.60).gif validateModuleName
Gg786201.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Gg786201.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
Gg786201.pubmethod(en-us,AX.60).gif Gg786201.static(en-us,AX.60).gif ::addBulkCopyFieldOption Specifies options for field processing during bulk copy.
Gg786201.pubmethod(en-us,AX.60).gif Gg786201.static(en-us,AX.60).gif ::addBulkCopyTableException Adds a table to the bulk copy exceptions list.
Gg786201.pubmethod(en-us,AX.60).gif Gg786201.static(en-us,AX.60).gif ::addTableDependency Adds a table dependency for scripts whose table dependencies cannot be set using upgrade attributes.
Gg786201.pubmethod(en-us,AX.60).gif Gg786201.static(en-us,AX.60).gif ::addTableRelationTypeMapping Indicates that the specified field of the specified table must be updated by using the specified relation type.
Gg786201.pubmethod(en-us,AX.60).gif Gg786201.static(en-us,AX.60).gif ::backendFieldBaseType Gets the back-end base type of a field.
Gg786201.pubmethod(en-us,AX.60).gif Gg786201.static(en-us,AX.60).gif ::backendFieldName Gets the back-end field name of a Microsoft Dynamics AX table.
Gg786201.pubmethod(en-us,AX.60).gif Gg786201.static(en-us,AX.60).gif ::backendTableName Gets the back-end table name of a Microsoft Dynamics AX table.
Gg786201.pubmethod(en-us,AX.60).gif Gg786201.static(en-us,AX.60).gif ::changeFieldByAOTName Changes a field ID, depending on the field AOT name.
Gg786201.pubmethod(en-us,AX.60).gif Gg786201.static(en-us,AX.60).gif ::changeFieldByName Changes a field by its name.
Gg786201.pubmethod(en-us,AX.60).gif Gg786201.static(en-us,AX.60).gif ::changeFieldId Used as a start PreSync job to change a field ID.
Gg786201.pubmethod(en-us,AX.60).gif Gg786201.static(en-us,AX.60).gif ::changeNameByFieldId Changes the name of a table, depending on its ID.
Gg786201.pubmethod(en-us,AX.60).gif Gg786201.static(en-us,AX.60).gif ::changeTableByAOTName Sets a new table ID, depending on a table name.
Gg786201.pubmethod(en-us,AX.60).gif Gg786201.static(en-us,AX.60).gif ::changeTableByName Gets the table ID, based on its name and old IDs.
Gg786201.pubmethod(en-us,AX.60).gif Gg786201.static(en-us,AX.60).gif ::changeTableId Changes the ID of a table.
Gg786201.pubmethod(en-us,AX.60).gif Gg786201.static(en-us,AX.60).gif ::cleanupJobs Cleans up the framework tables that store information about upgrade scripts.
Gg786201.pubmethod(en-us,AX.60).gif Gg786201.static(en-us,AX.60).gif ::constructList Builds a list of all upgrade classes.
Gg786201.pubmethod(en-us,AX.60).gif Gg786201.static(en-us,AX.60).gif ::dataImportFinal Runs all final upgrade scripts.
Gg786201.pubmethod(en-us,AX.60).gif Gg786201.static(en-us,AX.60).gif ::dataImportStart Runs all PreSync, start upgrade scripts.
Gg786201.pubmethod(en-us,AX.60).gif Gg786201.static(en-us,AX.60).gif ::dataImportUpdate Runs the upgrade routine for the imported data.
Gg786201.pubmethod(en-us,AX.60).gif Gg786201.static(en-us,AX.60).gif ::deleteDuplicatesUsingIds Deletes duplicate records by using field IDs.
Gg786201.pubmethod(en-us,AX.60).gif Gg786201.static(en-us,AX.60).gif ::deleteDuplicatesUsingNames Deletes duplicate records by using names.
Gg786201.pubmethod(en-us,AX.60).gif Gg786201.static(en-us,AX.60).gif ::description Gets the description of the class.
Gg786201.pubmethod(en-us,AX.60).gif Gg786201.static(en-us,AX.60).gif ::fieldExists Verifies whether the specified field exists.
Gg786201.pubmethod(en-us,AX.60).gif Gg786201.static(en-us,AX.60).gif ::fields2WhereClause Gets a string to be used in the where clause in a direct SQL statement.
Gg786201.pubmethod(en-us,AX.60).gif Gg786201.static(en-us,AX.60).gif ::fieldStringSize Gets the string length of a field.
Gg786201.pubmethod(en-us,AX.60).gif Gg786201.static(en-us,AX.60).gif ::getDataAreaIds Gets a list of companies in a partition.
Gg786201.pubmethod(en-us,AX.60).gif Gg786201.static(en-us,AX.60).gif ::getDataAreaIdsForPartition Gets a list of companies in a partition.
Gg786201.pubmethod(en-us,AX.60).gif Gg786201.static(en-us,AX.60).gif ::getFromVersion Gets the version of the Microsoft Dynamics AX source system that is being upgraded.
Gg786201.pubmethod(en-us,AX.60).gif Gg786201.static(en-us,AX.60).gif ::getFromVersionEx Gets the version of the Dynamics AX source system that is being upgraded.
Gg786201.pubmethod(en-us,AX.60).gif Gg786201.static(en-us,AX.60).gif ::getPartitionKeys Gets all partitions in the system.
Gg786201.protmethod(en-us,AX.60).gif Gg786201.static(en-us,AX.60).gif ::getSchemaName Gets the current system account that is running the Microsoft Dynamics AX Application Object Server (AOS) instance.
Gg786201.pubmethod(en-us,AX.60).gif Gg786201.static(en-us,AX.60).gif ::getToVersion Gets the Microsoft Dynamics AX version to which the current system is being upgraded.
Gg786201.pubmethod(en-us,AX.60).gif Gg786201.static(en-us,AX.60).gif ::getToVersionEx Gets the Dynamics AX version to which the current system is being upgraded.
Gg786201.pubmethod(en-us,AX.60).gif Gg786201.static(en-us,AX.60).gif ::indexAllowDup Disables a unique index and saves the modification in the layer where the index exists.
Gg786201.pubmethod(en-us,AX.60).gif Gg786201.static(en-us,AX.60).gif ::indexAllowNoDup Enables a unique index.
Gg786201.pubmethod(en-us,AX.60).gif Gg786201.static(en-us,AX.60).gif ::indexAllowNoDupAndDateEffective Enables the index on date effective tables.
Gg786201.pubmethod(en-us,AX.60).gif Gg786201.static(en-us,AX.60).gif ::IsFlattenDBStepNeededInInPlaceUpgrade Checks if the flatten database step is needed during a minor version upgrade.
Gg786201.pubmethod(en-us,AX.60).gif Gg786201.static(en-us,AX.60).gif ::isMinorVersionUpdateInProgress Checks whether the minor version upgrade is already in progress.
Gg786201.pubmethod(en-us,AX.60).gif Gg786201.static(en-us,AX.60).gif ::isRightJustified Checks whether the field is right justified.
Gg786201.pubmethod(en-us,AX.60).gif Gg786201.static(en-us,AX.60).gif ::isScriptStageInPlace Detects if a upgrade script stage is an In-Place stage.
Gg786201.pubmethod(en-us,AX.60).gif Gg786201.static(en-us,AX.60).gif ::log Writes a log message to the ReleaseUpdateLog table.
Gg786201.pubmethod(en-us,AX.60).gif Gg786201.static(en-us,AX.60).gif ::majorMinorEtc2sysReleasedVersion Gets a release version from major and minor versions.
Gg786201.pubmethod(en-us,AX.60).gif Gg786201.static(en-us,AX.60).gif ::minorUpgradeScriptExists
Gg786201.pubmethod(en-us,AX.60).gif Gg786201.static(en-us,AX.60).gif ::registerAllUpdateScripts
Gg786201.pubmethod(en-us,AX.60).gif Gg786201.static(en-us,AX.60).gif ::registerForMinorUpgradeScript Registers a script to be run during minor version upgrade.
Gg786201.pubmethod(en-us,AX.60).gif Gg786201.static(en-us,AX.60).gif ::runWithoutUpdate This method is deprecated.
Gg786201.pubmethod(en-us,AX.60).gif Gg786201.static(en-us,AX.60).gif ::setMinorVersionUpdateInProgress
Gg786201.privmethod(en-us,AX.60).gif Gg786201.static(en-us,AX.60).gif ::setReadyForMinorUpgrade Asks Microsoft Dynamics AX to load the update checklist at startup after registering for the minor upgrade scripts.
Gg786201.pubmethod(en-us,AX.60).gif Gg786201.static(en-us,AX.60).gif ::setupDynamicDependencies Sets up dependencies for some special scripts whose dependencies cannot be set using the upgrade attributes.
Gg786201.pubmethod(en-us,AX.60).gif Gg786201.static(en-us,AX.60).gif ::sourceFieldExists Verifies whether the source field exists.
Gg786201.pubmethod(en-us,AX.60).gif Gg786201.static(en-us,AX.60).gif ::sourceTableExists Verifies whether the source table exists.
Gg786201.protmethod(en-us,AX.60).gif Gg786201.static(en-us,AX.60).gif ::statementExeQuery Executes a direct SQL statement by using the Statement.executeQuery method.
Gg786201.protmethod(en-us,AX.60).gif Gg786201.static(en-us,AX.60).gif ::statementExeUpdate Executes a direct SQL update statement.
Gg786201.pubmethod(en-us,AX.60).gif Gg786201.static(en-us,AX.60).gif ::tableExists Verifies whether a table exists.
Gg786201.privmethod(en-us,AX.60).gif Gg786201.static(en-us,AX.60).gif ::validateAttributes

Top

Remarks

This class is the root of the Upgrade tree, which is structured by upgrade versions, from version 401, 41, and 60.

This class also contains many private and public APIs that are used in the Upgrade framework.

Inheritance Hierarchy

Object Class
  ReleaseUpdateDB Class
    PmfReleaseUpdateDB Class
    PmfReleaseUpdateDB60_PmfAdditionalUpdate Class
    ReleaseUpdateBulkCopyDB Class
    ReleaseUpdateDB401_Administration Class
    ReleaseUpdateDB401_Asset Class
    ReleaseUpdateDB401_Bank Class
    ReleaseUpdateDB401_COS Class
    ReleaseUpdateDB401_Cust Class
    ReleaseUpdateDB401_Ledger Class
    ReleaseUpdateDB401_Proj Class
    ReleaseUpdateDB401_Vend Class
    ReleaseUpdateDB41_Asset Class
    ReleaseUpdateDB41_Basic Class
    ReleaseUpdateDB41_HRM Class
    ReleaseUpdateDB41_Invent Class
    ReleaseUpdateDB41_Jmg Class
    ReleaseUpdateDB41_KM Class
    ReleaseUpdateDB41_Prod Class
    ReleaseUpdateDB41_PSA Class
    ReleaseUpdateDB41_Req Class
    ReleaseUpdateDB41_SMA Class
    ReleaseUpdateDB41_smm Class
    ReleaseUpdateDB60_AleFiscalPeriod_PSN Class
    ReleaseUpdateDB60_BankPPayNumSeqUpdate Class
    ReleaseUpdateDB60_BasicMinor Class
    ReleaseUpdateDB60_BudgetMinor Class
    ReleaseUpdateDB60_Cat Class
    ReleaseUpdateDB60_CISPayroll Class
    ReleaseUpdateDB60_Client Class
    ReleaseUpdateDB60_Compliance Class
    ReleaseUpdateDB60_CustMinor Class
    ReleaseUpdateDB60_DimAttr Class
    ReleaseUpdateDB60_EcoRes Class
    ReleaseUpdateDB60_EMS Class
    ReleaseUpdateDB60_FinStmtMinor Class
    ReleaseUpdateDB60_FrDirectiveNumSeq_PSN Class
    ReleaseUpdateDB60_GAB Class
    ReleaseUpdateDB60_HRMMinor Class
    ReleaseUpdateDB60_InventMinor Class
    ReleaseUpdateDB60_Lean Class
    ReleaseUpdateDB60_LedgerMinor Class
    ReleaseUpdateDB60_Payroll Class
    ReleaseUpdateDB60_PayrollMinor Class
    ReleaseUpdateDB60_PBA Class
    ReleaseUpdateDB60_ProductMinor Class
    ReleaseUpdateDB60_ProjMinor Class
    ReleaseUpdateDB60_PurchReq Class
    ReleaseUpdateDB60_PurchRFQPrint Class
    ReleaseUpdateDB60_QMS Class
    ReleaseUpdateDB60_Retail Class
    ReleaseUpdateDB60_Sourcing Class
    ReleaseUpdateDB60_SourcingMinor Class
    ReleaseUpdateDB60_TaxIntegration_CN Class
    ReleaseUpdateDB60_Trv Class
    ReleaseUpdateDB60_TrvAccDistribution Class
    ReleaseUpdateDB60_TrvApplEmplSub Class
    ReleaseUpdateDB60_TrvExpTransMinor Class
    ReleaseUpdateDB60_TrvGuest Class
    ReleaseUpdateDB60_TrvUpdateTransactions Class
    ReleaseUpdateDB60_TSVoucherNumSeqUpdate Class
    ReleaseUpdateDB62_Administrator Class
    ReleaseUpdateDB62_CISPayroll Class
    ReleaseUpdateDB62_Cust Class
    ReleaseUpdateDB62_FiscalBooks_BR Class
    ReleaseUpdateDB62_GABMinor Class
    ReleaseUpdateDB62_Invent Class
    ReleaseUpdateDB62_Ledger Class
    ReleaseUpdateDB62_Payroll Class
    ReleaseUpdateDB62_Products Class
    ReleaseUpdateDB62_ProjMinor Class
    ReleaseUpdateDB62_PSAMinor Class
    ReleaseUpdateDB62_Retail Class
    ReleaseUpdateDB62_Sourcing Class
    ReleaseUpdateDB62_Vend Class