Share via


ReleaseUpdateDB::addTableDependency Method [AX 2012]

Adds a table dependency for scripts whose table dependencies cannot be set using upgrade attributes.

Syntax

server public static void addTableDependency(
    ClassId _scriptClassId, 
    MethodName _scriptMethod, 
    TableName _tableName, 
   [boolean _readonly])

Run On

Server

Parameters

  • _readonly
    Type: boolean
    A Boolean value that indicates whether the script only has read access on the table; optional.

Remarks

This method can be called by any PreSync script to set up the dependencies on tables.

This method should only be used for some special scripts whose dependencies cannot be set by using the attributes.

See Also

Reference

ReleaseUpdateDB Class