COSWorkDistributionLine::exist Method
Checks whether the specified record in the COSWorkDistributionLine table exists.
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 exist(
COSVersionID _cosVersionID,
COSUnitID _cosUnitID,
COSDebitCodeId _cosDebitCodeId,
COSPriority _cosPriority,
COSCostDimensionCode _dimensionCodeDC,
COSCostDimensionValue _sysDimDN)
Microsoft Dynamics AX 2012 R2 (SYS)
client server public static boolean exist(
COSVersionID _cosVersionID,
COSUnitID _cosUnitID,
COSDebitCodeId _cosDebitCodeId,
COSPriority _cosPriority,
COSCostDimensionCode _dimensionCodeDC,
COSCostDimensionValue _sysDimDN)
Microsoft Dynamics AX 2012 Feature Pack (SYS)
client server public static boolean exist(
COSVersionID _cosVersionID,
COSUnitID _cosUnitID,
COSDebitCodeId _cosDebitCodeId,
COSCostDimensionCode _dimensionCodeDC,
COSCostDimensionValue _sysDimDN)
Microsoft Dynamics AX 2012 (FPK)
client server public static boolean exist(
COSVersionID _cosVersionID,
COSUnitID _cosUnitID,
COSDebitCodeId _cosDebitCodeId,
COSCostDimensionCode _dimensionCodeDC,
COSCostDimensionValue _sysDimDN)
Microsoft Dynamics AX 2012 (SYS)
client server public static boolean exist(
COSVersionID _cosVersionID,
COSUnitID _cosUnitID,
COSDebitCodeId _cosDebitCodeId,
COSCostDimensionCode _dimensionCodeDC,
COSCostDimensionValue _sysDimDN)
Run On
Called
Parameters
- _cosVersionID
Type: COSVersionID Extended Data Type
The version ID of the record to check.
- _cosUnitID
Type: COSUnitID Extended Data Type
The unit ID of the record to check.
- _cosDebitCodeId
Type: COSDebitCodeId Enumeration
The debit code ID of the record to check.
- _cosPriority
Type: COSPriority Extended Data Type
The activity priority of the record to check.
- _dimensionCodeDC
Type: COSCostDimensionCode Extended Data Type
The cost dimension code of the record to check.
- _sysDimDN
Type: COSCostDimensionValue Extended Data Type
The code dimension value of the record to check.
Return Value
Type: boolean
true if the specified record exists; otherwise, false.
Remarks
This method now uses the activity priority as a criterion.