SysDateEffectiveDataManager Class [AX 2012]

The SysDateEffectiveDataManager class provides the base functionality to implement date effectivity in other features or modules.

class SysDateEffectiveDataManager

Run On

Server

  MethodDescription
Gg957605.pubmethod(en-us,AX.60).gif addFutureRecord Creates a future version of the record from an earlier version of the effective dated record.
Gg957605.protmethod(en-us,AX.60).gif cacheKey Retrieves the name of the global cache variable that is specified in the derived class.
Gg957605.pubmethod(en-us,AX.60).gif canActivate Determines whether a specific version can be activated.
Gg957605.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Gg957605.pubmethod(en-us,AX.60).gif copy Copies the data of all corresponding tables from an earlier version of the effective dated record to the new version when there is any update in the dated effective table.
Gg957605.protmethod(en-us,AX.60).gif createNewVersion Creates a new version of the effective dated table record.
Gg957605.pubmethod(en-us,AX.60).gif createVersionAfterPastVersion Creates a new version with the same attributes as the _sysDateEffectiveVersion record and sets the effective date to the expiration date of the past version.
Gg957605.pubmethod(en-us,AX.60).gif delete Creates a new version of the effective dated record when there is a deletion in any of the corresponding tables and copies the data into corresponding tables from the earlier version.
Gg957605.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Gg957605.pubmethod(en-us,AX.60).gif existActiveVersion Determines whether the active record with the _parentId parameter in the SysDateEffectiveVersion map exists.
Gg957605.pubmethod(en-us,AX.60).gif existFutureVersion Determines whether the future record with the _parentId parameter in the SysDateEffectiveVersion map exists.
Gg957605.pubmethod(en-us,AX.60).gif existPastVersion Determines whether the expired record with the _parentId parameter in the SysDateEffectiveVersion map exists.
Gg957605.pubmethod(en-us,AX.60).gif expireCurrentRecord Expires a currently active record of the effective dated table by changing the expiration date to a past value.
Gg957605.pubmethod(en-us,AX.60).gif expireVersion Expires the version by setting the expiration date to the current date.
Gg957605.pubmethod(en-us,AX.60).gif findCurrentVersionByParentId Finds the current version in the SysDateEffectiveVersion table by parent ID.
Gg957605.pubmethod(en-us,AX.60).gif findFutureVersionByParentId Finds the first future version in the SysDateEffectiveVersion map by using a parent ID.
Gg957605.pubmethod(en-us,AX.60).gif findPastVersionByParentId Finds the past version in the SysDateEffectiveVersion table by parent ID.
Gg957605.pubmethod(en-us,AX.60).gif findVersionByParentIdAndDate Finds a version in the SysDateEffectiveVersion map by using the parent ID and transaction date.
Gg957605.pubmethod(en-us,AX.60).gif getEffectiveDateOfNextFutureVersion Retrieves the effective date of the next future version.
Gg957605.pubmethod(en-us,AX.60).gif getExpirationDateOfLastExpiredVersion Retrieves the expiration date of last expired version.
Gg957605.pubmethod(en-us,AX.60).gif getLatestVersionId Retrieves the record ID of the latest version for the specified parent ID.
Gg957605.pubmethod(en-us,AX.60).gif getMode Gets the global cache variable.
Gg957605.pubmethod(en-us,AX.60).gif getSysDateEffectiveVersion Gets an instance of the SysDateEffectiveVersion map that is specified in the derived class..
Gg957605.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Gg957605.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Gg957605.pubmethod(en-us,AX.60).gif insert Creates a new version of the effective dated record when there is an insertion in any of the corresponding tables and copies the data in corresponding tables from the earlier version.
Gg957605.pubmethod(en-us,AX.60).gif isOnlyVersion Determines whether the current version is the only version available for the parent record.
Gg957605.pubmethod(en-us,AX.60).gif new Initializes a new instance of the Object class. (Inherited from Object.)
Gg957605.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.)
Gg957605.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.)
Gg957605.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Gg957605.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Gg957605.protmethod(en-us,AX.60).gif processData Creates a new version of the effective dated record when there is a deletion in any of the corresponding tables and copies the data in corresponding tables from the earlier version.
Gg957605.pubmethod(en-us,AX.60).gif setMode Sets the global cache variable by using the value of the ValidTimeStateUpdate object.
Gg957605.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Gg957605.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Gg957605.pubmethod(en-us,AX.60).gif update Creates a new version of the effective dated record when there is an update in any of the corresponding tables and copies the data in corresponding tables from the earlier version.
Gg957605.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.)
Gg957605.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Gg957605.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
Gg957605.pubmethod(en-us,AX.60).gif Gg957605.static(en-us,AX.60).gif ::activateVersion Activates the version by setting the effective date and the expiration date.
Gg957605.pubmethod(en-us,AX.60).gif Gg957605.static(en-us,AX.60).gif ::construct Creates an instance of the respective module or feature class based on the specified parameter type.
Gg957605.pubmethod(en-us,AX.60).gif Gg957605.static(en-us,AX.60).gif ::createVersionBeforeFutureVersion Creates a new version that has the same attributes as the _sysDateEffectiveVersion record and sets the expiration date to the effective date of the first future version.
Gg957605.pubmethod(en-us,AX.60).gif Gg957605.static(en-us,AX.60).gif ::getSysDateEffectiveSetupTypeByTableId Gets the SysDateEffectiveSetupType enumeration value by using the specified table ID.
Gg957605.privmethod(en-us,AX.60).gif Gg957605.static(en-us,AX.60).gif ::getUpdateMode Gets the global cache variable that is identified by the key that is specified in the derived class.
Gg957605.pubmethod(en-us,AX.60).gif Gg957605.static(en-us,AX.60).gif ::getVersionHelpText Gets the help text to describe a record that is based on the specified dates.
Gg957605.pubmethod(en-us,AX.60).gif Gg957605.static(en-us,AX.60).gif ::getVersionIconImage Gets the icon image that is used to describe a record that is based on the specified dates.
Gg957605.pubmethod(en-us,AX.60).gif Gg957605.static(en-us,AX.60).gif ::isVersionExpired Indicates whether the specified version is an expired version.
Gg957605.pubmethod(en-us,AX.60).gif Gg957605.static(en-us,AX.60).gif ::isVersionFuture Indicates whether the specified version is a future version.
Gg957605.privmethod(en-us,AX.60).gif Gg957605.static(en-us,AX.60).gif ::setUpdateMode Sets the global cache variable that is identified by the key that is specified in the derived class.
Top

Each feature or module that must provide its own implementation of date effectivity must extend this base class.

Community Additions

ADD
Show: