Markup.postChargeAndVendorLedger Method [AX 2012]
Posts the markup on the specified charge account and offsets the stock variation account if credit type is Item and a debit ledger dimension is defined.
Syntax
protected void postChargeAndVendorLedger(
MarkupTable _markupTable,
MarkupTrans _markupTrans,
AmountCur _postAmount,
CurrencyExchangeHelper _exchangeRateHelper)
Run On
Server
Parameters
- _markupTable
Type: MarkupTable Table
The markup table record to use for the posting.
- _markupTrans
Type: MarkupTrans Table
The markup transaction record to use for the posting.
- _postAmount
Type: AmountCur Extended Data Type
The amount to post.
- _exchangeRateHelper
Type: CurrencyExchangeHelper Class
A CurrencyExchangeHelper object.