LoadTaxSet transformer

Creates a new integer entry in a row with given name and value is an id of the tax set.

Methods:

  • get_first - gets the first tax set

  • by_name - gets the tax set by name, requires the from attribute

Usage:

<load-tax-set method="get_first" to="targetFieldName" />
<load-tax-set method="by_name" from="sourceFieldName" to="targetFieldName" />

Attributes:

  • to - name of the field to be created

Optional attributes:

  • method - method to be used to load tax set, default = “get_first”

  • from - name of the field with the value for the method, only required if method does support it