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 derived TaxPost record that is based on the transaction.
Syntax
server public static TaxPost newForSourceTypeWithTaxCalculation(
TaxSourceType _sourceType,
Object _initializationClass,
NoYes _post,
TaxCalculation _taxCalculation)
Run On
Server
Parameters
- _sourceType
Type: TaxSourceType Enumeration
The type of the transaction posting taxes.
- _initializationClass
Type: Object Class
The initialization class for the given transaction.
This is a different class for each transaction.
- _post
Type: NoYes Enumeration
A Boolean value that specifies whether the TaxTrans and Ledger entries will be made.
- _taxCalculation
Type: TaxCalculation Class
The tax will post using the tax lines in the table that are specified by the _taxCalculation parameter.
Return Value
Type: TaxPost Class
The appropriate TaxPost record that is based on the calling transaction.
Remarks
The instance uses the TaxUncommitted records to post.