ProjTransferPrice::findTransferPrice Method
Returns the transfer price based on information provided in the parameters.
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 CostPrice findTransferPrice(
RefRecId _workerRecId,
DataAreaId _projectLegalEntity,
RefRecId _projTable,
RefRecId _projCategory,
ProjLinePropertyId _linePropertyId,
[TransDate _transDate,
DataAreaId _workerDataAreaId,
CurrencyCode _transferCurrency,
ProjInvoiceTableRecId _contract,
CostPrice _costPrice,
SalesPrice _salesPrice,
ProjTransferPriceTransType _transType])
Microsoft Dynamics AX 2012 R2 (SYS)
client server public static Price findTransferPrice(
RefRecId _workerRecId,
DataAreaId _projectLegalEntity,
RefRecId _projTable,
RefRecId _projCategory,
ProjLinePropertyId _linePropertyId,
[TransDate _transDate,
DataAreaId _workerDataAreaId])
Microsoft Dynamics AX 2012 Feature Pack (SYS)
client server public static Price findTransferPrice(
RefRecId _workerRecId,
DataAreaId _projectLegalEntity,
RefRecId _projTable,
RefRecId _projCategory,
ProjLinePropertyId _linePropertyId,
[TransDate _transDate])
Run On
Called
Parameters
- _workerRecId
Type: RefRecId Extended Data Type
The worker record id where you want to get the transfer price for.
- _projectLegalEntity
Type: DataAreaId Extended Data Type
The project's legal entity
- _projTable
Type: RefRecId Extended Data Type
The record id of project.
- _projCategory
Type: RefRecId Extended Data Type
The record id of category.
- _linePropertyId
Type: ProjLinePropertyId Extended Data Type
The line property id used in the transaction.
- _transDate
Type: TransDate Extended Data Type
Transaction date where you want to get the effect date transfer price; optional.
- _workerDataAreaId
Type: DataAreaId Extended Data Type
The worker's Legal Entity dataAreaId; optional.
- _transferCurrency
Type: CurrencyCode Extended Data Type
The currency the transfer price will be in.
- _contract
Type: ProjInvoiceTableRecId Extended Data Type
The contract associated to the project on the transaction; optional.
- _costPrice
Type: CostPrice Extended Data Type
The cost price of the transaction in the resouce's company accounting currency; optional.
- _salesPrice
Type: SalesPrice Extended Data Type
The sales price used by the contracting company expresssed in the transfer currency; optional.
- _transType
Type: ProjTransferPriceTransType Enumeration
The transaction type the transfer price relates to; optional.
Return Value
Type: CostPrice Extended Data Type
The transfer price.