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.
Checks if TDS taxes are applicable to the combination of journals.
Syntax
public boolean canCalculateTDS(
LedgerJournalACType _accountType,
LedgerJournalACType _offsetAccountType,
AmountCur _amountCurDebit,
AmountCur _amountCurCredit,
LedgerJournalAC _account,
LedgerJournalAC _offsetAccount,
LedgerJournalType _ledgerJournalType,
[DimensionDynamicAccount _OffsetLedgerDimension,
DimensionDynamicAccount _ledgerDimension])
Run On
Server
Parameters
- _accountType
Type: LedgerJournalACType Enumeration
The LedgerJournalACType value for AccountType.
- _offsetAccountType
Type: LedgerJournalACType Enumeration
The LedgerJournalACType value for OffsetAccountType.
- _amountCurDebit
Type: AmountCur Extended Data Type
The AmountCurDebit value.
- _amountCurCredit
Type: AmountCur Extended Data Type
The AmountCurCredit value.
- _account
Type: LedgerJournalAC Extended Data Type
The AccountNum value.
- _offsetAccount
Type: LedgerJournalAC Extended Data Type
The OffsetAccountNum value.
- _ledgerJournalType
Type: LedgerJournalType Enumeration
The LedgerJournalType value.
- _OffsetLedgerDimension
Type: DimensionDynamicAccount Extended Data Type
The OffsetLedgerDimension value.
- _ledgerDimension
Type: DimensionDynamicAccount Extended Data Type
The LedgerDimension value
Return Value
Type: boolean
true, if TDS taxes are applicable to the combination of journals otherwise, false.