TaxSettlement_IN::checkServiceTaxBasis Method [AX 2012]
Shud be called for settlemnt scenarios in service tax of any type.
This method is used to thro error if the service tax basis of item sales tax attached to invoice and payment that are participating in a settlemnt are not same. Eg, If Invoice = POT and Payment = CashBasis, then throw error.
Syntax
server public static void checkServiceTaxBasis(
Voucher _invoiceVoucher,
TransDate _invoiceDate,
Voucher _paymentVoucher,
TransDate _paymentDate)
Run On
Server
Parameters
- _invoiceVoucher
Type: Voucher Extended Data Type
The invoice voucher passed.
- _invoiceDate
Type: TransDate Extended Data Type
The invoice date passed.
- _paymentVoucher
Type: Voucher Extended Data Type
The payment voucher passed.
- _paymentDate
Type: TransDate Extended Data Type
The payment date passed.