ProjAccountDetailHistoryDP.setTransactionText Method [AX 2012]

Sets the transaction text on the ProjTmpAccountDetailHistory table.

NoteNote

The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.


  Microsoft Dynamics AX 2012 R3
          private boolean setTransactionText(
            ProjTransactionOrigin _projTransactionOrigin, 
            Num _transId, 
           [ProjId _projId, 
            Voucher _voucher, 
            CategoryId _categoryId, 
            SourceDocumentLineRecId _sourceDocumentLineId])

  Microsoft Dynamics AX 2012 R2 (SYS)
          private boolean setTransactionText(
            ProjTransactionOrigin _projTransactionOrigin, 
            Num _transId, 
           [ProjId _projId, 
            Voucher _voucher, 
            CategoryId _categoryId])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          private boolean setTransactionText(
            ProjTransactionOrigin _projTransactionOrigin, 
            Num _transId, 
           [ProjId _projId, 
            Voucher _voucher, 
            CategoryId _categoryId])

  Microsoft Dynamics AX 2012 (FPK)
          private void setTransactionText(
            ProjTransactionOrigin _projTransactionOrigin, 
            Num _transId, 
           [ProjId _projId, 
            Voucher _voucher])

Run On

Server

Parameters

_projTransactionOrigin
Type: ProjTransactionOrigin Extended Data Type
An element of the ProjTransactionOrigin enumeration value.
_transId
Type: Num Extended Data Type
The transaction ID that filters the type of project record.
_projId
Type: ProjId Extended Data Type
The project ID that obtains the description of budget allocation transaction.
_voucher
Type: Voucher Extended Data Type
The voucher that obtains the description of budget allocation transaction.
_categoryId
Type: CategoryId Extended Data Type
The category ID number that is used to get the description of budget allocation transaction specific to ALE.
_sourceDocumentLineId
Type: SourceDocumentLineRecId Extended Data Type

Return Value

Type: boolean
true if a match is found for project origin; otherwise, false

ExceptionCondition
Error

The element of the ProjTransactionOrigin enumeration value that passed into the method was invalid.

Community Additions

ADD
Show: