Element Path: <cwt><ARTICLETARIFFGROUP><timeControlledPackage>
The timeControlledPackage element creates a connection to a tariff package that shall be automatically selected based on the system time and the day type. To be able to add two such tariff packages to the article tariff group it is necessary to create two timeControlledPackage elements.
attribute
tariffPackageName
Value: | Any character |
Default: | – |
Description: | The name of the tariff package to be added as a time selected tariff package to the article tariff group. |
Example:
Set-up that has two different time-controlled tariff packages. To activate the time-controlled package, you need to add a time rule for each package (see Time rule for a full Example: with time rules). The article tariff group below is defined for article with id 0.
<ARTICLETARIFFGROUP articleTariffGroupId="0" articleId="0">
<timeControlledPackage tariffPackageName="TariffPackage1"/>
<timeControlledPackage tariffPackageName="TariffPackage2"/>
- - -
</ARTICLETARIFFGROUP>