# MTTariffProps

## Program ID

MetraPipeline.MTTariffProps.1

## Description

The MTTariffProps plug-in looks up the Currency code for a given Tariff ID. It may be extended in the future to look up additional Tariff properties.

## Required Input Properties

Tag Name | Value Type | Description
TariffID | Long | The ID of the Tariff. The list of possible IDs are maintained by the Tariff collection. Possible values are 0 and greater.

## Required Output Properties

Tag Name | Value Type | Description
UomID | String | The currency for the Tariff.

## Additional Configuration Tags

Tag Name | Value Type | Description
tariffs_file | String | The location of the Tariff collection XML file relative to the root MetraTech configuration directory. This value should be "Tariffs\AllTariffs.xml".

## Configuration Example

<configdata>
<TariffID>tariffID</TariffID>
<UomID>_Currency</UomID>
<tariffs_file>Tariffs\AllTariffs.xml</tariffs_file>
</configdata>

## Remarks

- The Tariffs_file value must be "Tariffs\AllTariffs.xml"

- The Tariff object may be deprecated in the future in lieu of enhanced products and plans functionality.