Share via


SalesTable2LineField::construct Method [AX 2012]

Creates an instance of the SalesTable2LineField 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
          client server public static SalesTable2LineField construct(TableId _tableId, FieldId _fieldId)

  Microsoft Dynamics AX 2012 R2 (SYS)
          client server public static SalesTable2LineField construct(TableId _tableId, FieldId _fieldId)

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          client server public static SalesTable2LineField construct(FieldId _fieldId)

  Microsoft Dynamics AX 2012 (FPK)
          client server public static SalesTable2LineField construct(FieldId _fieldId)

  Microsoft Dynamics AX 2012 (SYS)
          client server public static SalesTable2LineField construct(FieldId _fieldId)

Run On

Called

Parameters

Return Value

Type: SalesTable2LineField Class
An instance of the SalesTable2LineField class.

Remarks

Typically, the _tableId parameter is set to the table ID of the SalesTable table. However, it can also be the ID of any other table that is related to the SalesTable table, such as the SalesTable_RU table.

See Also

Reference

SalesTable2LineField Class