Share via


TaxWithholdCalculation_IN::setDirection Method [AX 2012]

Sets the sign of the TaxAmount.

Syntax

server public static AmountMST setDirection(
    AmountCur _amount, 
    LedgerJournalACType _accountType, 
    LedgerJournalACType _offsetAccountType, 
    AmountCur _amountCurDebit, 
    AmountCur _amountCurCredit, 
    TaxWithholdCodeType_IN _taxType, 
   [LedgerJournalType _ledgerJournalType, 
    boolean _purchTypeCash, 
    SettlementType _settlementType, 
    boolean _prepayment])

Run On

Server

Parameters

  • _purchTypeCash
    Type: boolean
    The PurchTypeCash transaction.
  • _prepayment
    Type: boolean
    boolean, if prepayment is marked.

Return Value

Type: AmountMST Extended Data Type
TaxAmount after setting sign.

See Also

Reference

TaxWithholdCalculation_IN Class