Compartir a través de


COSCostDistributionLine::exist Method

Checks whether the specified record in the COSCostDistributionLine 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, 
            COSDistributionLevel _cosDistributionLevel, 
            COSStructure _cosStructure, 
            COSDistributionReference _cosDistributionReference, 
            COSCostDimensionCode _dimensionCode, 
            COSCostDimensionValue _sysDim, 
            RefRecId _cosDistributionRecId)

  Microsoft Dynamics AX 2012 R2 (SYS)
          client server public static boolean exist(
            COSVersionID _cosVersionID, 
            COSDistributionLevel _cosDistributionLevel, 
            COSStructure _cosStructure, 
            COSDistributionReference _cosDistributionReference, 
            COSCostDimensionCode _dimensionCode, 
            COSCostDimensionValue _sysDim, 
            RefRecId _cosDistributionRecId)

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          client server public static boolean exist(
            COSVersionID _cosVersionID, 
            COSDistributionLevel _cosDistributionLevel, 
            COSStructure _cosStructure, 
            COSDistributionReference _cosDistributionReference, 
            COSCostDimensionCode _dimensionCode, 
            COSCostDimensionValue _sysDim)

  Microsoft Dynamics AX 2012 (FPK)
          client server public static boolean exist(
            COSVersionID _cosVersionID, 
            COSDistributionLevel _cosDistributionLevel, 
            COSStructure _cosStructure, 
            COSDistributionReference _cosDistributionReference, 
            COSCostDimensionCode _dimensionCode, 
            COSCostDimensionValue _sysDim)

  Microsoft Dynamics AX 2012 (SYS)
          client server public static boolean exist(
            COSVersionID _cosVersionID, 
            COSDistributionLevel _cosDistributionLevel, 
            COSStructure _cosStructure, 
            COSDistributionReference _cosDistributionReference, 
            COSCostDimensionCode _dimensionCode, 
            COSCostDimensionValue _sysDim)

Run On

Called

Parameters

  • _cosDistributionRecId
    Type: RefRecId Extended Data Type
    The ID of the COSCostDistribution record that is referenced by the record to check.

Return Value

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

Remarks

This method now uses the ID of the referenced COSCostDistribution record as a criterion.

See Also

Reference

COSCostDistributionLine Table