Compartilhar via


COSWorkDistributionLine::find Method

Find the specified record in the COSWorkDistributionLine table.

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 COSWorkDistributionLine find(
            COSVersionID _cosVersionID, 
            COSUnitID _cosUnitID, 
            COSDebitCodeId _cosDebitCodeId, 
            COSPriority _cosPriority, 
            COSCostDimensionCode _dimensionCodeDC, 
            COSCostDimensionValue _sysDimDN, 
           [boolean _forUpdate])

  Microsoft Dynamics AX 2012 R2 (SYS)
          client server public static COSWorkDistributionLine find(
            COSVersionID _cosVersionID, 
            COSUnitID _cosUnitID, 
            COSDebitCodeId _cosDebitCodeId, 
            COSPriority _cosPriority, 
            COSCostDimensionCode _dimensionCodeDC, 
            COSCostDimensionValue _sysDimDN, 
           [boolean _forUpdate])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          client server public static COSWorkDistributionLine find(
            COSVersionID _cosVersionID, 
            COSUnitID _cosUnitID, 
            COSDebitCodeId _cosDebitCodeId, 
            COSCostDimensionCode _dimensionCodeDC, 
            COSCostDimensionValue _sysDimDN, 
           [boolean _forUpdate])

  Microsoft Dynamics AX 2012 (FPK)
          client server public static COSWorkDistributionLine find(
            COSVersionID _cosVersionID, 
            COSUnitID _cosUnitID, 
            COSDebitCodeId _cosDebitCodeId, 
            COSCostDimensionCode _dimensionCodeDC, 
            COSCostDimensionValue _sysDimDN, 
           [boolean _forUpdate])

  Microsoft Dynamics AX 2012 (SYS)
          client server public static COSWorkDistributionLine find(
            COSVersionID _cosVersionID, 
            COSUnitID _cosUnitID, 
            COSDebitCodeId _cosDebitCodeId, 
            COSCostDimensionCode _dimensionCodeDC, 
            COSCostDimensionValue _sysDimDN, 
           [boolean _forUpdate])

Run On

Called

Parameters

  • _forUpdate
    Type: boolean
    A Boolean value that indicates whether to read the record for update; optional.

Return Value

Type: COSWorkDistributionLine Table
A record in the COSWorkDistributionLine table; otherwise, an empty record.

Remarks

This method now uses the activity priority as a criterion.

See Also

Reference

COSWorkDistributionLine Table