Share via


SalesTable2LineParameters::fieldEnabled Method

Checks whether a specified field is enabled.

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 boolean fieldEnabled(TableId _tableId, FieldId _fieldId)

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

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          client server public static boolean fieldEnabled(FieldId _fieldId)

  Microsoft Dynamics AX 2012 (FPK)
          client server public static boolean fieldEnabled(FieldId _fieldId)

  Microsoft Dynamics AX 2012 (SYS)
          client server public static boolean fieldEnabled(FieldId _fieldId)

Run On

Called

Parameters

Return Value

Type: boolean
true if the the fiels is enabled; otherwise false.

Remarks

Normally _tableId parameter should be SalesTable table ID.

But it can also be any other table related to SalesTable. For example: SalesTable_RU.

See Also

Reference

SalesTable2LineParameters Table