User Tools

Site Tools


en:lenscatalog:version070000:complextypes:b2bcatalogoption

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:lenscatalog:version070000:complextypes:b2bcatalogoption [2016/11/07 15:06] sebastianraringen:lenscatalog:version070000:complextypes:b2bcatalogoption [2017/08/16 10:56] (current) sebastianraring
Line 1: Line 1:
 +======B2BCatalogOption======
 +
 +[[en:lenscatalog:version070000:structure|b2bOpticLensCatalog]]->[[en:lenscatalog:version070000:complextypes:b2bcatalogoptions|options]]
 +
 +{{en:lenscatalog:version070000:images:b2bcatalogoption.png?nolink|B2BCatalogOption}}
 +
 +^code^^
 +^type |[[en:lenscatalog:version070000:simpletypes:b2bcatalogcode|B2BCatalogCode]] ^
 +^occurs |1 ^
 +^description | productcode of the option; max 20 characters with capitals or numerics; the option code needs to be unique in the catalog ^
 +
 +^oldCodes^^
 +^type |[[en:lenscatalog:version070000:complextypes:b2bcatalogoldcodes|B2BCatalogOldCodes]] ^
 +^occurs |0..1 ^
 +^description | reference to codes that were valid in old catalogs and the current option is the successor ^
 +
 +^names^^
 +^type |[[en:lenscatalog:version070000:complextypes:b2bcatalogproductnames|B2BCatalogProductNames]] ^
 +^occurs |1 ^
 +^description | productname of the option ^
 +
 +^groupIds^^
 +^type |[[en:lenscatalog:version070000:complextypes:b2bcataloggroupids|B2BCatalogGroupIds]] ^
 +^occurs |0..1 ^
 +^description | reference to a optiongroup by id; the option is member of this group ^
 +
 +^sorting^^
 +^type |xs:unsignedInt ^
 +^occurs |0..1 ^
 +^description | sorts the output in a user interface; the lowest number is at the top and the highest at the bottom ^
 +
 +^valid^^
 +^type |[[en:lenscatalog:version070000:complextypes:b2bcatalogdateperiod|B2BCatalogDatePeriod]] ^
 +^occurs |0..1 ^
 +^description | the validation timespan were this option is available and valid; if start and/or end is not set, the valid date of the catalog is used ^
 +
 +^coatingTypes^^
 +^type |[[en:lenscatalog:version070000:complextypes:b2bcatalogcoatingtypes|B2BCatalogCoatingTypes]] ^
 +^occurs |0..1 ^
 +^description | if the option is a coating, then the type and variable attributes are here specified ^
 +
 +^optionTypes^^
 +^type |[[en:lenscatalog:version070000:complextypes:b2bcatalogoptiontypes|B2BCatalogOptionTypes]] ^
 +^occurs |0..1 ^
 +^description | if the option representing a supplement then the kind is here specified ^
 +
 +^singleLensOrder^^
 +^type |union of [[en:lenscatalog:version070000:simpletypes:b2bcatalogsinglelensorder|B2BCatalogSingleLensOrder]] and [[en:lenscatalog:version070000:simpletypes:b2bcatalogderivedfromlens|B2BCatalogDerivedFromLens]] ^
 +^occurs |0..1 ^
 +^default | SAME_AS_LENS ^
 +^description | specify if a lens with this option can be ordered as single lens or only as pair; to order a single lens, the lens and every selected option have to allow the single lens ordering ^
 +
 +^brand^^
 +^type |union of [[en:lenscatalog:version070000:simpletypes:b2bcatalogbrands|B2BCatalogBrands]] and [[en:lenscatalog:version070000:simpletypes:b2bcatalogderivedfromlens|B2BCatalogDerivedFromLens]] ^
 +^occurs |0..1 ^
 +^default | SAME_AS_LENS ^
 +^description | describes the brand classification of the option; this has no impact on validation or combination ^
 +
 +^opticalProperties^^
 +^type |[[en:lenscatalog:version070000:complextypes:b2bcatalogopticalproperties|B2BCatalogOpticalProperties]] ^
 +^occurs |0..1 ^
 +^description | if the option is a coating (e.g. color), it describes the optical properties ^
 +
 +^trafficRestrictions^^
 +^type |[[en:lenscatalog:version070000:simpletypes:b2bcatalogtrafficrestrictiontypes|B2BCatalogTrafficRestrictionTypes]] ^
 +^occurs |0..1 ^
 +^default | NONE ^
 +^description | describes the traffic suitability according DIN EN ISO 14880 ^
 +
 +^priceGroupIds^^
 +^type |[[en:lenscatalog:version070000:complextypes:b2bcatalogpricegroupids|B2BCatalogPriceGroupIds]] ^
 +^occurs |0..1 ^
 +^description | reference to a group of prices by id ^
 +
 +^order^^
 +^type |[[en:lenscatalog:version070000:complextypes:b2bcatalogonlineorder|B2BCatalogOnlineOrder]] ^
 +^occurs |0..1 ^
 +^description | specifies how a lens with this option can be ordered; for a lens with options, the result is positive if it is set for the lens and every selected option (AND operation) ^
 +
 +^sendCode^^
 +^type |[[en:lenscatalog:version070000:simpletypes:b2bcatalogordersendtypes|B2BCatalogOrderSendTypes]] ^
 +^occurs |0..1 ^
 +^description | specifies if the productcode (element code) is transfered at an order; the default is that every code is transfered ^
 +
 +^discountable^^
 +^type |[[en:lenscatalog:version070000:simpletypes:b2bcatalogboolwithsameaslens|B2BCatalogBoolWithSameAsLens]] ^
 +^occurs |0..1 ^
 +^default | SAME_AS_LENS ^
 +^description | specifies if an agreed discount will be considered on the price of the option ^
 +
 +^orderOptions^^
 +^type |[[en:lenscatalog:version070000:complextypes:b2bcatalogorderoptionids|B2BCatalogOrderOptionIds]] ^
 +^occurs |0..1 ^
 +^description |reference to orderOption by id^
 +
 +^orderOptionRangeIds^^
 +^type |[[en:lenscatalog:version070000:complextypes:b2bcatalogorderoptionrangeids|B2BCatalogOrderOptionRangeIds]] ^
 +^occurs |0..1 ^
 +^description | reference to orderOptionRanges by id ^
 +
 +^informationIds^^
 +^type |[[en:lenscatalog:version070000:complextypes:b2bcataloginformationids|B2BCatalogInformationIds]] ^
 +^occurs |0..1 ^
 +^description | reference to information entries by id ^
 +
 +^internal^^
 +^type |xs:anyType ^
 +^occurs |0..1 ^
 +^description | place for internal extension; elements below internal are not part of the format and should not be used in official catalogs and inter-company use ^
 +
 +<code xml>
 +<xs:complexType name="B2BCatalogOption">
 +  <xs:sequence>
 +    <xs:element name="code" type="B2BCatalogCode"/>
 +    <xs:element minOccurs="0" name="oldCodes" type="B2BCatalogOldCodes"/>
 +    <xs:element name="names" type="B2BCatalogProductNames"/>
 +    <xs:element minOccurs="0" name="groupIds" type="B2BCatalogGroupIds"/>
 +    <xs:element minOccurs="0" name="sorting" type="xs:unsignedInt"/>
 +    <xs:element minOccurs="0" name="valid" type="B2BCatalogDatePeriod"/>
 +    <xs:element minOccurs="0" name="coatingTypes" type="B2BCatalogCoatingTypes"/>
 +    <xs:element minOccurs="0" name="optionTypes" type="B2BCatalogOptionTypes"/>
 +    <xs:element default="SAME_AS_LENS" minOccurs="0" name="singleLensOrder">
 +      <xs:simpleType>
 +        <xs:union memberTypes="B2BCatalogSingleLensOrder B2BCatalogDerivedFromLens"/>
 +      </xs:simpleType>
 +    </xs:element>
 +    <xs:element default="SAME_AS_LENS" minOccurs="0" name="brand">
 +      <xs:simpleType>
 +        <xs:union memberTypes="B2BCatalogBrands B2BCatalogDerivedFromLens"/>
 +      </xs:simpleType>
 +    </xs:element>
 +    <xs:element minOccurs="0" name="opticalProperties" type="B2BCatalogOpticalProperties"/>
 +    <xs:element default="NONE" minOccurs="0" name="trafficRestrictions" type="B2BCatalogTrafficRestrictionTypes"/>
 +    <xs:element minOccurs="0" name="priceGroupIds" type="B2BCatalogPriceGroupIds"/>
 +    <xs:element minOccurs="0" name="order">
 +      <xs:complexType>
 +        <xs:complexContent>
 +          <xs:extension base="B2BCatalogOnlineOrder">
 +            <xs:sequence>
 +              <xs:element default="MANDATORY" minOccurs="0" name="sendCode" type="B2BCatalogOrderSendTypes"/>
 +            </xs:sequence>
 +          </xs:extension>
 +        </xs:complexContent>
 +      </xs:complexType>
 +    </xs:element>
 +    <xs:element default="SAME_AS_LENS" minOccurs="0" name="discountable" type="B2BCatalogBoolWithSameAsLens"/>
 +    <xs:element name="orderOptions" type="B2BCatalogOrderOptionIds" minOccurs="0"/>
 +    <xs:element minOccurs="0" name="orderOptionRangeIds" type="B2BCatalogOrderOptionRangeIds"/>
 +    <xs:element minOccurs="0" name="informationIds" type="B2BCatalogInformationIds"/>
 +    <xs:element minOccurs="0" name="internal" type="xs:anyType"/>
 +  </xs:sequence>
 +</xs:complexType>
 +</code>