Share via


ProjPost::newCreateProjTransItemAdjustNeg Method [AX 2012]

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

Syntax

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.
  • _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.

Return Value

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

Remarks

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.

See Also

Reference

ProjPost Class