Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- _amount
Type: AmountCur Extended Data Type
The AmountCur.
- _accountType
Type: LedgerJournalACType Enumeration
The AccountType.
- _offsetAccountType
Type: LedgerJournalACType Enumeration
The offsetAccountType.
- _amountCurDebit
Type: AmountCur Extended Data Type
The AmountCurDebit.
- _amountCurCredit
Type: AmountCur Extended Data Type
The AmountCurCredit.
- _taxType
Type: TaxWithholdCodeType_IN Enumeration
The TaxWithholdType.
- _ledgerJournalType
Type: LedgerJournalType Enumeration
The LedgerJournalType.
- _purchTypeCash
Type: boolean
The PurchTypeCash transaction.
- _settlementType
Type: SettlementType Enumeration
The SettlementType.
- _prepayment
Type: boolean
boolean, if prepayment is marked.
Return Value
Type: AmountMST Extended Data Type
TaxAmount after setting sign.