Bozza aggiunta KIT in IS di Colcom
This commit is contained in:
Generated
+1553
File diff suppressed because it is too large
Load Diff
+140
-1
@@ -79,6 +79,102 @@ SELECT IdxRequest, DtRequest, DataType, ValueIN, ValueOUT FROM TransitoDati WHER
|
||||
</DbSource>
|
||||
</Sources>
|
||||
</TableAdapter>
|
||||
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="AnagKITTableAdapter" GeneratorDataComponentClassName="AnagKITTableAdapter" Name="AnagKIT" UserDataComponentName="AnagKITTableAdapter">
|
||||
<MainSource>
|
||||
<DbSource ConnectionRef="MoonPro_IS_ConnectionString (Settings)" DbObjectName="MoonPro_IS_ColCom.dbo.AnagKIT" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
|
||||
<DeleteCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>DELETE FROM [dbo].[AnagKIT] WHERE (([CodArtParent] = @Original_CodArtParent))</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodArtParent" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodArtParent" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</DeleteCommand>
|
||||
<InsertCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>INSERT INTO [dbo].[AnagKIT] ([CodArtParent]) VALUES (@CodArtParent);
|
||||
SELECT CodArtParent FROM AnagKIT WHERE (CodArtParent = @CodArtParent)</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodArtParent" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodArtParent" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</InsertCommand>
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>SELECT CodArtParent FROM dbo.AnagKIT</CommandText>
|
||||
<Parameters />
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
<UpdateCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>UPDATE [dbo].[AnagKIT] SET [CodArtParent] = @CodArtParent WHERE (([CodArtParent] = @Original_CodArtParent));
|
||||
SELECT CodArtParent FROM AnagKIT WHERE (CodArtParent = @CodArtParent)</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodArtParent" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodArtParent" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodArtParent" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodArtParent" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</UpdateCommand>
|
||||
</DbSource>
|
||||
</MainSource>
|
||||
<Mappings>
|
||||
<Mapping SourceColumn="CodArtParent" DataSetColumn="CodArtParent" />
|
||||
</Mappings>
|
||||
<Sources />
|
||||
</TableAdapter>
|
||||
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="CompKITTableAdapter" GeneratorDataComponentClassName="CompKITTableAdapter" Name="CompKIT" UserDataComponentName="CompKITTableAdapter">
|
||||
<MainSource>
|
||||
<DbSource ConnectionRef="MoonPro_IS_ConnectionString (Settings)" DbObjectName="MoonPro_IS_ColCom.dbo.CompKIT" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
|
||||
<DeleteCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>DELETE FROM [dbo].[CompKIT] WHERE (([CodArtParent] = @Original_CodArtParent) AND ([CodArtChild] = @Original_CodArtChild) AND ([Qty] = @Original_Qty))</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodArtParent" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodArtParent" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodArtChild" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodArtChild" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Qty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Qty" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</DeleteCommand>
|
||||
<InsertCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>INSERT INTO [dbo].[CompKIT] ([CodArtParent], [CodArtChild], [Qty]) VALUES (@CodArtParent, @CodArtChild, @Qty);
|
||||
SELECT CodArtParent, CodArtChild, Qty FROM CompKIT WHERE (CodArtChild = @CodArtChild) AND (CodArtParent = @CodArtParent)</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodArtParent" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodArtParent" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodArtChild" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodArtChild" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Qty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Qty" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</InsertCommand>
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>SELECT CodArtParent, CodArtChild, Qty FROM dbo.CompKIT</CommandText>
|
||||
<Parameters />
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
<UpdateCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>UPDATE [dbo].[CompKIT] SET [CodArtParent] = @CodArtParent, [CodArtChild] = @CodArtChild, [Qty] = @Qty WHERE (([CodArtParent] = @Original_CodArtParent) AND ([CodArtChild] = @Original_CodArtChild) AND ([Qty] = @Original_Qty));
|
||||
SELECT CodArtParent, CodArtChild, Qty FROM CompKIT WHERE (CodArtChild = @CodArtChild) AND (CodArtParent = @CodArtParent)</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodArtParent" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodArtParent" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodArtChild" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodArtChild" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Qty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Qty" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodArtParent" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodArtParent" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodArtChild" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodArtChild" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Qty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Qty" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</UpdateCommand>
|
||||
</DbSource>
|
||||
</MainSource>
|
||||
<Mappings>
|
||||
<Mapping SourceColumn="CodArtParent" DataSetColumn="CodArtParent" />
|
||||
<Mapping SourceColumn="CodArtChild" DataSetColumn="CodArtChild" />
|
||||
<Mapping SourceColumn="Qty" DataSetColumn="Qty" />
|
||||
</Mappings>
|
||||
<Sources />
|
||||
</TableAdapter>
|
||||
</Tables>
|
||||
<Sources />
|
||||
</DataSource>
|
||||
@@ -87,7 +183,7 @@ SELECT IdxRequest, DtRequest, DataType, ValueIN, ValueOUT FROM TransitoDati WHER
|
||||
<xs:element name="DS_IntServ" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DS_IntServ" msprop:Generator_UserDSName="DS_IntServ">
|
||||
<xs:complexType>
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="TransitoDati" msprop:Generator_TableClassName="TransitoDatiDataTable" msprop:Generator_TableVarName="tableTransitoDati" msprop:Generator_RowChangedName="TransitoDatiRowChanged" msprop:Generator_TablePropName="TransitoDati" msprop:Generator_RowDeletingName="TransitoDatiRowDeleting" msprop:Generator_RowChangingName="TransitoDatiRowChanging" msprop:Generator_RowEvHandlerName="TransitoDatiRowChangeEventHandler" msprop:Generator_RowDeletedName="TransitoDatiRowDeleted" msprop:Generator_RowClassName="TransitoDatiRow" msprop:Generator_UserTableName="TransitoDati" msprop:Generator_RowEvArgName="TransitoDatiRowChangeEvent">
|
||||
<xs:element name="TransitoDati" msprop:Generator_TableClassName="TransitoDatiDataTable" msprop:Generator_TableVarName="tableTransitoDati" msprop:Generator_TablePropName="TransitoDati" msprop:Generator_RowDeletingName="TransitoDatiRowDeleting" msprop:Generator_RowChangingName="TransitoDatiRowChanging" msprop:Generator_RowEvHandlerName="TransitoDatiRowChangeEventHandler" msprop:Generator_RowDeletedName="TransitoDatiRowDeleted" msprop:Generator_UserTableName="TransitoDati" msprop:Generator_RowChangedName="TransitoDatiRowChanged" msprop:Generator_RowEvArgName="TransitoDatiRowChangeEvent" msprop:Generator_RowClassName="TransitoDatiRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="IdxRequest" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnIdxRequest" msprop:Generator_ColumnPropNameInRow="IdxRequest" msprop:Generator_ColumnPropNameInTable="IdxRequestColumn" msprop:Generator_UserColumnName="IdxRequest" type="xs:int" />
|
||||
@@ -116,11 +212,54 @@ SELECT IdxRequest, DtRequest, DataType, ValueIN, ValueOUT FROM TransitoDati WHER
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="AnagKIT" msprop:Generator_TableClassName="AnagKITDataTable" msprop:Generator_TableVarName="tableAnagKIT" msprop:Generator_TablePropName="AnagKIT" msprop:Generator_RowDeletingName="AnagKITRowDeleting" msprop:Generator_RowChangingName="AnagKITRowChanging" msprop:Generator_RowEvHandlerName="AnagKITRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagKITRowDeleted" msprop:Generator_UserTableName="AnagKIT" msprop:Generator_RowChangedName="AnagKITRowChanged" msprop:Generator_RowEvArgName="AnagKITRowChangeEvent" msprop:Generator_RowClassName="AnagKITRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="CodArtParent" msprop:Generator_ColumnVarNameInTable="columnCodArtParent" msprop:Generator_ColumnPropNameInRow="CodArtParent" msprop:Generator_ColumnPropNameInTable="CodArtParentColumn" msprop:Generator_UserColumnName="CodArtParent">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="CompKIT" msprop:Generator_TableClassName="CompKITDataTable" msprop:Generator_TableVarName="tableCompKIT" msprop:Generator_TablePropName="CompKIT" msprop:Generator_RowDeletingName="CompKITRowDeleting" msprop:Generator_RowChangingName="CompKITRowChanging" msprop:Generator_RowEvHandlerName="CompKITRowChangeEventHandler" msprop:Generator_RowDeletedName="CompKITRowDeleted" msprop:Generator_UserTableName="CompKIT" msprop:Generator_RowChangedName="CompKITRowChanged" msprop:Generator_RowEvArgName="CompKITRowChangeEvent" msprop:Generator_RowClassName="CompKITRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="CodArtParent" msprop:Generator_ColumnVarNameInTable="columnCodArtParent" msprop:Generator_ColumnPropNameInRow="CodArtParent" msprop:Generator_ColumnPropNameInTable="CodArtParentColumn" msprop:Generator_UserColumnName="CodArtParent">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="CodArtChild" msprop:Generator_ColumnVarNameInTable="columnCodArtChild" msprop:Generator_ColumnPropNameInRow="CodArtChild" msprop:Generator_ColumnPropNameInTable="CodArtChildColumn" msprop:Generator_UserColumnName="CodArtChild">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="Qty" msprop:Generator_ColumnVarNameInTable="columnQty" msprop:Generator_ColumnPropNameInRow="Qty" msprop:Generator_ColumnPropNameInTable="QtyColumn" msprop:Generator_UserColumnName="Qty" type="xs:int" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
|
||||
<xs:selector xpath=".//mstns:TransitoDati" />
|
||||
<xs:field xpath="mstns:IdxRequest" />
|
||||
</xs:unique>
|
||||
<xs:unique name="AnagKIT_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
|
||||
<xs:selector xpath=".//mstns:AnagKIT" />
|
||||
<xs:field xpath="mstns:CodArtParent" />
|
||||
</xs:unique>
|
||||
<xs:unique name="CompKIT_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
|
||||
<xs:selector xpath=".//mstns:CompKIT" />
|
||||
<xs:field xpath="mstns:CodArtParent" />
|
||||
<xs:field xpath="mstns:CodArtChild" />
|
||||
</xs:unique>
|
||||
</xs:element>
|
||||
</xs:schema>
|
||||
@@ -6,7 +6,9 @@
|
||||
</autogenerated>-->
|
||||
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="0" ViewPortY="0" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||
<Shapes>
|
||||
<Shape ID="DesignTable:TransitoDati" ZOrder="1" X="143" Y="127" Height="227" Width="255" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="145" />
|
||||
<Shape ID="DesignTable:TransitoDati" ZOrder="3" X="143" Y="127" Height="227" Width="255" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="145" />
|
||||
<Shape ID="DesignTable:AnagKIT" ZOrder="2" X="648" Y="149" Height="112" Width="227" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="54" />
|
||||
<Shape ID="DesignTable:CompKIT" ZOrder="1" X="630" Y="335" Height="158" Width="232" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="99" />
|
||||
</Shapes>
|
||||
<Connectors />
|
||||
</DiagramLayout>
|
||||
Reference in New Issue
Block a user