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
- _cosVersionID
Type: COSVersionID Extended Data Type
The version ID of the record to find.
- _cosUnitID
Type: COSUnitID Extended Data Type
The unit ID of the record to find.
- _cosDebitCodeId
Type: COSDebitCodeId Enumeration
The debit code ID of the record to find.
- _cosPriority
Type: COSPriority Extended Data Type
The activity priority of the record to find.
- _dimensionCodeDC
Type: COSCostDimensionCode Extended Data Type
The cost dimension code of the record to find.
- _sysDimDN
Type: COSCostDimensionValue Extended Data Type
The cost dimension value of the record to find.
- _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.