Element Path: <cwt><ARTICLETARIFFGROUP>
The article tariff group is a private tariff group that is connected to a specific article. To make use of an article tariff group the attribute useCommonTariffs in ARTICLE must be set to false (see Article element for details on articles). To connect different tariff packages to different articles it is necessary to create one article tariff group per article defined in the system.
attributes
articleId
Description: | The id of the article for which the article tariff group is created. This must be the id of one of the defined articles in the CWT. |
articleTariffGroupId
Description: | The identifier of the article tariff group. Set to 0 for the first article tariff group defined for an article. |
articleTariffGroupName
Description: | The name of the Article Tariff Group |
endDate
Value: | A valid date in format YYYY-MM-DD |
Description: | The date when the article-tariff-group validity ends. Up to this date, tariffs can be selected from the article tariff group. |
startDate
Value: | A valid date in format YYYY-MM-DD |
Description: | The date when the article tariff group starts to be valid. From this date, tariffs can be selected from the article tariff group. |
Example:
Setup of an article tariff group for article with id 0 that allows selection of tariff packages from 2008-11-01 to 2009-03-01. In the article tariff group, the tariff package “TariffPackage1” is defined as a tariff package that is possible to select by buttons in the user interface:
<ARTICLETARIFFGROUP articleTariffGroupId="0" articleId="0"
startDate="2008-11-01" endDate="2009-03-01">
<buttonControlledPackage id="0" tariffPackageName="TariffPackage1"/>
</ARTICLETARIFFGROUP>