<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="dsItemPOR" targetNamespace="http://tempuri.org/dsItemPOR.xsd" xmlns:mstns="http://tempuri.org/dsItemPOR.xsd" xmlns="http://tempuri.org/dsItemPOR.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="MySettings" AppSettingsPropertyName="SQLConnectionRPT" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="SQLConnectionRPT (MySettings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.Superbowl_Cronjob.My.MySettings.GlobalReference.Default.SQLConnectionRPT" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="dsItemPORTableAdapter" GeneratorDataComponentClassName="dsItemPORTableAdapter" Name="dsItemPOR" UserDataComponentName="dsItemPORTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="SQLConnectionRPT (MySettings)" DbObjectName="Superbowl.dbo.porItem" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        strItem, intQuantity, dblCost, dblTotal, GLCode + '-' + RegionGLCode + CASE WHEN BrandGLCode IS NOT NULL AND 
                         BrandGLCode &lt;&gt; '' THEN '-' + BrandGLCode ELSE '' END + CASE WHEN KeyAccountGLCode IS NOT NULL AND 
                         KeyAccountGLCode &lt;&gt; '' THEN '-' + KeyAccountGLCode ELSE '' END + CASE WHEN PEGLCode IS NOT NULL AND 
                         PEGLCode &lt;&gt; '' THEN '-' + PEGLCode ELSE '' END + CASE WHEN TMEGLCode IS
 NOT NULL AND 
                         TMEGLCode &lt;&gt; '' THEN '-' + TMEGLCode ELSE '' END AS GLCode
FROM            porItem
WHERE        (refRequisitionID = @RequisitionID)
ORDER BY strItem</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="RequisitionID" ColumnName="refRequisitionID" DataSourceName="Superbowl.dbo.porItem" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@RequisitionID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="refRequisitionID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="strItem" DataSetColumn="strItem" />
              <Mapping SourceColumn="dblCost" DataSetColumn="dblCost" />
              <Mapping SourceColumn="intQuantity" DataSetColumn="intQuantity" />
              <Mapping SourceColumn="dblTotal" DataSetColumn="dblTotal" />
              <Mapping SourceColumn="GLCode" DataSetColumn="GLCode" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="dsItemPOR" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="_dsItemPOR" msprop:Generator_UserDSName="dsItemPOR">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="dsItemPOR" msprop:Generator_TableClassName="dsItemPORDataTable" msprop:Generator_TableVarName="tabledsItemPOR" msprop:Generator_TablePropName="dsItemPOR" msprop:Generator_RowDeletingName="dsItemPORRowDeleting" msprop:Generator_RowChangingName="dsItemPORRowChanging" msprop:Generator_RowEvHandlerName="dsItemPORRowChangeEventHandler" msprop:Generator_RowDeletedName="dsItemPORRowDeleted" msprop:Generator_UserTableName="dsItemPOR" msprop:Generator_RowChangedName="dsItemPORRowChanged" msprop:Generator_RowEvArgName="dsItemPORRowChangeEvent" msprop:Generator_RowClassName="dsItemPORRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="strItem" msprop:Generator_ColumnVarNameInTable="columnstrItem" msprop:Generator_ColumnPropNameInRow="strItem" msprop:Generator_ColumnPropNameInTable="strItemColumn" msprop:Generator_UserColumnName="strItem">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="dblCost" msprop:Generator_ColumnVarNameInTable="columndblCost" msprop:Generator_ColumnPropNameInRow="dblCost" msprop:Generator_ColumnPropNameInTable="dblCostColumn" msprop:Generator_UserColumnName="dblCost" type="xs:double" />
              <xs:element name="intQuantity" msprop:Generator_ColumnVarNameInTable="columnintQuantity" msprop:Generator_ColumnPropNameInRow="intQuantity" msprop:Generator_ColumnPropNameInTable="intQuantityColumn" msprop:Generator_UserColumnName="intQuantity" type="xs:int" />
              <xs:element name="dblTotal" msprop:Generator_ColumnVarNameInTable="columndblTotal" msprop:Generator_ColumnPropNameInRow="dblTotal" msprop:Generator_ColumnPropNameInTable="dblTotalColumn" msprop:Generator_UserColumnName="dblTotal" type="xs:double" />
              <xs:element name="GLCode" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnGLCode" msprop:Generator_ColumnPropNameInRow="GLCode" msprop:Generator_ColumnPropNameInTable="GLCodeColumn" msprop:Generator_UserColumnName="GLCode" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="33" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
</xs:schema>