Share via


ProjPost::newCreateProjTransItem Method [AX 2012]

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

Syntax

server public static ProjPost newCreateProjTransItem(
    Common _buffer, 
    LedgerVoucher _ledgerVoucher, 
   [ProjAdjustRefId _projAdjustRefId, 
    NoYes _notReduceForecast, 
    InventTransId _inventTransId, 
    SalesQty _salesQty])

Run On

Server

Parameters

  • _buffer
    Type: Common Table
    The table for the transaction type.
  • _projAdjustRefId
    Type: ProjAdjustRefId Extended Data Type
    The project identifier that is associated with the item. May be set to nullNothingnullptrunita null reference (Nothing in Visual Basic). The default value is an empty string.

Return Value

Type: ProjPost Class
A new ProjPost object for inventory item transactions.

Remarks

This method is only valid for the tables CustPackingSlipsTrans, ProjProposalItem, and InventJournalTrans. 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