- completata 265 x GMW
- update SQL con GMW_00265.sql - bugfix vari git-svn-id: https://keyhammer.ath.cx/svn/GMW/trunk@270 365432ac-a1b5-4ffd-bb28-6d3099d32164
This commit is contained in:
@@ -14,7 +14,5 @@ namespace GMW
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,6 +4,7 @@ using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using SteamWare;
|
||||
|
||||
namespace GMW
|
||||
{
|
||||
@@ -12,6 +13,11 @@ namespace GMW
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
mod_statoMagLogico1.eh_selValore += new EventHandler(mod_statoMagLogico1_eh_selValore);
|
||||
// se non è postback resetto variabili...
|
||||
if (!Page.IsPostBack)
|
||||
{
|
||||
memLayer.ML.emptySessionVal("CodMagLogico_sel");
|
||||
}
|
||||
}
|
||||
|
||||
void mod_statoMagLogico1_eh_selValore(object sender, EventArgs e)
|
||||
|
||||
@@ -4,6 +4,7 @@ using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using SteamWare;
|
||||
|
||||
namespace GMW
|
||||
{
|
||||
@@ -12,6 +13,11 @@ namespace GMW
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
mod_statoMag1.eh_selValore += new EventHandler(mod_statoMag1_eh_selValore);
|
||||
// se non è postback resetto variabili...
|
||||
if (!Page.IsPostBack)
|
||||
{
|
||||
memLayer.ML.emptySessionVal("CodMag_sel");
|
||||
}
|
||||
}
|
||||
|
||||
void mod_statoMag1_eh_selValore(object sender, EventArgs e)
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
<td>
|
||||
<uc1:mod_filtro ID="mod_filtroMag" runat="server" changeCheckEnabled="false" changeCheckVisible="false"
|
||||
changeSelEnabled="false" Oneh_selValore="eh_selectedMagazzino" />
|
||||
mostrare solo mag >0
|
||||
<asp:ObjectDataSource ID="odsFiltroMag" runat="server" OldValuesParameterFormatString="Original_{0}"
|
||||
SelectMethod="getByConditio" TypeName="GMW_data.DS_UtilityTableAdapters.v_selMagTableAdapter">
|
||||
<SelectParameters>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+64
-64
@@ -158,7 +158,7 @@ WHERE (value = @value)</CommandText>
|
||||
<Mapping SourceColumn="Data" DataSetColumn="Data" />
|
||||
</Mappings>
|
||||
<Sources>
|
||||
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="GMW.BatchQueue.stp_batch_RapQual_S01" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="stp_batch_RapQual_S01" Modifier="Public" Name="stp_batch_RapQual_S01" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy8" UserSourceName="stp_batch_RapQual_S01">
|
||||
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="GMW.BatchQueue.stp_batch_RapQual_S01" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="stp_batch_RapQual_S01" Modifier="Public" Name="stp_batch_RapQual_S01" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="stp_batch_RapQual_S01">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>BatchQueue.stp_batch_RapQual_S01</CommandText>
|
||||
@@ -169,7 +169,7 @@ WHERE (value = @value)</CommandText>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="GMW.BatchQueue.stp_batch_RapQual_S02" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="stp_batch_RapQual_S02" Modifier="Public" Name="stp_batch_RapQual_S02" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy9" UserSourceName="stp_batch_RapQual_S02">
|
||||
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="GMW.BatchQueue.stp_batch_RapQual_S02" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="stp_batch_RapQual_S02" Modifier="Public" Name="stp_batch_RapQual_S02" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="stp_batch_RapQual_S02">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>BatchQueue.stp_batch_RapQual_S02</CommandText>
|
||||
@@ -179,7 +179,7 @@ WHERE (value = @value)</CommandText>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="GMW.dbo.stp_celleCreaMancantiBlocco" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="stp_celleCreaMancantiBlocco" Modifier="Public" Name="stp_celleCreaMancantiBlocco" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="stp_celleCreaMancantiBlocco">
|
||||
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="GMW.dbo.stp_celleCreaMancantiBlocco" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="stp_celleCreaMancantiBlocco" Modifier="Public" Name="stp_celleCreaMancantiBlocco" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="stp_celleCreaMancantiBlocco">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_celleCreaMancantiBlocco</CommandText>
|
||||
@@ -193,7 +193,7 @@ WHERE (value = @value)</CommandText>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="GMW.dbo.stp_ContaCelle4Blocchi" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorGetMethodName="GetDataBy1" GeneratorSourceName="stp_ContaCelle4Blocchi" Modifier="Public" Name="stp_ContaCelle4Blocchi" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="stp_ContaCelle4Blocchi">
|
||||
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="GMW.dbo.stp_ContaCelle4Blocchi" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorGetMethodName="GetDataBy1" GeneratorSourceName="stp_ContaCelle4Blocchi" Modifier="Public" Name="stp_ContaCelle4Blocchi" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy3" UserSourceName="stp_ContaCelle4Blocchi">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_ContaCelle4Blocchi</CommandText>
|
||||
@@ -206,7 +206,7 @@ WHERE (value = @value)</CommandText>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="GMW.dbo.stp_ContaCelle4Tipo" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="stp_ContaCelle4Tipo" Modifier="Public" Name="stp_ContaCelle4Tipo" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="stp_ContaCelle4Tipo">
|
||||
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="GMW.dbo.stp_ContaCelle4Tipo" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="stp_ContaCelle4Tipo" Modifier="Public" Name="stp_ContaCelle4Tipo" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy4" UserSourceName="stp_ContaCelle4Tipo">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_ContaCelle4Tipo</CommandText>
|
||||
@@ -219,7 +219,7 @@ WHERE (value = @value)</CommandText>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="GMW.dbo.stp_ContaCelleBlocco" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="stp_ContaCelleBlocco" Modifier="Public" Name="stp_ContaCelleBlocco" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy3" UserSourceName="stp_ContaCelleBlocco">
|
||||
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="GMW.dbo.stp_ContaCelleBlocco" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="stp_ContaCelleBlocco" Modifier="Public" Name="stp_ContaCelleBlocco" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy5" UserSourceName="stp_ContaCelleBlocco">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_ContaCelleBlocco</CommandText>
|
||||
@@ -234,7 +234,7 @@ WHERE (value = @value)</CommandText>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="GMW.dbo.stp_ContaCelleCapa" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="stp_ContaCelleCapa" Modifier="Public" Name="stp_ContaCelleCapa" QueryType="Scalar" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy4" UserSourceName="stp_ContaCelleCapa">
|
||||
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="GMW.dbo.stp_ContaCelleCapa" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="stp_ContaCelleCapa" Modifier="Public" Name="stp_ContaCelleCapa" QueryType="Scalar" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy6" UserSourceName="stp_ContaCelleCapa">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_ContaCelleCapa</CommandText>
|
||||
@@ -247,7 +247,7 @@ WHERE (value = @value)</CommandText>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="GMW.dbo.stp_ContaCelleCreate" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="stp_ContaCelleCreate" Modifier="Public" Name="stp_ContaCelleCreate" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy5" UserSourceName="stp_ContaCelleCreate">
|
||||
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="GMW.dbo.stp_ContaCelleCreate" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="stp_ContaCelleCreate" Modifier="Public" Name="stp_ContaCelleCreate" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy7" UserSourceName="stp_ContaCelleCreate">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_ContaCelleCreate</CommandText>
|
||||
@@ -260,7 +260,7 @@ WHERE (value = @value)</CommandText>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="GMW.dbo.stp_ContaDeltaCelleBlocco" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="stp_ContaDeltaCelleBlocco" Modifier="Public" Name="stp_ContaDeltaCelleBlocco" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy6" UserSourceName="stp_ContaDeltaCelleBlocco">
|
||||
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="GMW.dbo.stp_ContaDeltaCelleBlocco" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="stp_ContaDeltaCelleBlocco" Modifier="Public" Name="stp_ContaDeltaCelleBlocco" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy8" UserSourceName="stp_ContaDeltaCelleBlocco">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_ContaDeltaCelleBlocco</CommandText>
|
||||
@@ -272,7 +272,7 @@ WHERE (value = @value)</CommandText>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="GMW.dbo.stp_UDC_delibera" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="stp_UDC_delibera" Modifier="Public" Name="stp_UDC_delibera" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy7" UserSourceName="stp_UDC_delibera">
|
||||
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="GMW.dbo.stp_UDC_delibera" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="stp_UDC_delibera" Modifier="Public" Name="stp_UDC_delibera" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy9" UserSourceName="stp_UDC_delibera">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_UDC_delibera</CommandText>
|
||||
@@ -489,21 +489,21 @@ WHERE (conditio = @conditio)</CommandText>
|
||||
<xs:element name="v_selMag" msprop:Generator_UserTableName="v_selMag" msprop:Generator_RowDeletedName="v_selMagRowDeleted" msprop:Generator_RowChangedName="v_selMagRowChanged" msprop:Generator_RowClassName="v_selMagRow" msprop:Generator_RowChangingName="v_selMagRowChanging" msprop:Generator_RowEvArgName="v_selMagRowChangeEvent" msprop:Generator_RowEvHandlerName="v_selMagRowChangeEventHandler" msprop:Generator_TableClassName="v_selMagDataTable" msprop:Generator_TableVarName="tablev_selMag" msprop:Generator_RowDeletingName="v_selMagRowDeleting" msprop:Generator_TablePropName="v_selMag">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInTable="valueColumn">
|
||||
<xs:element name="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
|
||||
<xs:element name="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="conditio" msprop:Generator_UserColumnName="conditio" msprop:Generator_ColumnPropNameInRow="conditio" msprop:Generator_ColumnVarNameInTable="columnconditio" msprop:Generator_ColumnPropNameInTable="conditioColumn">
|
||||
<xs:element name="conditio" msprop:Generator_UserColumnName="conditio" msprop:Generator_ColumnVarNameInTable="columnconditio" msprop:Generator_ColumnPropNameInRow="conditio" msprop:Generator_ColumnPropNameInTable="conditioColumn">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="2" />
|
||||
@@ -516,22 +516,22 @@ WHERE (conditio = @conditio)</CommandText>
|
||||
<xs:element name="v_selBlocco" msprop:Generator_UserTableName="v_selBlocco" msprop:Generator_RowDeletedName="v_selBloccoRowDeleted" msprop:Generator_RowChangedName="v_selBloccoRowChanged" msprop:Generator_RowClassName="v_selBloccoRow" msprop:Generator_RowChangingName="v_selBloccoRowChanging" msprop:Generator_RowEvArgName="v_selBloccoRowChangeEvent" msprop:Generator_RowEvHandlerName="v_selBloccoRowChangeEventHandler" msprop:Generator_TableClassName="v_selBloccoDataTable" msprop:Generator_TableVarName="tablev_selBlocco" msprop:Generator_RowDeletingName="v_selBloccoRowDeleting" msprop:Generator_TablePropName="v_selBlocco">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="value" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInTable="valueColumn" type="xs:int" />
|
||||
<xs:element name="label" msdata:ReadOnly="true" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
|
||||
<xs:element name="value" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" type="xs:int" />
|
||||
<xs:element name="label" msdata:ReadOnly="true" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="151" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="CodCS" msprop:Generator_UserColumnName="CodCS" msprop:Generator_ColumnPropNameInRow="CodCS" msprop:Generator_ColumnVarNameInTable="columnCodCS" msprop:Generator_ColumnPropNameInTable="CodCSColumn" minOccurs="0">
|
||||
<xs:element name="CodCS" msprop:Generator_UserColumnName="CodCS" msprop:Generator_ColumnVarNameInTable="columnCodCS" msprop:Generator_ColumnPropNameInRow="CodCS" msprop:Generator_ColumnPropNameInTable="CodCSColumn" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="2" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="CodMag" msprop:Generator_UserColumnName="CodMag" msprop:Generator_ColumnPropNameInRow="CodMag" msprop:Generator_ColumnVarNameInTable="columnCodMag" msprop:Generator_ColumnPropNameInTable="CodMagColumn" minOccurs="0">
|
||||
<xs:element name="CodMag" msprop:Generator_UserColumnName="CodMag" msprop:Generator_ColumnVarNameInTable="columnCodMag" msprop:Generator_ColumnPropNameInRow="CodMag" msprop:Generator_ColumnPropNameInTable="CodMagColumn" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
@@ -544,35 +544,15 @@ WHERE (conditio = @conditio)</CommandText>
|
||||
<xs:element name="v_selTipoCella" msprop:Generator_UserTableName="v_selTipoCella" msprop:Generator_RowDeletedName="v_selTipoCellaRowDeleted" msprop:Generator_RowChangedName="v_selTipoCellaRowChanged" msprop:Generator_RowClassName="v_selTipoCellaRow" msprop:Generator_RowChangingName="v_selTipoCellaRowChanging" msprop:Generator_RowEvArgName="v_selTipoCellaRowChangeEvent" msprop:Generator_RowEvHandlerName="v_selTipoCellaRowChangeEventHandler" msprop:Generator_TableClassName="v_selTipoCellaDataTable" msprop:Generator_TableVarName="tablev_selTipoCella" msprop:Generator_RowDeletingName="v_selTipoCellaRowDeleting" msprop:Generator_TablePropName="v_selTipoCella">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="value" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInTable="valueColumn" type="xs:int" />
|
||||
<xs:element name="label" msdata:ReadOnly="true" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
|
||||
<xs:element name="value" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" type="xs:int" />
|
||||
<xs:element name="label" msdata:ReadOnly="true" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="162" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="CodMag" msprop:Generator_UserColumnName="CodMag" msprop:Generator_ColumnPropNameInRow="CodMag" msprop:Generator_ColumnVarNameInTable="columnCodMag" msprop:Generator_ColumnPropNameInTable="CodMagColumn">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="CodCS" msprop:Generator_UserColumnName="CodCS" msprop:Generator_ColumnPropNameInRow="CodCS" msprop:Generator_ColumnVarNameInTable="columnCodCS" msprop:Generator_ColumnPropNameInTable="CodCSColumn">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="2" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="stp_getImpiantiByCodCS" msprop:Generator_UserTableName="stp_getImpiantiByCodCS" msprop:Generator_RowDeletedName="stp_getImpiantiByCodCSRowDeleted" msprop:Generator_RowChangedName="stp_getImpiantiByCodCSRowChanged" msprop:Generator_RowClassName="stp_getImpiantiByCodCSRow" msprop:Generator_RowChangingName="stp_getImpiantiByCodCSRowChanging" msprop:Generator_RowEvArgName="stp_getImpiantiByCodCSRowChangeEvent" msprop:Generator_RowEvHandlerName="stp_getImpiantiByCodCSRowChangeEventHandler" msprop:Generator_TableClassName="stp_getImpiantiByCodCSDataTable" msprop:Generator_TableVarName="tablestp_getImpiantiByCodCS" msprop:Generator_RowDeletingName="stp_getImpiantiByCodCSRowDeleting" msprop:Generator_TablePropName="stp_getImpiantiByCodCS">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="CodImpianto" msprop:Generator_UserColumnName="CodImpianto" msprop:Generator_ColumnVarNameInTable="columnCodImpianto" msprop:Generator_ColumnPropNameInRow="CodImpianto" msprop:Generator_ColumnPropNameInTable="CodImpiantoColumn">
|
||||
<xs:element name="CodMag" msprop:Generator_UserColumnName="CodMag" msprop:Generator_ColumnVarNameInTable="columnCodMag" msprop:Generator_ColumnPropNameInRow="CodMag" msprop:Generator_ColumnPropNameInTable="CodMagColumn">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
@@ -586,21 +566,41 @@ WHERE (conditio = @conditio)</CommandText>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="DescImpianto" msprop:Generator_UserColumnName="DescImpianto" msprop:Generator_ColumnVarNameInTable="columnDescImpianto" msprop:Generator_ColumnPropNameInRow="DescImpianto" msprop:Generator_ColumnPropNameInTable="DescImpiantoColumn" minOccurs="0">
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="stp_getImpiantiByCodCS" msprop:Generator_UserTableName="stp_getImpiantiByCodCS" msprop:Generator_RowDeletedName="stp_getImpiantiByCodCSRowDeleted" msprop:Generator_RowChangedName="stp_getImpiantiByCodCSRowChanged" msprop:Generator_RowClassName="stp_getImpiantiByCodCSRow" msprop:Generator_RowChangingName="stp_getImpiantiByCodCSRowChanging" msprop:Generator_RowEvArgName="stp_getImpiantiByCodCSRowChangeEvent" msprop:Generator_RowEvHandlerName="stp_getImpiantiByCodCSRowChangeEventHandler" msprop:Generator_TableClassName="stp_getImpiantiByCodCSDataTable" msprop:Generator_TableVarName="tablestp_getImpiantiByCodCS" msprop:Generator_RowDeletingName="stp_getImpiantiByCodCSRowDeleting" msprop:Generator_TablePropName="stp_getImpiantiByCodCS">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="CodImpianto" msprop:Generator_UserColumnName="CodImpianto" msprop:Generator_ColumnPropNameInRow="CodImpianto" msprop:Generator_ColumnVarNameInTable="columnCodImpianto" msprop:Generator_ColumnPropNameInTable="CodImpiantoColumn">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="Campionatura" msprop:Generator_UserColumnName="Campionatura" msprop:Generator_ColumnVarNameInTable="columnCampionatura" msprop:Generator_ColumnPropNameInRow="Campionatura" msprop:Generator_ColumnPropNameInTable="CampionaturaColumn" minOccurs="0">
|
||||
<xs:element name="CodCS" msprop:Generator_UserColumnName="CodCS" msprop:Generator_ColumnPropNameInRow="CodCS" msprop:Generator_ColumnVarNameInTable="columnCodCS" msprop:Generator_ColumnPropNameInTable="CodCSColumn">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="2" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="DescImpianto" msprop:Generator_UserColumnName="DescImpianto" msprop:Generator_ColumnPropNameInRow="DescImpianto" msprop:Generator_ColumnVarNameInTable="columnDescImpianto" msprop:Generator_ColumnPropNameInTable="DescImpiantoColumn" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="Campionatura" msprop:Generator_UserColumnName="Campionatura" msprop:Generator_ColumnPropNameInRow="Campionatura" msprop:Generator_ColumnVarNameInTable="columnCampionatura" msprop:Generator_ColumnPropNameInTable="CampionaturaColumn" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="1" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="TipoLinea" msprop:Generator_UserColumnName="TipoLinea" msprop:Generator_ColumnVarNameInTable="columnTipoLinea" msprop:Generator_ColumnPropNameInRow="TipoLinea" msprop:Generator_ColumnPropNameInTable="TipoLineaColumn" minOccurs="0">
|
||||
<xs:element name="TipoLinea" msprop:Generator_UserColumnName="TipoLinea" msprop:Generator_ColumnPropNameInRow="TipoLinea" msprop:Generator_ColumnVarNameInTable="columnTipoLinea" msprop:Generator_ColumnPropNameInTable="TipoLineaColumn" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="6" />
|
||||
@@ -613,29 +613,29 @@ WHERE (conditio = @conditio)</CommandText>
|
||||
<xs:element name="STP" msprop:Generator_UserTableName="STP" msprop:Generator_RowDeletedName="STPRowDeleted" msprop:Generator_RowChangedName="STPRowChanged" msprop:Generator_RowClassName="STPRow" msprop:Generator_RowChangingName="STPRowChanging" msprop:Generator_RowEvArgName="STPRowChangeEvent" msprop:Generator_RowEvHandlerName="STPRowChangeEventHandler" msprop:Generator_TableClassName="STPDataTable" msprop:Generator_TableVarName="tableSTP" msprop:Generator_RowDeletingName="STPRowDeleting" msprop:Generator_TablePropName="STP">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Versione" msprop:Generator_UserColumnName="Versione" msprop:Generator_ColumnVarNameInTable="columnVersione" msprop:Generator_ColumnPropNameInRow="Versione" msprop:Generator_ColumnPropNameInTable="VersioneColumn" type="xs:int" />
|
||||
<xs:element name="Data" msprop:Generator_UserColumnName="Data" msprop:Generator_ColumnVarNameInTable="columnData" msprop:Generator_ColumnPropNameInRow="Data" msprop:Generator_ColumnPropNameInTable="DataColumn" type="xs:dateTime" minOccurs="0" />
|
||||
<xs:element name="Versione" msprop:Generator_UserColumnName="Versione" msprop:Generator_ColumnPropNameInRow="Versione" msprop:Generator_ColumnVarNameInTable="columnVersione" msprop:Generator_ColumnPropNameInTable="VersioneColumn" type="xs:int" />
|
||||
<xs:element name="Data" msprop:Generator_UserColumnName="Data" msprop:Generator_ColumnPropNameInRow="Data" msprop:Generator_ColumnVarNameInTable="columnData" msprop:Generator_ColumnPropNameInTable="DataColumn" type="xs:dateTime" minOccurs="0" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="v_selPeriodiTrad" msprop:Generator_UserTableName="v_selPeriodiTrad" msprop:Generator_RowDeletedName="v_selPeriodiTradRowDeleted" msprop:Generator_RowChangedName="v_selPeriodiTradRowChanged" msprop:Generator_RowClassName="v_selPeriodiTradRow" msprop:Generator_RowChangingName="v_selPeriodiTradRowChanging" msprop:Generator_RowEvArgName="v_selPeriodiTradRowChangeEvent" msprop:Generator_RowEvHandlerName="v_selPeriodiTradRowChangeEventHandler" msprop:Generator_TableClassName="v_selPeriodiTradDataTable" msprop:Generator_TableVarName="tablev_selPeriodiTrad" msprop:Generator_RowDeletingName="v_selPeriodiTradRowDeleting" msprop:Generator_TablePropName="v_selPeriodiTrad">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInTable="valueColumn">
|
||||
<xs:element name="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="20" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInTable="labelColumn">
|
||||
<xs:element name="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="500" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="conditio" msprop:Generator_UserColumnName="conditio" msprop:Generator_ColumnPropNameInRow="conditio" msprop:Generator_ColumnVarNameInTable="columnconditio" msprop:Generator_ColumnPropNameInTable="conditioColumn">
|
||||
<xs:element name="conditio" msprop:Generator_UserColumnName="conditio" msprop:Generator_ColumnVarNameInTable="columnconditio" msprop:Generator_ColumnPropNameInRow="conditio" msprop:Generator_ColumnPropNameInTable="conditioColumn">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="3" />
|
||||
@@ -648,8 +648,8 @@ WHERE (conditio = @conditio)</CommandText>
|
||||
<xs:element name="v_selStatiListe" msprop:Generator_UserTableName="v_selStatiListe" msprop:Generator_RowDeletedName="v_selStatiListeRowDeleted" msprop:Generator_RowChangedName="v_selStatiListeRowChanged" msprop:Generator_RowClassName="v_selStatiListeRow" msprop:Generator_RowChangingName="v_selStatiListeRowChanging" msprop:Generator_RowEvArgName="v_selStatiListeRowChangeEvent" msprop:Generator_RowEvHandlerName="v_selStatiListeRowChangeEventHandler" msprop:Generator_TableClassName="v_selStatiListeDataTable" msprop:Generator_TableVarName="tablev_selStatiListe" msprop:Generator_RowDeletingName="v_selStatiListeRowDeleting" msprop:Generator_TablePropName="v_selStatiListe">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" type="xs:int" />
|
||||
<xs:element name="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
|
||||
<xs:element name="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInTable="valueColumn" type="xs:int" />
|
||||
<xs:element name="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
@@ -662,14 +662,14 @@ WHERE (conditio = @conditio)</CommandText>
|
||||
<xs:element name="v_selTipoLista" msprop:Generator_UserTableName="v_selTipoLista" msprop:Generator_RowDeletedName="v_selTipoListaRowDeleted" msprop:Generator_RowChangedName="v_selTipoListaRowChanged" msprop:Generator_RowClassName="v_selTipoListaRow" msprop:Generator_RowChangingName="v_selTipoListaRowChanging" msprop:Generator_RowEvArgName="v_selTipoListaRowChangeEvent" msprop:Generator_RowEvHandlerName="v_selTipoListaRowChangeEventHandler" msprop:Generator_TableClassName="v_selTipoListaDataTable" msprop:Generator_TableVarName="tablev_selTipoLista" msprop:Generator_RowDeletingName="v_selTipoListaRowDeleting" msprop:Generator_TablePropName="v_selTipoLista">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInTable="valueColumn">
|
||||
<xs:element name="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="10" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
|
||||
<xs:element name="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="250" />
|
||||
@@ -682,21 +682,21 @@ WHERE (conditio = @conditio)</CommandText>
|
||||
<xs:element name="v_selUdcByPart" msprop:Generator_UserTableName="v_selUdcByPart" msprop:Generator_RowDeletedName="v_selUdcByPartRowDeleted" msprop:Generator_RowChangedName="v_selUdcByPartRowChanged" msprop:Generator_RowClassName="v_selUdcByPartRow" msprop:Generator_RowChangingName="v_selUdcByPartRowChanging" msprop:Generator_RowEvArgName="v_selUdcByPartRowChangeEvent" msprop:Generator_RowEvHandlerName="v_selUdcByPartRowChangeEventHandler" msprop:Generator_TableClassName="v_selUdcByPartDataTable" msprop:Generator_TableVarName="tablev_selUdcByPart" msprop:Generator_RowDeletingName="v_selUdcByPartRowDeleting" msprop:Generator_TablePropName="v_selUdcByPart">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn">
|
||||
<xs:element name="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInTable="valueColumn">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="label" msdata:ReadOnly="true" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
|
||||
<xs:element name="label" msdata:ReadOnly="true" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="152" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="conditio" msprop:Generator_UserColumnName="conditio" msprop:Generator_ColumnVarNameInTable="columnconditio" msprop:Generator_ColumnPropNameInRow="conditio" msprop:Generator_ColumnPropNameInTable="conditioColumn" minOccurs="0">
|
||||
<xs:element name="conditio" msprop:Generator_UserColumnName="conditio" msprop:Generator_ColumnPropNameInRow="conditio" msprop:Generator_ColumnVarNameInTable="columnconditio" msprop:Generator_ColumnPropNameInTable="conditioColumn" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="15" />
|
||||
@@ -709,14 +709,14 @@ WHERE (conditio = @conditio)</CommandText>
|
||||
<xs:element name="v_selTipoDelibera" msprop:Generator_UserTableName="v_selTipoDelibera" msprop:Generator_RowDeletedName="v_selTipoDeliberaRowDeleted" msprop:Generator_RowChangedName="v_selTipoDeliberaRowChanged" msprop:Generator_RowClassName="v_selTipoDeliberaRow" msprop:Generator_RowChangingName="v_selTipoDeliberaRowChanging" msprop:Generator_RowEvArgName="v_selTipoDeliberaRowChangeEvent" msprop:Generator_RowEvHandlerName="v_selTipoDeliberaRowChangeEventHandler" msprop:Generator_TableClassName="v_selTipoDeliberaDataTable" msprop:Generator_TableVarName="tablev_selTipoDelibera" msprop:Generator_RowDeletingName="v_selTipoDeliberaRowDeleting" msprop:Generator_TablePropName="v_selTipoDelibera">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn">
|
||||
<xs:element name="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInTable="valueColumn">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
|
||||
<xs:element name="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
@@ -729,7 +729,7 @@ WHERE (conditio = @conditio)</CommandText>
|
||||
<xs:element name="v_selDestinatariListePrelievo" msprop:Generator_UserTableName="v_selDestinatariListePrelievo" msprop:Generator_RowDeletedName="v_selDestinatariListePrelievoRowDeleted" msprop:Generator_RowChangedName="v_selDestinatariListePrelievoRowChanged" msprop:Generator_RowClassName="v_selDestinatariListePrelievoRow" msprop:Generator_RowChangingName="v_selDestinatariListePrelievoRowChanging" msprop:Generator_RowEvArgName="v_selDestinatariListePrelievoRowChangeEvent" msprop:Generator_RowEvHandlerName="v_selDestinatariListePrelievoRowChangeEventHandler" msprop:Generator_TableClassName="v_selDestinatariListePrelievoDataTable" msprop:Generator_TableVarName="tablev_selDestinatariListePrelievo" msprop:Generator_RowDeletingName="v_selDestinatariListePrelievoRowDeleting" msprop:Generator_TablePropName="v_selDestinatariListePrelievo">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Destinatario" msprop:Generator_UserColumnName="Destinatario" msprop:Generator_ColumnVarNameInTable="columnDestinatario" msprop:Generator_ColumnPropNameInRow="Destinatario" msprop:Generator_ColumnPropNameInTable="DestinatarioColumn" minOccurs="0">
|
||||
<xs:element name="Destinatario" msprop:Generator_UserColumnName="Destinatario" msprop:Generator_ColumnPropNameInRow="Destinatario" msprop:Generator_ColumnVarNameInTable="columnDestinatario" msprop:Generator_ColumnPropNameInTable="DestinatarioColumn" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
@@ -742,21 +742,21 @@ WHERE (conditio = @conditio)</CommandText>
|
||||
<xs:element name="stp_ricercaFullTerminalino" msprop:Generator_UserTableName="stp_ricercaFullTerminalino" msprop:Generator_RowDeletedName="stp_ricercaFullTerminalinoRowDeleted" msprop:Generator_RowChangedName="stp_ricercaFullTerminalinoRowChanged" msprop:Generator_RowClassName="stp_ricercaFullTerminalinoRow" msprop:Generator_RowChangingName="stp_ricercaFullTerminalinoRowChanging" msprop:Generator_RowEvArgName="stp_ricercaFullTerminalinoRowChangeEvent" msprop:Generator_RowEvHandlerName="stp_ricercaFullTerminalinoRowChangeEventHandler" msprop:Generator_TableClassName="stp_ricercaFullTerminalinoDataTable" msprop:Generator_TableVarName="tablestp_ricercaFullTerminalino" msprop:Generator_RowDeletingName="stp_ricercaFullTerminalinoRowDeleting" msprop:Generator_TablePropName="stp_ricercaFullTerminalino">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Tipo" msdata:ReadOnly="true" msprop:Generator_UserColumnName="Tipo" msprop:Generator_ColumnVarNameInTable="columnTipo" msprop:Generator_ColumnPropNameInRow="Tipo" msprop:Generator_ColumnPropNameInTable="TipoColumn" minOccurs="0">
|
||||
<xs:element name="Tipo" msdata:ReadOnly="true" msprop:Generator_UserColumnName="Tipo" msprop:Generator_ColumnPropNameInRow="Tipo" msprop:Generator_ColumnVarNameInTable="columnTipo" msprop:Generator_ColumnPropNameInTable="TipoColumn" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="11" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="label" msdata:ReadOnly="true" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
|
||||
<xs:element name="label" msdata:ReadOnly="true" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="valore" msdata:ReadOnly="true" msprop:Generator_UserColumnName="valore" msprop:Generator_ColumnVarNameInTable="columnvalore" msprop:Generator_ColumnPropNameInRow="valore" msprop:Generator_ColumnPropNameInTable="valoreColumn" minOccurs="0">
|
||||
<xs:element name="valore" msdata:ReadOnly="true" msprop:Generator_UserColumnName="valore" msprop:Generator_ColumnPropNameInRow="valore" msprop:Generator_ColumnVarNameInTable="columnvalore" msprop:Generator_ColumnPropNameInTable="valoreColumn" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
@@ -769,21 +769,21 @@ WHERE (conditio = @conditio)</CommandText>
|
||||
<xs:element name="v_selMagLogico" msprop:Generator_UserTableName="v_selMagLogico" msprop:Generator_RowDeletedName="v_selMagLogicoRowDeleted" msprop:Generator_RowChangedName="v_selMagLogicoRowChanged" msprop:Generator_RowClassName="v_selMagLogicoRow" msprop:Generator_RowChangingName="v_selMagLogicoRowChanging" msprop:Generator_RowEvArgName="v_selMagLogicoRowChangeEvent" msprop:Generator_RowEvHandlerName="v_selMagLogicoRowChangeEventHandler" msprop:Generator_TableClassName="v_selMagLogicoDataTable" msprop:Generator_TableVarName="tablev_selMagLogico" msprop:Generator_RowDeletingName="v_selMagLogicoRowDeleting" msprop:Generator_TablePropName="v_selMagLogico">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="value" msdata:ReadOnly="true" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInTable="valueColumn" minOccurs="0">
|
||||
<xs:element name="value" msdata:ReadOnly="true" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="label" msdata:ReadOnly="true" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
|
||||
<xs:element name="label" msdata:ReadOnly="true" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="conditio" msprop:Generator_UserColumnName="conditio" msprop:Generator_ColumnPropNameInRow="conditio" msprop:Generator_ColumnVarNameInTable="columnconditio" msprop:Generator_ColumnPropNameInTable="conditioColumn" minOccurs="0">
|
||||
<xs:element name="conditio" msprop:Generator_UserColumnName="conditio" msprop:Generator_ColumnVarNameInTable="columnconditio" msprop:Generator_ColumnPropNameInRow="conditio" msprop:Generator_ColumnPropNameInTable="conditioColumn" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="2" />
|
||||
|
||||
+13
-13
@@ -6,19 +6,19 @@
|
||||
</autogenerated>-->
|
||||
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="20" ViewPortY="-10" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||
<Shapes>
|
||||
<Shape ID="DesignTable:v_selMag" ZOrder="13" X="51" Y="61" Height="153" Width="198" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:v_selBlocco" ZOrder="12" X="552" Y="134" Height="172" Width="242" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
|
||||
<Shape ID="DesignTable:v_selTipoCella" ZOrder="11" X="716" Y="476" Height="191" Width="242" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
|
||||
<Shape ID="DesignTable:stp_getImpiantiByCodCS" ZOrder="10" X="390" Y="614" Height="172" Width="287" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:STP" ZOrder="2" X="41" Y="314" Height="284" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="81" />
|
||||
<Shape ID="DesignTable:v_selPeriodiTrad" ZOrder="9" X="703" Y="779" Height="153" Width="240" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:v_selStatiListe" ZOrder="8" X="949" Y="219" Height="115" Width="225" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_selTipoLista" ZOrder="7" X="1005" Y="684" Height="115" Width="224" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_selUdcByPart" ZOrder="6" X="1003" Y="426" Height="153" Width="233" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:v_selTipoDelibera" ZOrder="5" X="948" Y="56" Height="115" Width="246" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_selDestinatariListePrelievo" ZOrder="4" X="336" Y="97" Height="154" Width="193" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="46" />
|
||||
<Shape ID="DesignTable:stp_ricercaFullTerminalino" ZOrder="3" X="377" Y="346" Height="134" Width="210" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:v_selMagLogico" ZOrder="1" X="56" Y="683" Height="153" Width="236" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:v_selMag" ZOrder="1" X="51" Y="61" Height="153" Width="198" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:v_selBlocco" ZOrder="13" X="552" Y="134" Height="172" Width="242" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
|
||||
<Shape ID="DesignTable:v_selTipoCella" ZOrder="12" X="716" Y="476" Height="191" Width="242" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
|
||||
<Shape ID="DesignTable:stp_getImpiantiByCodCS" ZOrder="11" X="390" Y="614" Height="172" Width="287" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:STP" ZOrder="3" X="41" Y="314" Height="284" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="81" />
|
||||
<Shape ID="DesignTable:v_selPeriodiTrad" ZOrder="10" X="703" Y="779" Height="153" Width="240" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:v_selStatiListe" ZOrder="9" X="949" Y="219" Height="115" Width="225" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_selTipoLista" ZOrder="8" X="1005" Y="684" Height="115" Width="224" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_selUdcByPart" ZOrder="7" X="1003" Y="426" Height="153" Width="233" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:v_selTipoDelibera" ZOrder="6" X="948" Y="56" Height="115" Width="246" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_selDestinatariListePrelievo" ZOrder="5" X="336" Y="97" Height="154" Width="193" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="46" />
|
||||
<Shape ID="DesignTable:stp_ricercaFullTerminalino" ZOrder="4" X="377" Y="346" Height="134" Width="210" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:v_selMagLogico" ZOrder="2" X="56" Y="683" Height="153" Width="236" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
</Shapes>
|
||||
<Connectors />
|
||||
</DiagramLayout>
|
||||
@@ -160,6 +160,7 @@
|
||||
<Generator>SettingsSingleFileGenerator</Generator>
|
||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||
</None>
|
||||
<None Include="SqlScripts\GMW_00265.sql" />
|
||||
<None Include="SqlScripts\GMW_00260.sql" />
|
||||
<None Include="SqlScripts\GMW_00259.sql" />
|
||||
<None Include="SqlScripts\GMW_00258.sql" />
|
||||
|
||||
@@ -193,14 +193,16 @@ namespace GMW_data
|
||||
answ = true;
|
||||
}
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
// solo se ha fatto spostamento posizioen corrente verifico se fare spostamento in posizione LOGICA magazzino
|
||||
catch (Exception e)
|
||||
{
|
||||
logger.lg.scriviLog(string.Format("Errore durante spostamento cella: {0}", e), tipoLog.EXCEPTION);
|
||||
}
|
||||
// solo se ha fatto spostamento posizione corrente verifico se fare spostamento in posizione LOGICA magazzino
|
||||
if (answ)
|
||||
{
|
||||
try
|
||||
{
|
||||
// verifico tipo cella e se ci sia da fare spsotamento in mag logico/contabile
|
||||
// verifico tipo cella e se ci sia da fare spostamento in mag logico/contabile
|
||||
int idxTipoCella = taCelle.getByIdxCella(IdxCellaTo)[0].IdxTipoCella;
|
||||
bool needSetMag = taTipoCella.getByIdx(idxTipoCella)[0].SetMag;
|
||||
if (needSetMag)
|
||||
|
||||
@@ -0,0 +1,435 @@
|
||||
-- update
|
||||
|
||||
set xact_abort on
|
||||
go
|
||||
|
||||
begin transaction
|
||||
go
|
||||
|
||||
set ANSI_NULLS on
|
||||
go
|
||||
|
||||
/***************************************
|
||||
* function dateToAsFormat
|
||||
*
|
||||
* converte le date da DATETIME al formato AS 8 cifre AAAAMMGG
|
||||
*
|
||||
* Steamware, S.E.L.
|
||||
* mod: 2010.09.29
|
||||
*
|
||||
****************************************/
|
||||
create FUNCTION dateToAsFormat
|
||||
(
|
||||
@data DATETIME
|
||||
)
|
||||
RETURNS NVARCHAR(8)
|
||||
AS
|
||||
BEGIN
|
||||
RETURN CONVERT(NVARCHAR(8), @data, 112)
|
||||
END
|
||||
go
|
||||
|
||||
commit
|
||||
go
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
set xact_abort on
|
||||
go
|
||||
|
||||
begin transaction
|
||||
go
|
||||
|
||||
alter table PosizioneUdcStorico drop
|
||||
constraint FK_PosizioneUdcStorico_ElencoCartellini
|
||||
go
|
||||
|
||||
exec sp_rename 'PK_PosizioneUdcStorico_1', 'tmp__PK_PosizioneUdcStorico_1', 'OBJECT'
|
||||
go
|
||||
|
||||
exec sp_rename 'PosizioneUdcStorico', 'tmp__PosizioneUdcStorico_0', 'OBJECT'
|
||||
go
|
||||
|
||||
create table PosizioneUdcStorico(
|
||||
UDC nvarchar(50) not null,
|
||||
IdxCella int not null,
|
||||
DataInizio datetime not null,
|
||||
CodCS nchar(2) not null,
|
||||
DataFine datetime,
|
||||
|
||||
constraint PK_PosizioneUdcStorico_1 primary key(UDC,IdxCella,DataInizio)
|
||||
)
|
||||
go
|
||||
|
||||
alter table PosizioneUdcStorico add
|
||||
constraint FK_PosizioneUdcStorico_ElencoCartellini foreign key(UDC) references ElencoCartellini(UDC) on update cascade
|
||||
go
|
||||
|
||||
insert into PosizioneUdcStorico(UDC,IdxCella,DataInizio,CodCS,DataFine) select UDC,IdxCella,DataInizio,CodCS,DataFine from tmp__PosizioneUdcStorico_0
|
||||
go
|
||||
|
||||
drop table tmp__PosizioneUdcStorico_0
|
||||
go
|
||||
|
||||
commit
|
||||
go
|
||||
|
||||
|
||||
create index [<Name of Missing Index, sysname,>] on RilPro.RapQual(DataRapQual)
|
||||
include(nRapQual,CodFor,CodLega,Qta,BenesQual,UDC)
|
||||
go
|
||||
|
||||
|
||||
set xact_abort on
|
||||
go
|
||||
|
||||
begin transaction
|
||||
go
|
||||
|
||||
set ANSI_NULLS on
|
||||
go
|
||||
|
||||
create VIEW v_RapQualSunto
|
||||
AS
|
||||
SELECT TOP (100) PERCENT CAST(nRapQual AS NVARCHAR(20)) AS nRapQual, DataRapQual, CodFor, CodLega, SUM(Qta) AS Qta, BenesQual, COUNT(*) AS UdcTot,
|
||||
COUNT(UDC) AS UdcAssoc
|
||||
FROM RilPro.RapQual
|
||||
GROUP BY nRapQual, DataRapQual, CodFor, CodLega, BenesQual
|
||||
ORDER BY nRapQual
|
||||
go
|
||||
|
||||
exec sp_addextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00]
|
||||
Begin DesignProperties =
|
||||
Begin PaneConfigurations =
|
||||
Begin PaneConfiguration = 0
|
||||
NumPanes = 4
|
||||
Configuration = "(H (1[40] 4[20] 2[20] 3) )"
|
||||
End
|
||||
Begin PaneConfiguration = 1
|
||||
NumPanes = 3
|
||||
Configuration = "(H (1 [50] 4 [25] 3))"
|
||||
End
|
||||
Begin PaneConfiguration = 2
|
||||
NumPanes = 3
|
||||
Configuration = "(H (1 [50] 2 [25] 3))"
|
||||
End
|
||||
Begin PaneConfiguration = 3
|
||||
NumPanes = 3
|
||||
Configuration = "(H (4 [30] 2 [40] 3))"
|
||||
End
|
||||
Begin PaneConfiguration = 4
|
||||
NumPanes = 2
|
||||
Configuration = "(H (1 [56] 3))"
|
||||
End
|
||||
Begin PaneConfiguration = 5
|
||||
NumPanes = 2
|
||||
Configuration = "(H (2 [66] 3))"
|
||||
End
|
||||
Begin PaneConfiguration = 6
|
||||
NumPanes = 2
|
||||
Configuration = "(H (4 [50] 3))"
|
||||
End
|
||||
Begin PaneConfiguration = 7
|
||||
NumPanes = 1
|
||||
Configuration = "(V (3))"
|
||||
End
|
||||
Begin PaneConfiguration = 8
|
||||
NumPanes = 3
|
||||
Configuration = "(H (1[56] 4[18] 2) )"
|
||||
End
|
||||
Begin PaneConfiguration = 9
|
||||
NumPanes = 2
|
||||
Configuration = "(H (1 [75] 4))"
|
||||
End
|
||||
Begin PaneConfiguration = 10
|
||||
NumPanes = 2
|
||||
Configuration = "(H (1[66] 2) )"
|
||||
End
|
||||
Begin PaneConfiguration = 11
|
||||
NumPanes = 2
|
||||
Configuration = "(H (4 [60] 2))"
|
||||
End
|
||||
Begin PaneConfiguration = 12
|
||||
NumPanes = 1
|
||||
Configuration = "(H (1) )"
|
||||
End
|
||||
Begin PaneConfiguration = 13
|
||||
NumPanes = 1
|
||||
Configuration = "(V (4))"
|
||||
End
|
||||
Begin PaneConfiguration = 14
|
||||
NumPanes = 1
|
||||
Configuration = "(V (2))"
|
||||
End
|
||||
ActivePaneConfig = 0
|
||||
End
|
||||
Begin DiagramPane =
|
||||
Begin Origin =
|
||||
Top = 0
|
||||
Left = 0
|
||||
End
|
||||
Begin Tables =
|
||||
Begin Table = "RapQual (RilPro)"
|
||||
Begin Extent =
|
||||
Top = 6
|
||||
Left = 38
|
||||
Bottom = 314
|
||||
Right = 208
|
||||
End
|
||||
DisplayFlags = 280
|
||||
TopColumn = 0
|
||||
End
|
||||
End
|
||||
End
|
||||
Begin SQLPane =
|
||||
End
|
||||
Begin DataPane =
|
||||
Begin ParameterDefaults = ""
|
||||
End
|
||||
Begin ColumnWidths = 9
|
||||
Width = 284
|
||||
Width = 1500
|
||||
Width = 1500
|
||||
Width = 1500
|
||||
Width = 1500
|
||||
Width = 1500
|
||||
Width = 1500
|
||||
Width = 1500
|
||||
Width = 1500
|
||||
End
|
||||
End
|
||||
Begin CriteriaPane =
|
||||
Begin ColumnWidths = 12
|
||||
Column = 1440
|
||||
Alias = 1305
|
||||
Table = 1170
|
||||
Output = 720
|
||||
Append = 1400
|
||||
NewValue = 1170
|
||||
SortType = 1350
|
||||
SortOrder = 1410
|
||||
GroupBy = 1350
|
||||
Filter = 1350
|
||||
Or = 1350
|
||||
Or = 1350
|
||||
Or = 1350
|
||||
End
|
||||
End
|
||||
End
|
||||
', 'SCHEMA', 'dbo', 'VIEW', 'v_RapQualSunto'
|
||||
go
|
||||
|
||||
exec sp_addextendedproperty 'MS_DiagramPaneCount', 1, 'SCHEMA', 'dbo', 'VIEW', 'v_RapQualSunto'
|
||||
go
|
||||
|
||||
alter VIEW v_selMagLogico
|
||||
AS
|
||||
SELECT DISTINCT TOP (100) PERCENT CAST(IdxPosizione AS NVARCHAR(20)) AS value, 'Mag. ' + CAST(IdxPosizione AS NVARCHAR(20)) AS label, CodCS AS conditio
|
||||
FROM dbo.ElencoCartellini
|
||||
WHERE (IdxPosizione > 0)
|
||||
ORDER BY label
|
||||
go
|
||||
|
||||
commit
|
||||
go
|
||||
|
||||
|
||||
set xact_abort on
|
||||
go
|
||||
|
||||
begin transaction
|
||||
go
|
||||
|
||||
set ANSI_NULLS on
|
||||
go
|
||||
|
||||
/***************************************
|
||||
* STORED stp_batch_RapQual_S01
|
||||
*
|
||||
* Esegue lo step 1 (caricamento dati RAW da AS400) per la tab dei rapporti di qualità
|
||||
*
|
||||
* Steamware, S.E.L.
|
||||
* mod: 2010.09.23
|
||||
*
|
||||
****************************************/
|
||||
alter PROCEDURE BatchQueue.stp_batch_RapQual_S01
|
||||
(
|
||||
@minData DATETIME
|
||||
)
|
||||
AS
|
||||
-- BOZZA DA COMPLETARE A CURA MAZZUCCONI!!!
|
||||
|
||||
DECLARE @SQL AS NVARCHAR(1000)
|
||||
DECLARE @dataAs400 AS VARCHAR(8)
|
||||
|
||||
SET @dataAs400 = (SELECT dbo.dateToAsFormat(@minData))
|
||||
|
||||
-- svuoto tab raw attuale
|
||||
/*
|
||||
DELETE FROM RawData.XOGIX00F
|
||||
*/
|
||||
|
||||
|
||||
-- INSERISCO DA AS400
|
||||
/*
|
||||
INSERT INTO RawData.XOGIX00F
|
||||
(
|
||||
SET @SQL =
|
||||
N'SELECT
|
||||
XRPQLN
|
||||
,XRPQLD
|
||||
,XNRETI
|
||||
,XCDFOR
|
||||
,XCDTER
|
||||
,XCDPAR
|
||||
,XDTPRO
|
||||
,XTRPRO
|
||||
,XQTPRO
|
||||
,XDESMT
|
||||
,XMATSC
|
||||
,XBENQL
|
||||
FROM OPENQUERY( P65220DC, ''SELECT * FROM MAZZT_DTV3.XOGIX00F WHERE XRPQLD >= '
|
||||
SET @SQL = @SQL + @dataAs400 + ''' )'
|
||||
|
||||
EXEC sp_executesql @SQL
|
||||
)
|
||||
*/
|
||||
|
||||
RETURN
|
||||
go
|
||||
|
||||
commit
|
||||
go
|
||||
|
||||
set xact_abort on
|
||||
go
|
||||
|
||||
begin transaction
|
||||
go
|
||||
|
||||
set ANSI_NULLS on
|
||||
go
|
||||
|
||||
/***************************************
|
||||
* STORED stp_rappQualSuntoGetByDataRange
|
||||
*
|
||||
* Ottiene l'elenco dei record di rapp qualità di AS dato il range delle date
|
||||
*
|
||||
* Steamware, S.E.L.
|
||||
* mod: 2010.09.29
|
||||
*
|
||||
****************************************/
|
||||
create PROCEDURE stp_rappQualSuntoGetByDataRange
|
||||
(
|
||||
@dataFrom DATETIME,
|
||||
@dataTo DATETIME
|
||||
)
|
||||
AS
|
||||
-- restituisce le righe richieste
|
||||
SELECT *
|
||||
FROM v_RapQualSunto
|
||||
WHERE (DataRapQual > dbo.dateToAsFormat(@dataFrom)) AND (DataRapQual < dbo.dateToAsFormat(@dataTo))
|
||||
ORDER BY nRapQual
|
||||
RETURN
|
||||
go
|
||||
|
||||
/***************************************
|
||||
* STORED stp_rappQualSuntoGetByNumRap
|
||||
*
|
||||
* Ottiene il record di rapp qualità di AS dato il numero del rapporto di qualità
|
||||
*
|
||||
* Steamware, S.E.L.
|
||||
* mod: 2010.09.29
|
||||
*
|
||||
****************************************/
|
||||
create PROCEDURE stp_rappQualSuntoGetByNumRap
|
||||
(
|
||||
@nRapQual NVARCHAR(20)
|
||||
)
|
||||
AS
|
||||
-- restituisce le righe richieste
|
||||
SELECT *
|
||||
FROM v_RapQualSunto
|
||||
WHERE (nRapQual = @nRapQual)
|
||||
RETURN
|
||||
go
|
||||
|
||||
/***************************************
|
||||
* STORED stp_spostaUdc
|
||||
*
|
||||
* sposta un UDC, salvandone la posizione precedente (se esiste) nella tab storica
|
||||
*
|
||||
* Steamware, S.E.L.
|
||||
* mod: 2010.06.11
|
||||
*
|
||||
****************************************/
|
||||
alter PROCEDURE stp_spostaUdc
|
||||
(
|
||||
@CodCS VARCHAR(2),
|
||||
@UDC VARCHAR(50),
|
||||
@IdxCellaTo INT
|
||||
)
|
||||
AS
|
||||
|
||||
BEGIN TRAN
|
||||
|
||||
-- DICHIARAZIONI iniziali variabili
|
||||
DECLARE @IdxCellaFrom INT
|
||||
DECLARE @capienza INT
|
||||
DECLARE @numUdc INT
|
||||
|
||||
-- controllo cella di partenza
|
||||
SET @IdxCellaFrom = (SELECT IdxCella FROM PosizioneUdcCorrente WHERE UDC = @UDC)
|
||||
-- controllo se la cella di dest vada indicata come piena
|
||||
SET @capienza = (
|
||||
SELECT tc.Capienza
|
||||
FROM TipoCella TC INNER JOIN Celle c ON TC.IdxTipoCella=c.IdxTipoCella
|
||||
WHERE c.IdxCella = @IdxCellaFrom
|
||||
)
|
||||
SET @numUdc = (SELECT COUNT(*) FROM PosizioneUdcCorrente WHERE IdxCella = @IdxCellaFrom)
|
||||
-- se capienza raggiunta aggiorno...
|
||||
IF(@numUdc -1 < @capienza)
|
||||
BEGIN
|
||||
EXEC stp_celle_updPiena @IdxCellaFrom, 0
|
||||
END
|
||||
|
||||
-- cancello posizione occupata
|
||||
DELETE
|
||||
FROM PosizioneUdcCorrente
|
||||
WHERE UDC = @UDC
|
||||
|
||||
-- creo una nuova posizione per l'UDC
|
||||
INSERT INTO PosizioneUdcCorrente(UDC, IdxCella, CodCS, DataRif)
|
||||
VALUES(@UDC, @IdxCellaTo, @CodCS, GETDATE())
|
||||
|
||||
-- controllo se la cella di dest vada indicata come piena
|
||||
SET @capienza = (
|
||||
SELECT tc.Capienza
|
||||
FROM TipoCella TC INNER JOIN Celle c ON TC.IdxTipoCella=c.IdxTipoCella
|
||||
WHERE c.IdxCella = @IdxCellaTo
|
||||
)
|
||||
SET @numUdc = (SELECT COUNT(*) FROM PosizioneUdcCorrente WHERE IdxCella = @IdxCellaTo)
|
||||
-- se capienza raggiunta aggiorno...
|
||||
IF(@numUdc >= @capienza)
|
||||
BEGIN
|
||||
EXEC stp_celle_updPiena @IdxCellaTo, 1
|
||||
END
|
||||
|
||||
COMMIT TRAN
|
||||
|
||||
RETURN
|
||||
go
|
||||
|
||||
commit
|
||||
go
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
-- registro versione...
|
||||
INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(265, GETDATE())
|
||||
GO
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -350,7 +350,7 @@
|
||||
"Name" = "8:Microsoft Visual Studio"
|
||||
"ProductName" = "8:GMW"
|
||||
"ProductCode" = "8:{C178FA46-1964-4FE3-A031-C28112FD65A2}"
|
||||
"PackageCode" = "8:{46FFE2A4-0DA7-428E-A7CF-D3A44FE34038}"
|
||||
"PackageCode" = "8:{D437872E-91C9-498D-908E-CC83CBC11297}"
|
||||
"UpgradeCode" = "8:{C9BC0732-DC92-4336-BAC9-A05A5D2A97C0}"
|
||||
"RestartWWWService" = "11:TRUE"
|
||||
"RemovePreviousVersions" = "11:TRUE"
|
||||
@@ -829,7 +829,7 @@
|
||||
}
|
||||
"{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_4FD0E5B75A7F47B79080EC0983BE6583"
|
||||
{
|
||||
"SourcePath" = "8:..\\..\\SetDirectoryPermission\\obj\\Debug\\SetDirectoryPermission.exe"
|
||||
"SourcePath" = "8:..\\..\\SetDirectoryPermission\\obj\\Release\\SetDirectoryPermission.exe"
|
||||
"TargetName" = "8:"
|
||||
"Tag" = "8:"
|
||||
"Folder" = "8:_5606017201AE45B480A8ABD8B8D68264"
|
||||
@@ -857,7 +857,7 @@
|
||||
}
|
||||
"{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_8BDD7AA9D46A46EC80880F83F13C902E"
|
||||
{
|
||||
"SourcePath" = "8:..\\..\\IISCustomActionVB\\IISConsoleVB\\obj\\Debug\\IISConsoleVB.exe"
|
||||
"SourcePath" = "8:..\\..\\IISCustomActionVB\\IISConsoleVB\\obj\\Release\\IISConsoleVB.exe"
|
||||
"TargetName" = "8:"
|
||||
"Tag" = "8:"
|
||||
"Folder" = "8:_5606017201AE45B480A8ABD8B8D68264"
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user