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.
Retrieves a new instance of the Tax class based on the transaction. This constructor causes tax to use the TaxUncommitted table to load and persist taxes.
Syntax
server public static TaxCalculation newForSourceTypeWithTaxUncommitted(
TaxSourceType _sourceType,
Object _initializationClass,
boolean _loadTaxUncommitted,
boolean _loadTaxTrans,
[boolean _maintainExistingTaxUncommitted])
Run On
Server
Parameters
- _sourceType
Type: TaxSourceType Enumeration
The type of the transaction to calculate taxes.
- _initializationClass
Type: Object Class
The initialization class for the given transaction.
This is a different class for each transaction.
- _loadTaxUncommitted
Type: boolean
A Boolean value that specifies whether during the construction to load the TaxUncommitted records into taxes TmpTaxWorkTrans buffer which enables most of the inquiry functions to work.
- _loadTaxTrans
Type: boolean
- _maintainExistingTaxUncommitted
Type: boolean
Return Value
Type: TaxCalculation Class
The correct Tax instance based on the calling transaction.