<xs:simpleType name="StockTypeCodeType">
<xs:annotation>
<xs:appinfo>DF+2009-11-13+Updated: Added Stock group to segment collection for Lagrange</xs:appinfo>
<xs:documentation xml:lang="EN">To define the type of stock because business rules may apply differently whether stock is allotment at vendor or actually acuqired by distributor for instance. * Freesell:</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="Allotment">
<xs:annotation>
<xs:documentation xml:lang="EN">A certain allotment of the global stock has been reserved for the distributor, but without commitment. In case not all is sold, it is automatically back in the global stock a certain agreed number of days before the date corresponding to the stock.</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="Commitment">
<xs:annotation>
<xs:documentation xml:lang="EN">A certain allotment of the global stock has been reserved and will be paid directly by the distributor. There is therefore a commitment by the distributor.</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="Freesell">
<xs:annotation>
<xs:documentation xml:lang="EN">This is not a true stock in fact but it corresponds to a quantity that has been sold or may be sold. It can be used in simulations in relation with quantities, as an indicator for business rules ...</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="Inventory">
<xs:annotation>
<xs:documentation xml:lang="EN">An inventory corresponds to the envelope to a colleciotn of stocks, sharing a number of common properties, except stock specific information.</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType> |