Share via


SysTranslationHelper.new Method [AX 2012]

Initializes the translation common class.

Syntax

Note

The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.

  Microsoft Dynamics AX 2012 R3
          public void new(
            TableId _mainTableId, 
            TableId _translationTableId, 
           [boolean _useMainTableForSystemTranslation])

  Microsoft Dynamics AX 2012 R2 (SYS)
          public void new(TableId _mainTableId, TableId _translationTableId)

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          public void new(TableId _mainTableId, TableId _translationTableId)

  Microsoft Dynamics AX 2012 (FPK)
          public void new(TableId _mainTableId, TableId _translationTableId)

  Microsoft Dynamics AX 2012 (SYS)
          public void new(TableId _mainTableId, TableId _translationTableId)

Run On

Called

Parameters

  • _mainTableId
    Type: TableId Extended Data Type
    An instance of the TableId data type that indicates the table ID of the main table.
  • _translationTableId
    Type: TableId Extended Data Type
    An instance of the TableId data type that indicates the table ID of the translation table.
  • _useMainTableForSystemTranslation
    Type: boolean

Remarks

The natural key field is optional because the system will be able to automatically evaluate it. But, in case the user wants to specify the field, he can also do so by passing values in the main field.

See Also

Reference

SysTranslationHelper Class