User Tools

Site Tools


en:lensorder:version010600:complextypes:item

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:lensorder:version010600:complextypes:item [2013/05/01 16:57] sebastianraringen:lensorder:version010600:complextypes:item [2013/05/23 14:08] (current) sebastianraring
Line 1: Line 1:
 +====== item (Item) ======
 +
 +[[en:lensorder:version010600:structure|b2boptic]] -> [[en:lensorder:version010600:structure|items]] -> item
 +
 +{{:en:lensorder:version010600:complextypes:xsd_item.png?nolink|Item}}
 +
 +^ remark ^^
 +^ type | string |
 +^ occurs | 0..1 |
 +^ description | comments of the customer to this order |
 +
 +^ [[en:lensorder:version010600:complextypes:account:item|parties]] ^^
 +^ type | [[en:lensorder:version010600:complextypes:account|Account]] |
 +^ occurs | 0..n |
 +^ description | overrides the defaults of [[en:lensorder:version010600:complextypes:account:orderparties|orderParties]] |
 +
 +^ //[[en:lensorder:version010600:simpletypes:roles:item|role]] (attribute of parties)// ^^
 +^ type | [[en:lensorder:version010600:simpletypes:roles|Roles]] |
 +^ use | required |
 +^ description |  |
 +
 +^ referenceNo ^^
 +^ type | string |
 +^ occurs | 1 |
 +^ description | job number by customer |
 +
 +^ referenceText ^^
 +^ type | string |
 +^ occurs | 0..1 |
 +^ description | commission of the order by customer |
 +
 +^ requestedDate ^^
 +^ type | date |
 +^ occurs | 0..1 |
 +^ description | day when the order should be delivered, if possible |
 +
 +^ manufacturer ^^
 +^ type | string |
 +^ occurs | 1 |
 +^ description | name of manufacturer |
 +
 +^ [[en:lensorder:version010600:complextypes:pair|pair]] ^^
 +^ type | [[en:lensorder:version010600:complextypes:pair|Pair]] |
 +^ occurs | 1 |
 +^ description | order lenses for end customer |
 +
 +^ [[en:lensorder:version010600:complextypes:stocklens|stockLens]] ^^
 +^ type | [[en:lensorder:version010600:complextypes:stocklens|StockLens]] |
 +^ occurs | 1 |
 +^ description | order lenses for stock |
 +
 +^ options ^^
 +^ occurs | 0..1 |
 +^ description |  |
 +
 +^ insurance (element of options) ^^
 +^ type | boolean |
 +^ occurs | 0..1 |
 +^ default | false |
 +^ description | the lenses of pair or stockLens should be delivered with insurance |
 +
 +^ multiplePair ^^
 +^ occurs | 0..1 |
 +^ description | the ordered lenses are related to another order, e.g. for discount |
 +
 +^ referenceNo (element of multiplePair) ^^
 +^ type | string |
 +^ occurs | 1 |
 +^ description | the referenceNo of the order that this are related to |
 +
 +^ referenceCountNo (element of multiplePair) ^^
 +^ type | integer |
 +^ occurs | 1 |
 +^ description | a counter of related orders to the first one (1: first order; 2: first order that is related to the order with 1) |
 +
 +<code xml>
 +<xs:complexType name="Item">
 +  <xs:sequence>
 +    <xs:element name="remark" type="xs:string" minOccurs="0"/>
 +    <xs:element name="parties" minOccurs="0" maxOccurs="unbounded">
 +      <xs:complexType>
 +        <xs:complexContent>
 +          <xs:extension base="Account">
 +            <xs:attribute name="role" type="Roles" use="required"/>
 +          </xs:extension>
 +        </xs:complexContent>
 +      </xs:complexType>
 +    </xs:element>
 +    <xs:element name="referenceNo" type="xs:string"/>
 +    <xs:element name="referenceText" type="xs:string" minOccurs="0"/>
 +    <xs:element name="requestedDate" type="xs:date" minOccurs="0"/>
 +    <xs:element name="manufacturer" type="xs:string"/>
 +    <xs:choice>
 +      <xs:element name="pair" type="Pair"/>
 +      <xs:element name="stockLens" type="StockLens"/>
 +    </xs:choice>
 +    <xs:element name="options" minOccurs="0">
 +      <xs:complexType>
 +        <xs:sequence>
 +          <xs:element name="insurance" type="xs:boolean" default="false" minOccurs="0"/>
 +        </xs:sequence>
 +      </xs:complexType>
 +    </xs:element>
 +    <xs:element name="multiplePair" minOccurs="0">
 +      <xs:complexType>
 +        <xs:sequence>
 +          <xs:element name="referenceNo" type="xs:string"/>
 +          <xs:element name="referenceCountNo" type="xs:integer"/>
 +        </xs:sequence>
 +      </xs:complexType>
 +    </xs:element>
 +  </xs:sequence>
 +</xs:complexType>
 +</code>