ProjPost::newCreateProjTransItem Method [AX 2012]

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

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.
_ledgerVoucher
Type: LedgerVoucher Class
The ledger items for posting.
_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.
_notReduceForecast
Type: NoYes Enumeration
_inventTransId
Type: InventTransId Extended Data Type
_salesQty
Type: SalesQty Extended Data Type

Return Value

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

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.

Show: