ProjPost::newCreateProjTransItemAdjustNeg Method [AX 2012]

Returns a new instance of ProjPost for posting a negative item adjustment to ledger entries.

server public static ProjPost newCreateProjTransItemAdjustNeg(
    Common _buffer, 
    LedgerVoucher _ledgerVoucher, 
    ProjAdjustRefId _projAdjustRefId, 
    ProjTransIdBase _transId)

Run On

Server

Parameters

_buffer
Type: Common Table
The table for the transaction type.
_ledgerVoucher
Type: LedgerVoucher Class
The ledger items for posting.
_projAdjustRefId
Type: ProjAdjustRefId Extended Data Type
The project identifier for adjustment posting. May be set to nullNothingnullptrunita null reference (Nothing in Visual Basic). The default value is an empty string; optional.
_transId
Type: ProjTransIdBase Extended Data Type
The identifier of the transaction to be adjusted; optional.

Return Value

Type: ProjPost Class
A new ProjPost object for a negative adjustment for an inventory item.

This method is only valid for the table TmpProjAdustmentCreate. Any other table that is passed in the _buffer parameter will throw the error: Project posting is not implemented for this type.

Show: