Inside Automation Engine > XML Files of Objects > Calendar > Calendar Keywords

 Calendar Keywords

This document includes examples for the specific XML elements of the calendar keywords.

Static

Example:

<Keyword CType="S" ErrMsgInsert="" ErrMsgNr="0" MsgNr="0" SType="" ValidFrom="2003-01-01 00:00:00" ValidTo="2007-01-31 00:00:00" name="STATIC1" state="1">
<Static>
<Month mm="01" yyyy="2006">04,05,10</Month>
</Static>
</Keyword>

 


Yearly

Example:

Fill-in method: "On defined Calendar days"

<Keyword CType="Y" ErrMsgInsert="" ErrMsgNr="0" MsgNr="0" SType="A" ValidFrom="2006-01-01 00:00:00" ValidTo="2007-12-31 00:00:00" name="YEARLY1" state="1">
<Dynamic Direction="B" Interval="0" IntervalEnd="" IntervalStart="" Period="1" PeriodEnd="0" PeriodStart="2006">
<DefDays>1.1;17.7;16.7;15.7;31.12</DefDays>
</Dynamic>
</Keyword>

Fill-in method: "In a defined interval"

<Keyword CType="Y" ErrMsgInsert="" ErrMsgNr="0" MsgNr="0" SType="I" ValidFrom="2006-01-01 00:00:00" ValidTo="2006-12-31 00:00:00" name="YEARLY2" state="1">
<Dynamic Direction="B" Interval="11" IntervalEnd="0106" IntervalStart="0103" Period="2" PeriodEnd="0" PeriodStart="2006">
<DefDays/>
</Dynamic>
</Keyword>

 


Monthly

Example:

Fill-in method: "On defined Calendar days"

<Keyword CType="M" ErrMsgInsert="" ErrMsgNr="0" MsgNr="0" SType="A" ValidFrom="2004-01-01 00:00:00" ValidTo="2007-12-31 00:00:00" name="MONTHLY1" state="1">
<Dynamic Direction="E" Interval="0" IntervalEnd="" IntervalStart="" Period="1" PeriodEnd="6" PeriodStart="1">
<DefDays>5</DefDays>
</Dynamic>
</Keyword>

Fill-in method: "In a defined interval"

<Keyword CType="M" ErrMsgInsert="" ErrMsgNr="0" MsgNr="0" SType="I" ValidFrom="2004-01-01 00:00:00" ValidTo="2007-12-31 00:00:00" name="MONTHLY2" state="1">
<Dynamic Direction="B" Interval="12" IntervalEnd="31" IntervalStart="1" Period="1" PeriodEnd="10" PeriodStart="9">
<DefDays/>
</Dynamic>
</Keyword>

 


Weekly

Example:

<Keyword CType="W" ErrMsgInsert="" ErrMsgNr="0" MsgNr="0" SType="A" ValidFrom="2004-01-01 00:00:00" ValidTo="2007-12-31 00:00:00" name="WEEKLY1" state="1">
<Dynamic Direction="" Interval="0" IntervalEnd="" IntervalStart="" Period="1" PeriodEnd="10" PeriodStart="5">
<DefDays>WE</DefDays>
</Dynamic>
</Keyword>

 


Group

Example:

<Keyword CType="G" ErrMsgInsert="" ErrMsgNr="0" MsgNr="0" SType="" ValidFrom="2004-01-01 00:00:00" ValidTo="2007-12-31 00:00:00" name="GROUP" state="1">
<Group>
<A flag="1">
<row CaleKeyName="WORKDAYS" CaleName="FIRM.CALENDAR" id="1533008"/>
</A>
<N flag="0"/>
<O flag="1">
<row CaleKeyName="WORKDAYS_SHIFT01" CaleName="FIRM.CALENDAR" id="1533008"/>
</O>
</Group>
</Keyword>

 


Roll

Example:

<Keyword CType="R" ErrMsgInsert="" ErrMsgNr="0" MsgNr="0" SType="" ValidFrom="2005-01-01 00:00:00" ValidTo="2006-12-31 00:00:00" name="ROLL" state="1">
<Roll RCaleAdjust="0" RCaleIdnr="1535009" RCaleNameKey="LAST_OF_A_MONTH" RCaleName="CALENDAR_2006" RCaleOffset="1" RCaleOperator="+" RCaleRef="0" RCaleRefIdnr="0" RRCaleNameKey="" RRCaleName="">
<Collisions>
<row CaleIdnr="" CaleKeyName="WEEKEND" CaleName="CALENDAR_2006" Offset="0" Operator="-" RCaleIdnr="1533008" RCaleKeyName="WORKDAYS" RCaleName="FIRM.CALENDAR" id="1535009"/>
<row CaleIdnr="" CaleKeyName="CHRISTMAS" CaleName="UC_HOLIDAYS.A" Offset="0" Operator="-" RCaleIdnr="1533008" RCaleKeyName="WORKDAYS" RCaleName="FIRM.CALENDAR" id="97"/>
</Collisions>
</Roll>
</Keyword>

 

See also:

XML File Structure for Imports and Exports