Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
TaxParameters Class
Namespace
blng
TaxParameters Methods
The TaxParameters class includes these methods.
setLegalEntityReferences(legalEntityReference)
Signature
global static void setLegalEntityReferences(String legalEntityReference)
Parameters
- legalEntityReference
- Type: String
- Unique identification number of the legal entity.
Return Value
Type: void
setIsCommitOnGetTax(isCommitOnGetTax)
Usage
If the Automatically Post Invoices checkbox is selected on the Invoice Scheduler, tax providers examine the isCommitOnGetTax parameter to commit the tax.
The isCommitOnGetTax parameter value is configured within the Taxparameter instance and transmitted to the external tax provider implementation.
Signature
global static Void setIsCommitOnGetTax(Boolean isCommitOnGetTax)
Parameters
- isCommitOnGetTax
- Type: Boolean
- Indicates to external tax providers whether to commit tax on the Get Tax method (true) or not (false).
Return Value
Type: Void