IDMW 2.0 XML-Schema Dokumentation
ACTIONS Element
IDMW 2.0 XML-Schema Dokumentation > T_NEW_CATALOG Element > FEATURE_DEFINITION Element > DECISIONS Element > DECISION Element > OPTION_COMBINATION Element : ACTIONS Element
Description

This element is used to determine actions that are executed under certain conditions.

Actions (ACTIONS) are instructions that are executed if a condition is met. The following actions can be executed:

§Direct, e.g. main fabric = "blue" (OPTION)

§the setting of feature values from another feature (FEATURE), e.g. ledge fabric = main fabric

§the calculation of options (e.g. sitting height + 5 cm).
This function is only available for dimension versions and takes place via a formula string that may contain parameters and values.
This requires the feature (e.g. sitting height) to be assigned with a parameter (e.g. "sh").
The measure parameter (MEASURE_PARAMETER) can be supplemented with a unit (MEASURE_UNIT). The formula (FORMULA_STRING) therefore only contains the parameters (e.g. planning width = 2 * st + sb, which means that the planning width results from the sitting width + 2 times the side element width)

 

 

 

Namespace (none)
Diagram
SET_MESSAGE Element SET_POS_COUNT_VALUE Element SET_FEATURE_DEFAULT_NULL Element SET_FEATURE Element SET_FEATURE_INVISIBLE Element SET_FEATURE_VISIBLE Element DISABLE_DECISION Element ENABLE_DECISION Element SET_FEATURE_FIXED Element SET_FEATURE_DEFAULT Element Choice ACTIONS Element
Overview
ACTIONS optional

This element is used to determine actions that are executed under certain conditions.

Actions (ACTIONS) are instructions that are executed if a condition is met. The following actions can be executed:

§Direct, e.g. main fabric = "blue" (OPTION)

§the setting of feature values from another feature (FEATURE), e.g. ledge fabric = main fabric

§the calculation of options (e.g. sitting height + 5 cm).
This function is only available for dimension versions and takes place via a formula string that may contain parameters and values.
This requires the feature (e.g. sitting height) to be assigned with a parameter (e.g. "sh").
The measure parameter (MEASURE_PARAMETER) can be supplemented with a unit (MEASURE_UNIT). The formula (FORMULA_STRING) therefore only contains the parameters (e.g. planning width = 2 * st + sb, which means that the planning width results from the sitting width + 2 times the side element width)

 

 

 

Choice 1..∞
SET_FEATURE_DEFAULT

This action is used to set standard options.

These can be filled if no value has been entered yet.

  • The following options are available for the setting of options:

- Direct, e.g. main fabric = "blue" (OPTION)

- the setting of option values from another feature (FEATURE), e.g. ledge fabric = main fabric

- the calculation of options.(e.g. seat height + 5 cm).
This function is only available for dimension versions and takes place via a formula string that may contain parameters and values.
This requires the feature (e.g. sitting height) to be assigned with a parameter (e.g. "sh").
The measure parameter (MEASURE_PARAMETER) can be supplemented with a unit (MEASURE_UNIT). The formula (FORMULA_STRING) therefore only contains the parameters (e.g. planning width = 2 * st + sb, which means that the planning width results from the sitting width + 2 times the side element width.

 

FEATURE_NO required Restriction of xs:nonNegativeInteger
This attribute is used to reference a feature.    D   nonNegativeInteger
   P   
   M   [0:999]
Choice
FEATURE_REF
This element references another feature for the setting of option values.
FEATURE_NO required Restriction of xs:nonNegativeInteger
This attribute is used to reference a feature.    D   nonNegativeInteger
   P   
   M   [0:999]
OPTION_REF
This element is used to reference an option (OPTION) that is directly set as standard.
OPTION_KEY required Restriction of xs:string
This attribute is used to reference an option.    D   string
   P   
   M   [1:30]
FORMULA_REF
This element is used to reference a formula for the calculation of standard values.
FORMULA_KEY required Restriction of xs:string
This attribute is used to reference a formula.    D   string
   P   
   M   [1:30]
SET_FEATURE_FIXED

This action is used to set options.

The following options are available for the setting of options:

- Direct, e.g. main fabric = "blue" (OPTION)

- the setting of option values from another feature (FEATURE), e.g. ledge fabric = main fabric

- the calculation of options.(e.g. seat height + 5 cm).
This function is only available for dimension versions and takes place via a formula string that may contain parameters and values.
This requires the feature (e.g. sitting height) to be assigned with a parameter (e.g. "sh").
The measure parameter (MEASURE_PARAMETER) can be supplemented with a unit (MEASURE_UNIT). The formula (FORMULA_STRING) therefore only contains the parameters (e.g. planning width = 2 * st + sb, which means that the planning width results from the sitting width + 2 times the side element width.

FEATURE_NO required Restriction of xs:nonNegativeInteger
This attribute is used to reference a feature.    D   nonNegativeInteger
   P   
   M   [0:999]
Choice
FEATURE_REF
This element references another feature for the setting of option values.
FEATURE_NO required Restriction of xs:nonNegativeInteger
This attribute is used to reference a feature.    D   nonNegativeInteger
   P   
   M   [0:999]
OPTION_REF
This element is used to reference an option (OPTION) that is set directly.
OPTION_KEY required Restriction of xs:string
This attribute is used to reference an option.    D   string
   P   
   M   [1:30]
FORMULA_REF
This element is used to reference a formula for the calculation of options.
FORMULA_KEY required Restriction of xs:string
This attribute is used to reference a formula.    D   string
   P   
   M   [1:30]
ENABLE_DECISION

This action activates rules.

DECISION_NO optional Restriction of xs:positiveInteger
This attribute is used to reference a rule.    D   positiveInteger
   P   
   M   [1:9999999999]
DISABLE_DECISION

This action deactivates rules.

DECISION_NO optional Restriction of xs:positiveInteger
This attribute is used to reference a rule.    D   positiveInteger
   P   
   M  [1:9999999999] 
SET_FEATURE_VISIBLE
This action makes features visible.
FEATURE_NO optional Restriction of xs:nonNegativeInteger
This attribute is used to reference a feature.    D   nonNegativeInteger
   P   
   M   [0:999]
SET_FEATURE_INVISIBLE
This action makes features invisible.
FEATURE_NO optional Restriction of xs:nonNegativeInteger
This attribute is used to reference a feature.    D   nonNegativeInteger
   P   
   M   [0:999]
SET_FEATURE
This action sets a value for an option of a feature. Contrary to „SET_FEATURE FIXED“, this value can be modified if permitted by the conditions.  This value rule also applies if the corresponding field was previously set to default or manual.
FEATURE_NO required Restriction of xs:nonNegativeInteger
This attribute is used to reference a feature.    D   nonNegativeInteger
   P   
   M   [0:999]
Choice
FEATURE_REF
This element references another feature for the setting of option values.
FEATURE_NO required Restriction of xs:nonNegativeInteger
This attribute is used to reference a feature.    D   nonNegativeInteger
   P   
   M   [0:999]
OPTION_REF
This element is used to reference an option (OPTION) that is set directly.
OPTION_KEY required Restriction of xs:string
This attribute is used to reference an option.    D   string
   P   
   M   [1:30]
FORMULA_REF
This element is used to reference a formula for the calculation of options.
FORMULA_KEY optional Restriction of xs:string
This attribute is used to reference a formula.    D   string
   P   
   M   [1:30]
SET_FEATURE_DEFAULT_NULL

This action is used to set standard options.

The default value only applies if the relevant feature field was previously blank.

FEATURE_NO required Restriction of xs:nonNegativeInteger
This attribute is used to reference a feature.    D   nonNegativeInteger
   P   
   M   [0:999]
Choice
FEATURE_REF
This element references another feature for the setting of NULL.
FEATURE_NO optional Restriction of xs:nonNegativeInteger
This attribute is used to reference a feature.    D   nonNegativeInteger
   P   
   M   [0:999]
OPTION_REF
This element is used to reference an option (OPTION) that is set to NULL.
OPTION_KEY optional Restriction of xs:string
This attribute is used to reference an option.    D   string
   P   
   M   [1:30]
FORMULA_REF
This element is used to reference a formula for the calculation of options.
FORMULA_KEY optional Restriction of xs:string
This attribute is used to reference a formula.    D   string
   P   
   M   [1:30]
SET_POS_COUNT_VALUE Restriction of xs:nonNegativeInteger
This version is used to set a quantity in the piece list.
This action must only be specified for rules with DECISION_TYPE = 3.
   D   nonNegativeInteger
   P   
   M   [0:9999]
SET_MESSAGE
This element is used to set a message for the purpose of triggering warnings or notices for certain feature combinations.
MESSAGE_NO required Restriction of xs:nonNegativeInteger
This attribute is used to reference a message.    D   nonNegativeInteger
   P   
   M   [0:999999]
Source
<xs:element name="ACTIONS" minOccurs="0" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType>
    <xs:choice maxOccurs="unbounded">
      <xs:element name="SET_FEATURE_DEFAULT">
        <xs:complexType>
          <xs:choice>
            <xs:element name="FEATURE_REF">
              <xs:complexType>
                <xs:attribute name="FEATURE_NO" use="required">
                  <xs:annotation>
                    <xs:documentation>use required aufgenommen, K. Rchter, 12.06.2015</xs:documentation>
                  </xs:annotation>
                  <xs:simpleType>
                    <xs:restriction base="xs:nonNegativeInteger">
                      <xs:minInclusive value="0" />
                      <xs:maxInclusive value="9999" />
                    </xs:restriction>
                  </xs:simpleType>
                </xs:attribute>
              </xs:complexType>
            </xs:element>
            <xs:element name="OPTION_REF">
              <xs:complexType>
                <xs:attribute name="OPTION_KEY" use="required">
                  <xs:annotation>
                    <xs:documentation>use required aufgenommen, K. Rchter, 12.06.2015</xs:documentation>
                  </xs:annotation>
                  <xs:simpleType>
                    <xs:restriction base="xs:string">
                      <xs:minLength value="1" />
                      <xs:maxLength value="30" />
                    </xs:restriction>
                  </xs:simpleType>
                </xs:attribute>
              </xs:complexType>
            </xs:element>
            <xs:element name="FORMULA_REF">
              <xs:complexType>
                <xs:attribute name="FORMULA_KEY" use="required">
                  <xs:annotation>
                    <xs:documentation>use required aufgenommen, K. Rchter, 12.06.2015</xs:documentation>
                  </xs:annotation>
                  <xs:simpleType>
                    <xs:restriction base="xs:string">
                      <xs:minLength value="1" />
                      <xs:maxLength value="30" />
                    </xs:restriction>
                  </xs:simpleType>
                </xs:attribute>
              </xs:complexType>
            </xs:element>
          </xs:choice>
          <xs:attribute name="FEATURE_NO" use="required">
            <xs:simpleType>
              <xs:restriction base="xs:nonNegativeInteger">
                <xs:minInclusive value="0" />
                <xs:maxInclusive value="9999" />
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:complexType>
      </xs:element>
      <xs:element name="SET_FEATURE_FIXED">
        <xs:complexType>
          <xs:choice>
            <xs:element name="FEATURE_REF">
              <xs:complexType>
                <xs:attribute name="FEATURE_NO" use="required">
                  <xs:annotation>
                    <xs:documentation>use required aufgenommen, K. Rchter, 12.06.2015</xs:documentation>
                  </xs:annotation>
                  <xs:simpleType>
                    <xs:restriction base="xs:nonNegativeInteger">
                      <xs:minInclusive value="0" />
                      <xs:maxInclusive value="9999" />
                    </xs:restriction>
                  </xs:simpleType>
                </xs:attribute>
              </xs:complexType>
            </xs:element>
            <xs:element name="OPTION_REF">
              <xs:complexType>
                <xs:attribute name="OPTION_KEY" use="required">
                  <xs:annotation>
                    <xs:documentation>use required aufgenommen, K. Rchter, 12.06.2015</xs:documentation>
                  </xs:annotation>
                  <xs:simpleType>
                    <xs:restriction base="xs:string">
                      <xs:minLength value="1" />
                      <xs:maxLength value="30" />
                    </xs:restriction>
                  </xs:simpleType>
                </xs:attribute>
              </xs:complexType>
            </xs:element>
            <xs:element name="FORMULA_REF">
              <xs:complexType>
                <xs:attribute name="FORMULA_KEY" use="required">
                  <xs:annotation>
                    <xs:documentation>use required aufgenommen, K. Rchter, 12.06.2015</xs:documentation>
                  </xs:annotation>
                  <xs:simpleType>
                    <xs:restriction base="xs:string">
                      <xs:minLength value="1" />
                      <xs:maxLength value="30" />
                    </xs:restriction>
                  </xs:simpleType>
                </xs:attribute>
              </xs:complexType>
            </xs:element>
          </xs:choice>
          <xs:attribute name="FEATURE_NO" use="required">
            <xs:simpleType>
              <xs:restriction base="xs:nonNegativeInteger">
                <xs:minInclusive value="0" />
                <xs:maxInclusive value="9999" />
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:complexType>
      </xs:element>
      <xs:element name="ENABLE_DECISION">
        <xs:complexType>
          <xs:attribute name="DECISION_NO">
            <xs:annotation>
              <xs:documentation>einheitlich auf 1 bis 9999999999 gesetzt, K. Richter 10.03.2015</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:positiveInteger">
                <xs:minInclusive value="1" />
                <xs:maxInclusive value="9999999999" />
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:complexType>
      </xs:element>
      <xs:element name="DISABLE_DECISION">
        <xs:complexType>
          <xs:attribute name="DECISION_NO">
            <xs:simpleType>
              <xs:restriction base="xs:positiveInteger">
                <xs:minInclusive value="1" />
                <xs:maxInclusive value="9999999999" />
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:complexType>
      </xs:element>
      <xs:element name="SET_FEATURE_VISIBLE">
        <xs:complexType>
          <xs:attribute name="FEATURE_NO">
            <xs:simpleType>
              <xs:restriction base="xs:nonNegativeInteger">
                <xs:minInclusive value="0" />
                <xs:maxInclusive value="9999" />
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:complexType>
      </xs:element>
      <xs:element name="SET_FEATURE_INVISIBLE">
        <xs:complexType>
          <xs:attribute name="FEATURE_NO">
            <xs:simpleType>
              <xs:restriction base="xs:nonNegativeInteger">
                <xs:minInclusive value="0" />
                <xs:maxInclusive value="9999" />
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:complexType>
      </xs:element>
      <xs:element name="SET_FEATURE">
        <xs:complexType>
          <xs:choice>
            <xs:element name="FEATURE_REF">
              <xs:complexType>
                <xs:attribute name="FEATURE_NO" use="required">
                  <xs:annotation>
                    <xs:documentation>use required aufgenommen, K. Rchter, 12.06.2015</xs:documentation>
                  </xs:annotation>
                  <xs:simpleType>
                    <xs:restriction base="xs:nonNegativeInteger">
                      <xs:minInclusive value="0" />
                      <xs:maxInclusive value="9999" />
                    </xs:restriction>
                  </xs:simpleType>
                </xs:attribute>
              </xs:complexType>
            </xs:element>
            <xs:element name="OPTION_REF">
              <xs:complexType>
                <xs:attribute name="OPTION_KEY" use="required">
                  <xs:annotation>
                    <xs:documentation>use required aufgenommen, K. Rchter, 12.06.2015</xs:documentation>
                  </xs:annotation>
                  <xs:simpleType>
                    <xs:restriction base="xs:string">
                      <xs:minLength value="1" />
                      <xs:maxLength value="30" />
                    </xs:restriction>
                  </xs:simpleType>
                </xs:attribute>
              </xs:complexType>
            </xs:element>
            <xs:element name="FORMULA_REF">
              <xs:complexType>
                <xs:attribute name="FORMULA_KEY">
                  <xs:simpleType>
                    <xs:restriction base="xs:string">
                      <xs:minLength value="1" />
                      <xs:maxLength value="30" />
                    </xs:restriction>
                  </xs:simpleType>
                </xs:attribute>
              </xs:complexType>
            </xs:element>
          </xs:choice>
          <xs:attribute name="FEATURE_NO" use="required">
            <xs:simpleType>
              <xs:restriction base="xs:nonNegativeInteger">
                <xs:minInclusive value="0" />
                <xs:maxInclusive value="9999" />
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:complexType>
      </xs:element>
      <xs:element name="SET_FEATURE_DEFAULT_NULL">
        <xs:complexType>
          <xs:choice>
            <xs:element name="FEATURE_REF">
              <xs:complexType>
                <xs:attribute name="FEATURE_NO">
                  <xs:simpleType>
                    <xs:restriction base="xs:nonNegativeInteger">
                      <xs:minInclusive value="0" />
                      <xs:maxInclusive value="9999" />
                    </xs:restriction>
                  </xs:simpleType>
                </xs:attribute>
              </xs:complexType>
            </xs:element>
            <xs:element name="OPTION_REF">
              <xs:complexType>
                <xs:attribute name="OPTION_KEY">
                  <xs:simpleType>
                    <xs:restriction base="xs:string">
                      <xs:minLength value="1" />
                      <xs:maxLength value="30" />
                    </xs:restriction>
                  </xs:simpleType>
                </xs:attribute>
              </xs:complexType>
            </xs:element>
            <xs:element name="FORMULA_REF">
              <xs:complexType>
                <xs:attribute name="FORMULA_KEY">
                  <xs:simpleType>
                    <xs:restriction base="xs:string">
                      <xs:minLength value="1" />
                      <xs:maxLength value="30" />
                    </xs:restriction>
                  </xs:simpleType>
                </xs:attribute>
              </xs:complexType>
            </xs:element>
          </xs:choice>
          <xs:attribute name="FEATURE_NO" use="required">
            <xs:simpleType>
              <xs:restriction base="xs:nonNegativeInteger">
                <xs:minInclusive value="0" />
                <xs:maxInclusive value="9999" />
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:complexType>
      </xs:element>
      <xs:element name="SET_POS_COUNT_VALUE">
        <xs:annotation>
          <xs:documentation>260--0--NEW</xs:documentation>
          <xs:documentation>Version Beta 2.0 Build 0, K. Richter 26.03.2014</xs:documentation>
          <xs:documentation>bestimmt, ob Unterposition gezogen wird</xs:documentation>
          <xs:documentation>setzt Anzahl</xs:documentation>
          <xs:documentation>darf nur von DECISION_TYPE 3 gesetzt werden</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:nonNegativeInteger">
            <xs:minInclusive value="0" />
            <xs:maxInclusive value="9999" />
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="SET_MESSAGE">
        <xs:annotation>
          <xs:documentation>260--0--NEW</xs:documentation>
          <xs:documentation>Version Beta 2.0 Build 0, K. Richter 26.03.2014</xs:documentation>
          <xs:documentation>bestimmt, ob Unterposition gezogen wird</xs:documentation>
          <xs:documentation>setzt Anzahl</xs:documentation>
          <xs:documentation>darf nur von DECISION_TYPE 4 gesetzt werden</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:attribute name="MESSAGE_NO" use="required">
            <xs:simpleType>
              <xs:restriction base="xs:nonNegativeInteger">
                <xs:minInclusive value="0" />
                <xs:maxInclusive value="999999" />
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:complexType>
      </xs:element>
    </xs:choice>
  </xs:complexType>
</xs:element>
See Also
OPTION_COMBINATION ElementDECISION ElementDECISIONS ElementFEATURE_DEFINITION ElementT_NEW_CATALOG ElementIDMW 2.0 XML-Schema Dokumentation