Files
ayanova7/source/bizobjects/AyaLib/PartInventoryAdjustmentDetailedSchema.xsd
2018-06-29 19:47:36 +00:00

60 lines
2.9 KiB
XML

<?xml version="1.0" standalone="yes" ?>
<xs:schema id="NewDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xs:element name="NewDataSet" msdata:IsDataSet="true">
<xs:complexType>
<xs:choice maxOccurs="unbounded">
<xs:element name="PartInventoryAdjustment">
<xs:complexType>
<xs:sequence>
<xs:element name="LT_PartInventoryAdjustment_Label_AdjustmentNumber" type="xs:string" minOccurs="0" />
<xs:element name="LT_PartInventoryAdjustment_Label_DateAdjusted" msdata:DateTimeMode="Unspecified" type="xs:dateTime" minOccurs="0" />
<xs:element name="ID" msdata:DataType="System.Guid, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
type="xs:string" minOccurs="0" />
<xs:element name="LT_PartInventoryAdjustment_Label_ReasonForAdjustment" type="xs:string" minOccurs="0" />
<xs:element name="LT_Common_Label_Creator" type="xs:string" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Item">
<xs:complexType>
<xs:sequence>
<xs:element name="LT_O_PartWarehouse" type="xs:string" minOccurs="0" />
<xs:element name="LT_O_Part" type="xs:string" minOccurs="0" />
<xs:element name="LT_PartInventoryAdjustmentItem_Label_QuantityAdjustment" type="xs:decimal"
minOccurs="0" />
<xs:element name="ParentID" msdata:DataType="System.Guid, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
type="xs:string" minOccurs="0" />
<xs:element name="ItemID" msdata:DataType="System.Guid, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
type="xs:string" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="SN">
<xs:complexType>
<xs:sequence>
<xs:element name="ParentItemID" msdata:DataType="System.Guid, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
type="xs:string" minOccurs="0" />
<xs:element name="LT_Common_Label_SerialNumber" type="xs:string" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:unique name="PORKEY" msdata:PrimaryKey="true">
<xs:selector xpath=".//PartInventoryAdjustment" />
<xs:field xpath="ID" />
</xs:unique>
<xs:keyref name="PartInventoryAdjustmentItem" refer="PORKEY">
<xs:selector xpath=".//Item" />
<xs:field xpath="ParentID" />
</xs:keyref>
<xs:unique name="ITEMKEY" msdata:PrimaryKey="true">
<xs:selector xpath=".//Item" />
<xs:field xpath="ItemID" />
</xs:unique>
<xs:keyref name="ItemSN" refer="ITEMKEY">
<xs:selector xpath=".//SN" />
<xs:field xpath="ParentItemID" />
</xs:keyref>
</xs:element>
</xs:schema>