Compartir a través de


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

Return Value

Type: boolean
true if the specified record exists; otherwise, false.

Remarks

This method now uses the activity priority as a criterion.

See Also

Reference

COSWorkDistributionLine Table