Inserita prima versione nuova macchina a stati

git-svn-id: https://keyhammer.ath.cx/svn/XPS/trunk@60 43c8e981-f90d-406c-a89a-24a2c4268d51
This commit is contained in:
samuele
2008-11-05 11:06:00 +00:00
parent f515b64943
commit 5656fb5309
5 changed files with 325 additions and 267 deletions
+239 -231
View File
@@ -664,7 +664,7 @@ WHERE (IdxObj = @Original_Cod)</CommandText>
<DbSource ConnectionRef="SteamWare_XPSConnectionString (Web.config)" DbObjectName="SteamWare_XPS.dbo.AnagraficaEventi" 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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [dbo].[AnagraficaEventi] WHERE (([IdxTipoEvento] = @Original_IdxTipoEvento))</CommandText>
<CommandText>DELETE FROM [AnagraficaEventi] WHERE (([IdxTipoEvento] = @Original_IdxTipoEvento))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdxTipoEvento" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxTipoEvento" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
@@ -672,25 +672,28 @@ WHERE (IdxObj = @Original_Cod)</CommandText>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[AnagraficaEventi] ([IdxTipoEvento], [Nome]) VALUES (@IdxTipoEvento, @Nome)</CommandText>
<CommandText>INSERT INTO [AnagraficaEventi] ([IdxTipoEvento], [Nome], [Action]) VALUES (@IdxTipoEvento, @Nome, @Action)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IdxTipoEvento" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxTipoEvento" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Nome" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Nome" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Action" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Action" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT IdxTipoEvento, Nome FROM dbo.AnagraficaEventi</CommandText>
<CommandText>SELECT IdxTipoEvento, Nome, Action
FROM AnagraficaEventi</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[AnagraficaEventi] SET [IdxTipoEvento] = @IdxTipoEvento, [Nome] = @Nome WHERE (([IdxTipoEvento] = @Original_IdxTipoEvento))</CommandText>
<CommandText>UPDATE [AnagraficaEventi] SET [IdxTipoEvento] = @IdxTipoEvento, [Nome] = @Nome, [Action] = @Action WHERE (([IdxTipoEvento] = @Original_IdxTipoEvento))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IdxTipoEvento" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxTipoEvento" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Nome" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Nome" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Action" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Action" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdxTipoEvento" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxTipoEvento" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
@@ -700,15 +703,13 @@ WHERE (IdxObj = @Original_Cod)</CommandText>
<Mappings>
<Mapping SourceColumn="IdxTipoEvento" DataSetColumn="IdxTipoEvento" />
<Mapping SourceColumn="Nome" DataSetColumn="Nome" />
<Mapping SourceColumn="Action" DataSetColumn="Action" />
</Mappings>
<Sources>
<DbSource ConnectionRef="SteamWare_XPSConnectionString (Web.config)" DbObjectName="SteamWare_XPS.dbo.AnagraficaEventi" DbObjectType="Table" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByCodInviato" GetMethodModifier="Public" GetMethodName="getByCodInviato" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByCodInviato" UserSourceName="getByCodInviato">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT AnagraficaEventi.IdxTipoEvento, AnagraficaEventi.Nome
FROM AnagraficaEventi INNER JOIN
TransizioneEventi ON AnagraficaEventi.IdxTipoEvento = TransizioneEventi.IdxTipoEvento
WHERE (TransizioneEventi.codInviato = @codInviato)</CommandText>
<CommandText>SELECT AnagraficaEventi.Action, AnagraficaEventi.IdxTipoEvento, AnagraficaEventi.Nome FROM AnagraficaEventi INNER JOIN TransizioneEventi ON AnagraficaEventi.IdxTipoEvento = TransizioneEventi.IdxTipoEvento WHERE (TransizioneEventi.codInviato = @codInviato)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="codInviato" ColumnName="codInviato" DataSourceName="SteamWare_XPS.dbo.TransizioneEventi" DataTypeServer="nvarchar(50)" DbType="String" Direction="Input" ParameterName="@codInviato" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumn="codInviato" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
@@ -728,14 +729,14 @@ WHERE (TransizioneEventi.codInviato = @codInviato)</CommandText>
<xs:element name="AnagClienti" msprop:Generator_UserTableName="AnagClienti" msprop:Generator_RowDeletedName="AnagClientiRowDeleted" msprop:Generator_RowChangedName="AnagClientiRowChanged" msprop:Generator_RowClassName="AnagClientiRow" msprop:Generator_RowChangingName="AnagClientiRowChanging" msprop:Generator_RowEvArgName="AnagClientiRowChangeEvent" msprop:Generator_RowEvHandlerName="AnagClientiRowChangeEventHandler" msprop:Generator_TableClassName="AnagClientiDataTable" msprop:Generator_TableVarName="tableAnagClienti" msprop:Generator_RowDeletingName="AnagClientiRowDeleting" msprop:Generator_TablePropName="AnagClienti">
<xs:complexType>
<xs:sequence>
<xs:element name="CodCliente" msprop:Generator_UserColumnName="CodCliente" msprop:Generator_ColumnVarNameInTable="columnCodCliente" msprop:Generator_ColumnPropNameInRow="CodCliente" msprop:Generator_ColumnPropNameInTable="CodClienteColumn">
<xs:element name="CodCliente" msprop:Generator_UserColumnName="CodCliente" msprop:Generator_ColumnPropNameInRow="CodCliente" msprop:Generator_ColumnVarNameInTable="columnCodCliente" msprop:Generator_ColumnPropNameInTable="CodClienteColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="RagioneSociale" msprop:Generator_UserColumnName="RagioneSociale" msprop:Generator_ColumnVarNameInTable="columnRagioneSociale" msprop:Generator_ColumnPropNameInRow="RagioneSociale" msprop:Generator_ColumnPropNameInTable="RagioneSocialeColumn" minOccurs="0">
<xs:element name="RagioneSociale" msprop:Generator_UserColumnName="RagioneSociale" msprop:Generator_ColumnPropNameInRow="RagioneSociale" msprop:Generator_ColumnVarNameInTable="columnRagioneSociale" msprop:Generator_ColumnPropNameInTable="RagioneSocialeColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
@@ -748,14 +749,14 @@ WHERE (TransizioneEventi.codInviato = @codInviato)</CommandText>
<xs:element name="AnagTrattamenti" msprop:Generator_UserTableName="AnagTrattamenti" msprop:Generator_RowDeletedName="AnagTrattamentiRowDeleted" msprop:Generator_RowChangedName="AnagTrattamentiRowChanged" msprop:Generator_RowClassName="AnagTrattamentiRow" msprop:Generator_RowChangingName="AnagTrattamentiRowChanging" msprop:Generator_RowEvArgName="AnagTrattamentiRowChangeEvent" msprop:Generator_RowEvHandlerName="AnagTrattamentiRowChangeEventHandler" msprop:Generator_TableClassName="AnagTrattamentiDataTable" msprop:Generator_TableVarName="tableAnagTrattamenti" msprop:Generator_RowDeletingName="AnagTrattamentiRowDeleting" msprop:Generator_TablePropName="AnagTrattamenti">
<xs:complexType>
<xs:sequence>
<xs:element name="CodTrattamento" msprop:Generator_UserColumnName="CodTrattamento" msprop:Generator_ColumnVarNameInTable="columnCodTrattamento" msprop:Generator_ColumnPropNameInRow="CodTrattamento" msprop:Generator_ColumnPropNameInTable="CodTrattamentoColumn">
<xs:element name="CodTrattamento" msprop:Generator_UserColumnName="CodTrattamento" msprop:Generator_ColumnPropNameInRow="CodTrattamento" msprop:Generator_ColumnVarNameInTable="columnCodTrattamento" msprop:Generator_ColumnPropNameInTable="CodTrattamentoColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DescrTrattamento" msprop:Generator_UserColumnName="DescrTrattamento" msprop:Generator_ColumnVarNameInTable="columnDescrTrattamento" msprop:Generator_ColumnPropNameInRow="DescrTrattamento" msprop:Generator_ColumnPropNameInTable="DescrTrattamentoColumn" minOccurs="0">
<xs:element name="DescrTrattamento" msprop:Generator_UserColumnName="DescrTrattamento" msprop:Generator_ColumnPropNameInRow="DescrTrattamento" msprop:Generator_ColumnVarNameInTable="columnDescrTrattamento" msprop:Generator_ColumnPropNameInTable="DescrTrattamentoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
@@ -768,21 +769,21 @@ WHERE (TransizioneEventi.codInviato = @codInviato)</CommandText>
<xs:element name="Tratt2Obj" msprop:Generator_UserTableName="Tratt2Obj" msprop:Generator_RowDeletedName="Tratt2ObjRowDeleted" msprop:Generator_RowChangedName="Tratt2ObjRowChanged" msprop:Generator_RowClassName="Tratt2ObjRow" msprop:Generator_RowChangingName="Tratt2ObjRowChanging" msprop:Generator_RowEvArgName="Tratt2ObjRowChangeEvent" msprop:Generator_RowEvHandlerName="Tratt2ObjRowChangeEventHandler" msprop:Generator_TableClassName="Tratt2ObjDataTable" msprop:Generator_TableVarName="tableTratt2Obj" msprop:Generator_RowDeletingName="Tratt2ObjRowDeleting" msprop:Generator_TablePropName="Tratt2Obj">
<xs:complexType>
<xs:sequence>
<xs:element name="IdxObj" msprop:Generator_UserColumnName="IdxObj" msprop:Generator_ColumnVarNameInTable="columnIdxObj" msprop:Generator_ColumnPropNameInRow="IdxObj" msprop:Generator_ColumnPropNameInTable="IdxObjColumn">
<xs:element name="IdxObj" msprop:Generator_UserColumnName="IdxObj" msprop:Generator_ColumnPropNameInRow="IdxObj" msprop:Generator_ColumnVarNameInTable="columnIdxObj" msprop:Generator_ColumnPropNameInTable="IdxObjColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodTrattamento" msprop:Generator_UserColumnName="CodTrattamento" msprop:Generator_ColumnVarNameInTable="columnCodTrattamento" msprop:Generator_ColumnPropNameInRow="CodTrattamento" msprop:Generator_ColumnPropNameInTable="CodTrattamentoColumn">
<xs:element name="CodTrattamento" msprop:Generator_UserColumnName="CodTrattamento" msprop:Generator_ColumnPropNameInRow="CodTrattamento" msprop:Generator_ColumnVarNameInTable="columnCodTrattamento" msprop:Generator_ColumnPropNameInTable="CodTrattamentoColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Note" msprop:Generator_UserColumnName="Note" msprop:Generator_ColumnVarNameInTable="columnNote" msprop:Generator_ColumnPropNameInRow="Note" msprop:Generator_ColumnPropNameInTable="NoteColumn" minOccurs="0">
<xs:element name="Note" msprop:Generator_UserColumnName="Note" msprop:Generator_ColumnPropNameInRow="Note" msprop:Generator_ColumnVarNameInTable="columnNote" msprop:Generator_ColumnPropNameInTable="NoteColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
@@ -793,185 +794,6 @@ WHERE (TransizioneEventi.codInviato = @codInviato)</CommandText>
</xs:complexType>
</xs:element>
<xs:element name="v_commesse" msprop:Generator_UserTableName="v_commesse" msprop:Generator_RowDeletedName="v_commesseRowDeleted" msprop:Generator_RowChangedName="v_commesseRowChanged" msprop:Generator_RowClassName="v_commesseRow" msprop:Generator_RowChangingName="v_commesseRowChanging" msprop:Generator_RowEvArgName="v_commesseRowChangeEvent" msprop:Generator_RowEvHandlerName="v_commesseRowChangeEventHandler" msprop:Generator_TableClassName="v_commesseDataTable" msprop:Generator_TableVarName="tablev_commesse" msprop:Generator_RowDeletingName="v_commesseRowDeleting" msprop:Generator_TablePropName="v_commesse">
<xs:complexType>
<xs:sequence>
<xs:element name="Cod" msprop:Generator_UserColumnName="Cod" msprop:Generator_ColumnPropNameInRow="Cod" msprop:Generator_ColumnVarNameInTable="columnCod" msprop:Generator_ColumnPropNameInTable="CodColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Stato" msprop:Generator_UserColumnName="Stato" msprop:Generator_ColumnPropNameInRow="Stato" msprop:Generator_ColumnVarNameInTable="columnStato" msprop:Generator_ColumnPropNameInTable="StatoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodCliente" msprop:Generator_UserColumnName="CodCliente" msprop:Generator_ColumnPropNameInRow="CodCliente" msprop:Generator_ColumnVarNameInTable="columnCodCliente" msprop:Generator_ColumnPropNameInTable="CodClienteColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Cliente" msprop:Generator_UserColumnName="Cliente" msprop:Generator_ColumnPropNameInRow="Cliente" msprop:Generator_ColumnVarNameInTable="columnCliente" msprop:Generator_ColumnPropNameInTable="ClienteColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodCli" msprop:Generator_UserColumnName="CodCli" msprop:Generator_ColumnPropNameInRow="CodCli" msprop:Generator_ColumnVarNameInTable="columnCodCli" msprop:Generator_ColumnPropNameInTable="CodCliColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="descrizione" msprop:Generator_UserColumnName="descrizione" msprop:Generator_ColumnPropNameInRow="descrizione" msprop:Generator_ColumnVarNameInTable="columndescrizione" msprop:Generator_ColumnPropNameInTable="descrizioneColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DDT" msprop:Generator_UserColumnName="DDT" msprop:Generator_ColumnPropNameInRow="DDT" msprop:Generator_ColumnVarNameInTable="columnDDT" msprop:Generator_ColumnPropNameInTable="DDTColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DataArrivo" msprop:Generator_UserColumnName="DataArrivo" msprop:Generator_ColumnPropNameInRow="DataArrivo" msprop:Generator_ColumnVarNameInTable="columnDataArrivo" msprop:Generator_ColumnPropNameInTable="DataArrivoColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="Posizione" msprop:Generator_UserColumnName="Posizione" msprop:Generator_ColumnPropNameInRow="Posizione" msprop:Generator_ColumnVarNameInTable="columnPosizione" msprop:Generator_ColumnPropNameInTable="PosizioneColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Qta" msdata:ReadOnly="true" msprop:Generator_UserColumnName="Qta" msprop:Generator_ColumnPropNameInRow="Qta" msprop:Generator_ColumnVarNameInTable="columnQta" msprop:Generator_ColumnPropNameInTable="QtaColumn" type="xs:int" minOccurs="0" />
<xs:element name="Peso" msdata:ReadOnly="true" msprop:Generator_UserColumnName="Peso" msprop:Generator_ColumnPropNameInRow="Peso" msprop:Generator_ColumnVarNameInTable="columnPeso" msprop:Generator_ColumnPropNameInTable="PesoColumn" type="xs:double" minOccurs="0" />
<xs:element name="Righe" msprop:Generator_UserColumnName="Righe" msprop:Generator_ColumnPropNameInRow="Righe" msprop:Generator_ColumnVarNameInTable="columnRighe" msprop:Generator_ColumnPropNameInTable="RigheColumn" type="xs:int" minOccurs="0" />
<xs:element name="Colli" msprop:Generator_UserColumnName="Colli" msprop:Generator_ColumnPropNameInRow="Colli" msprop:Generator_ColumnVarNameInTable="columnColli" msprop:Generator_ColumnPropNameInTable="ColliColumn" type="xs:int" minOccurs="0" />
<xs:element name="DataPrevista" msprop:Generator_UserColumnName="DataPrevista" msprop:Generator_ColumnPropNameInRow="DataPrevista" msprop:Generator_ColumnVarNameInTable="columnDataPrevista" msprop:Generator_ColumnPropNameInTable="DataPrevistaColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="DataDDT" msprop:Generator_UserColumnName="DataDDT" msprop:Generator_ColumnVarNameInTable="columnDataDDT" msprop:Generator_ColumnPropNameInRow="DataDDT" msprop:Generator_ColumnPropNameInTable="DataDDTColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="CodStato" msprop:Generator_UserColumnName="CodStato" msprop:Generator_ColumnVarNameInTable="columnCodStato" msprop:Generator_ColumnPropNameInRow="CodStato" msprop:Generator_ColumnPropNameInTable="CodStatoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Ciclo" msprop:Generator_UserColumnName="Ciclo" msprop:Generator_ColumnPropNameInRow="Ciclo" msprop:Generator_ColumnVarNameInTable="columnCiclo" msprop:Generator_ColumnPropNameInTable="CicloColumn" minOccurs="0">
<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="IstObj" msprop:Generator_UserTableName="IstObj" msprop:Generator_RowDeletedName="IstObjRowDeleted" msprop:Generator_RowChangedName="IstObjRowChanged" msprop:Generator_RowClassName="IstObjRow" msprop:Generator_RowChangingName="IstObjRowChanging" msprop:Generator_RowEvArgName="IstObjRowChangeEvent" msprop:Generator_RowEvHandlerName="IstObjRowChangeEventHandler" msprop:Generator_TableClassName="IstObjDataTable" msprop:Generator_TableVarName="tableIstObj" msprop:Generator_RowDeletingName="IstObjRowDeleting" msprop:Generator_TablePropName="IstObj">
<xs:complexType>
<xs:sequence>
<xs:element name="IdxObj" msprop:Generator_UserColumnName="IdxObj" msprop:Generator_ColumnVarNameInTable="columnIdxObj" msprop:Generator_ColumnPropNameInRow="IdxObj" msprop:Generator_ColumnPropNameInTable="IdxObjColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodCliente" msprop:Generator_UserColumnName="CodCliente" msprop:Generator_ColumnVarNameInTable="columnCodCliente" msprop:Generator_ColumnPropNameInRow="CodCliente" msprop:Generator_ColumnPropNameInTable="CodClienteColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodStato" msprop:Generator_UserColumnName="CodStato" msprop:Generator_ColumnVarNameInTable="columnCodStato" msprop:Generator_ColumnPropNameInRow="CodStato" msprop:Generator_ColumnPropNameInTable="CodStatoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Posizione" msprop:Generator_UserColumnName="Posizione" msprop:Generator_ColumnVarNameInTable="columnPosizione" msprop:Generator_ColumnPropNameInRow="Posizione" msprop:Generator_ColumnPropNameInTable="PosizioneColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Livello" msprop:Generator_UserColumnName="Livello" msprop:Generator_ColumnVarNameInTable="columnLivello" msprop:Generator_ColumnPropNameInRow="Livello" msprop:Generator_ColumnPropNameInTable="LivelloColumn" type="xs:int" minOccurs="0" />
<xs:element name="Rev" msprop:Generator_UserColumnName="Rev" msprop:Generator_ColumnVarNameInTable="columnRev" msprop:Generator_ColumnPropNameInRow="Rev" msprop:Generator_ColumnPropNameInTable="RevColumn" type="xs:int" minOccurs="0" />
<xs:element name="CodObj" msprop:Generator_UserColumnName="CodObj" msprop:Generator_ColumnVarNameInTable="columnCodObj" msprop:Generator_ColumnPropNameInRow="CodObj" msprop:Generator_ColumnPropNameInTable="CodObjColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Nome" msprop:Generator_UserColumnName="Nome" msprop:Generator_ColumnVarNameInTable="columnNome" msprop:Generator_ColumnPropNameInRow="Nome" msprop:Generator_ColumnPropNameInTable="NomeColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="IdxObjMamma" msprop:Generator_UserColumnName="IdxObjMamma" msprop:Generator_ColumnVarNameInTable="columnIdxObjMamma" msprop:Generator_ColumnPropNameInRow="IdxObjMamma" msprop:Generator_ColumnPropNameInTable="IdxObjMammaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Note" msprop:Generator_UserColumnName="Note" msprop:Generator_ColumnVarNameInTable="columnNote" msprop:Generator_ColumnPropNameInRow="Note" msprop:Generator_ColumnPropNameInTable="NoteColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ExtKey" msprop:Generator_UserColumnName="ExtKey" msprop:Generator_ColumnVarNameInTable="columnExtKey" msprop:Generator_ColumnPropNameInRow="ExtKey" msprop:Generator_ColumnPropNameInTable="ExtKeyColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DueDate" msprop:Generator_UserColumnName="DueDate" msprop:Generator_ColumnVarNameInTable="columnDueDate" msprop:Generator_ColumnPropNameInRow="DueDate" msprop:Generator_ColumnPropNameInTable="DueDateColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="LeadTime" msprop:Generator_UserColumnName="LeadTime" msprop:Generator_ColumnVarNameInTable="columnLeadTime" msprop:Generator_ColumnPropNameInRow="LeadTime" msprop:Generator_ColumnPropNameInTable="LeadTimeColumn" type="xs:double" minOccurs="0" />
<xs:element name="LeadTimeUM" msprop:Generator_UserColumnName="LeadTimeUM" msprop:Generator_ColumnVarNameInTable="columnLeadTimeUM" msprop:Generator_ColumnPropNameInRow="LeadTimeUM" msprop:Generator_ColumnPropNameInTable="LeadTimeUMColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="UserCreaz" msprop:Generator_UserColumnName="UserCreaz" msprop:Generator_ColumnVarNameInTable="columnUserCreaz" msprop:Generator_ColumnPropNameInRow="UserCreaz" msprop:Generator_ColumnPropNameInTable="UserCreazColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DataCreaz" msprop:Generator_UserColumnName="DataCreaz" msprop:Generator_ColumnVarNameInTable="columnDataCreaz" msprop:Generator_ColumnPropNameInRow="DataCreaz" msprop:Generator_ColumnPropNameInTable="DataCreazColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="UserMod" msprop:Generator_UserColumnName="UserMod" msprop:Generator_ColumnVarNameInTable="columnUserMod" msprop:Generator_ColumnPropNameInRow="UserMod" msprop:Generator_ColumnPropNameInTable="UserModColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DataMod" msprop:Generator_UserColumnName="DataMod" msprop:Generator_ColumnVarNameInTable="columnDataMod" msprop:Generator_ColumnPropNameInRow="DataMod" msprop:Generator_ColumnPropNameInTable="DataModColumn" type="xs:dateTime" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_righe" msprop:Generator_UserTableName="v_righe" msprop:Generator_RowDeletedName="v_righeRowDeleted" msprop:Generator_RowChangedName="v_righeRowChanged" msprop:Generator_RowClassName="v_righeRow" msprop:Generator_RowChangingName="v_righeRowChanging" msprop:Generator_RowEvArgName="v_righeRowChangeEvent" msprop:Generator_RowEvHandlerName="v_righeRowChangeEventHandler" msprop:Generator_TableClassName="v_righeDataTable" msprop:Generator_TableVarName="tablev_righe" msprop:Generator_RowDeletingName="v_righeRowDeleting" msprop:Generator_TablePropName="v_righe">
<xs:complexType>
<xs:sequence>
<xs:element name="Cod" msprop:Generator_UserColumnName="Cod" msprop:Generator_ColumnVarNameInTable="columnCod" msprop:Generator_ColumnPropNameInRow="Cod" msprop:Generator_ColumnPropNameInTable="CodColumn">
@@ -988,28 +810,14 @@ WHERE (TransizioneEventi.codInviato = @codInviato)</CommandText>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodCliente" msdata:ReadOnly="true" msprop:Generator_UserColumnName="CodCliente" msprop:Generator_ColumnVarNameInTable="columnCodCliente" msprop:Generator_ColumnPropNameInRow="CodCliente" msprop:Generator_ColumnPropNameInTable="CodClienteColumn" minOccurs="0">
<xs:element name="CodCliente" msprop:Generator_UserColumnName="CodCliente" msprop:Generator_ColumnVarNameInTable="columnCodCliente" msprop:Generator_ColumnPropNameInRow="CodCliente" msprop:Generator_ColumnPropNameInTable="CodClienteColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Cliente" msdata:ReadOnly="true" msprop:Generator_UserColumnName="Cliente" msprop:Generator_ColumnVarNameInTable="columnCliente" msprop:Generator_ColumnPropNameInRow="Cliente" msprop:Generator_ColumnPropNameInTable="ClienteColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DDT" msdata:ReadOnly="true" msprop:Generator_UserColumnName="DDT" msprop:Generator_ColumnVarNameInTable="columnDDT" msprop:Generator_ColumnPropNameInRow="DDT" msprop:Generator_ColumnPropNameInTable="DDTColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="descrizione" msdata:ReadOnly="true" msprop:Generator_UserColumnName="descrizione" msprop:Generator_ColumnVarNameInTable="columndescrizione" msprop:Generator_ColumnPropNameInRow="descrizione" msprop:Generator_ColumnPropNameInTable="descrizioneColumn" minOccurs="0">
<xs:element name="Cliente" msprop:Generator_UserColumnName="Cliente" msprop:Generator_ColumnVarNameInTable="columnCliente" msprop:Generator_ColumnPropNameInRow="Cliente" msprop:Generator_ColumnPropNameInTable="ClienteColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
@@ -1023,6 +831,20 @@ WHERE (TransizioneEventi.codInviato = @codInviato)</CommandText>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="descrizione" msprop:Generator_UserColumnName="descrizione" msprop:Generator_ColumnVarNameInTable="columndescrizione" msprop:Generator_ColumnPropNameInRow="descrizione" msprop:Generator_ColumnPropNameInTable="descrizioneColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DDT" msprop:Generator_UserColumnName="DDT" msprop:Generator_ColumnVarNameInTable="columnDDT" msprop:Generator_ColumnPropNameInRow="DDT" msprop:Generator_ColumnPropNameInTable="DDTColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DataArrivo" msprop:Generator_UserColumnName="DataArrivo" msprop:Generator_ColumnVarNameInTable="columnDataArrivo" msprop:Generator_ColumnPropNameInRow="DataArrivo" msprop:Generator_ColumnPropNameInTable="DataArrivoColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="Posizione" msprop:Generator_UserColumnName="Posizione" msprop:Generator_ColumnVarNameInTable="columnPosizione" msprop:Generator_ColumnPropNameInRow="Posizione" msprop:Generator_ColumnPropNameInTable="PosizioneColumn" minOccurs="0">
<xs:simpleType>
@@ -1033,16 +855,10 @@ WHERE (TransizioneEventi.codInviato = @codInviato)</CommandText>
</xs:element>
<xs:element name="Qta" msdata:ReadOnly="true" msprop:Generator_UserColumnName="Qta" msprop:Generator_ColumnVarNameInTable="columnQta" msprop:Generator_ColumnPropNameInRow="Qta" msprop:Generator_ColumnPropNameInTable="QtaColumn" type="xs:int" minOccurs="0" />
<xs:element name="Peso" msdata:ReadOnly="true" msprop:Generator_UserColumnName="Peso" msprop:Generator_ColumnVarNameInTable="columnPeso" msprop:Generator_ColumnPropNameInRow="Peso" msprop:Generator_ColumnPropNameInTable="PesoColumn" type="xs:double" minOccurs="0" />
<xs:element name="Colli" msdata:ReadOnly="true" msprop:Generator_UserColumnName="Colli" msprop:Generator_ColumnVarNameInTable="columnColli" msprop:Generator_ColumnPropNameInRow="Colli" msprop:Generator_ColumnPropNameInTable="ColliColumn" type="xs:int" minOccurs="0" />
<xs:element name="Righe" msprop:Generator_UserColumnName="Righe" msprop:Generator_ColumnVarNameInTable="columnRighe" msprop:Generator_ColumnPropNameInRow="Righe" msprop:Generator_ColumnPropNameInTable="RigheColumn" type="xs:int" minOccurs="0" />
<xs:element name="Colli" msprop:Generator_UserColumnName="Colli" msprop:Generator_ColumnVarNameInTable="columnColli" msprop:Generator_ColumnPropNameInRow="Colli" msprop:Generator_ColumnPropNameInTable="ColliColumn" type="xs:int" minOccurs="0" />
<xs:element name="DataPrevista" msprop:Generator_UserColumnName="DataPrevista" msprop:Generator_ColumnVarNameInTable="columnDataPrevista" msprop:Generator_ColumnPropNameInRow="DataPrevista" msprop:Generator_ColumnPropNameInTable="DataPrevistaColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="IdxObjMamma" msprop:Generator_UserColumnName="IdxObjMamma" msprop:Generator_ColumnVarNameInTable="columnIdxObjMamma" msprop:Generator_ColumnPropNameInRow="IdxObjMamma" msprop:Generator_ColumnPropNameInTable="IdxObjMammaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DataDDT" msprop:Generator_UserColumnName="DataDDT" msprop:Generator_ColumnVarNameInTable="columnDataDDT" msprop:Generator_ColumnPropNameInRow="DataDDT" msprop:Generator_ColumnPropNameInTable="DataDDTColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="DataDDT" msprop:Generator_UserColumnName="DataDDT" msprop:Generator_ColumnPropNameInRow="DataDDT" msprop:Generator_ColumnVarNameInTable="columnDataDDT" msprop:Generator_ColumnPropNameInTable="DataDDTColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="CodStato" msprop:Generator_UserColumnName="CodStato" msprop:Generator_ColumnPropNameInRow="CodStato" msprop:Generator_ColumnVarNameInTable="columnCodStato" msprop:Generator_ColumnPropNameInTable="CodStatoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
@@ -1050,17 +866,113 @@ WHERE (TransizioneEventi.codInviato = @codInviato)</CommandText>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Ciclo" msprop:Generator_UserColumnName="Ciclo" msprop:Generator_ColumnVarNameInTable="columnCiclo" msprop:Generator_ColumnPropNameInRow="Ciclo" msprop:Generator_ColumnPropNameInTable="CicloColumn" minOccurs="0">
<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="sp_rec4Day" msprop:Generator_UserTableName="sp_rec4Day" msprop:Generator_RowDeletedName="sp_rec4DayRowDeleted" msprop:Generator_RowChangedName="sp_rec4DayRowChanged" msprop:Generator_RowClassName="sp_rec4DayRow" msprop:Generator_RowChangingName="sp_rec4DayRowChanging" msprop:Generator_RowEvArgName="sp_rec4DayRowChangeEvent" msprop:Generator_RowEvHandlerName="sp_rec4DayRowChangeEventHandler" msprop:Generator_TableClassName="sp_rec4DayDataTable" msprop:Generator_TableVarName="tablesp_rec4Day" msprop:Generator_RowDeletingName="sp_rec4DayRowDeleting" msprop:Generator_TablePropName="sp_rec4Day">
<xs:element name="IstObj" msprop:Generator_UserTableName="IstObj" msprop:Generator_RowDeletedName="IstObjRowDeleted" msprop:Generator_RowChangedName="IstObjRowChanged" msprop:Generator_RowClassName="IstObjRow" msprop:Generator_RowChangingName="IstObjRowChanging" msprop:Generator_RowEvArgName="IstObjRowChangeEvent" msprop:Generator_RowEvHandlerName="IstObjRowChangeEventHandler" msprop:Generator_TableClassName="IstObjDataTable" msprop:Generator_TableVarName="tableIstObj" msprop:Generator_RowDeletingName="IstObjRowDeleting" msprop:Generator_TablePropName="IstObj">
<xs:complexType>
<xs:sequence>
<xs:element name="rec4Day" msdata:ReadOnly="true" msprop:Generator_UserColumnName="rec4Day" msprop:Generator_ColumnPropNameInRow="rec4Day" msprop:Generator_ColumnVarNameInTable="columnrec4Day" msprop:Generator_ColumnPropNameInTable="rec4DayColumn" type="xs:int" minOccurs="0" />
<xs:element name="IdxObj" msprop:Generator_UserColumnName="IdxObj" msprop:Generator_ColumnPropNameInRow="IdxObj" msprop:Generator_ColumnVarNameInTable="columnIdxObj" msprop:Generator_ColumnPropNameInTable="IdxObjColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodCliente" msprop:Generator_UserColumnName="CodCliente" msprop:Generator_ColumnPropNameInRow="CodCliente" msprop:Generator_ColumnVarNameInTable="columnCodCliente" msprop:Generator_ColumnPropNameInTable="CodClienteColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodStato" msprop:Generator_UserColumnName="CodStato" msprop:Generator_ColumnPropNameInRow="CodStato" msprop:Generator_ColumnVarNameInTable="columnCodStato" msprop:Generator_ColumnPropNameInTable="CodStatoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Posizione" msprop:Generator_UserColumnName="Posizione" msprop:Generator_ColumnPropNameInRow="Posizione" msprop:Generator_ColumnVarNameInTable="columnPosizione" msprop:Generator_ColumnPropNameInTable="PosizioneColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Livello" msprop:Generator_UserColumnName="Livello" msprop:Generator_ColumnPropNameInRow="Livello" msprop:Generator_ColumnVarNameInTable="columnLivello" msprop:Generator_ColumnPropNameInTable="LivelloColumn" type="xs:int" minOccurs="0" />
<xs:element name="Rev" msprop:Generator_UserColumnName="Rev" msprop:Generator_ColumnPropNameInRow="Rev" msprop:Generator_ColumnVarNameInTable="columnRev" msprop:Generator_ColumnPropNameInTable="RevColumn" type="xs:int" minOccurs="0" />
<xs:element name="CodObj" msprop:Generator_UserColumnName="CodObj" msprop:Generator_ColumnPropNameInRow="CodObj" msprop:Generator_ColumnVarNameInTable="columnCodObj" msprop:Generator_ColumnPropNameInTable="CodObjColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Nome" msprop:Generator_UserColumnName="Nome" msprop:Generator_ColumnPropNameInRow="Nome" msprop:Generator_ColumnVarNameInTable="columnNome" msprop:Generator_ColumnPropNameInTable="NomeColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="IdxObjMamma" msprop:Generator_UserColumnName="IdxObjMamma" msprop:Generator_ColumnPropNameInRow="IdxObjMamma" msprop:Generator_ColumnVarNameInTable="columnIdxObjMamma" msprop:Generator_ColumnPropNameInTable="IdxObjMammaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Note" msprop:Generator_UserColumnName="Note" msprop:Generator_ColumnPropNameInRow="Note" msprop:Generator_ColumnVarNameInTable="columnNote" msprop:Generator_ColumnPropNameInTable="NoteColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ExtKey" msprop:Generator_UserColumnName="ExtKey" msprop:Generator_ColumnPropNameInRow="ExtKey" msprop:Generator_ColumnVarNameInTable="columnExtKey" msprop:Generator_ColumnPropNameInTable="ExtKeyColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DueDate" msprop:Generator_UserColumnName="DueDate" msprop:Generator_ColumnPropNameInRow="DueDate" msprop:Generator_ColumnVarNameInTable="columnDueDate" msprop:Generator_ColumnPropNameInTable="DueDateColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="LeadTime" msprop:Generator_UserColumnName="LeadTime" msprop:Generator_ColumnPropNameInRow="LeadTime" msprop:Generator_ColumnVarNameInTable="columnLeadTime" msprop:Generator_ColumnPropNameInTable="LeadTimeColumn" type="xs:double" minOccurs="0" />
<xs:element name="LeadTimeUM" msprop:Generator_UserColumnName="LeadTimeUM" msprop:Generator_ColumnPropNameInRow="LeadTimeUM" msprop:Generator_ColumnVarNameInTable="columnLeadTimeUM" msprop:Generator_ColumnPropNameInTable="LeadTimeUMColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="UserCreaz" msprop:Generator_UserColumnName="UserCreaz" msprop:Generator_ColumnPropNameInRow="UserCreaz" msprop:Generator_ColumnVarNameInTable="columnUserCreaz" msprop:Generator_ColumnPropNameInTable="UserCreazColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DataCreaz" msprop:Generator_UserColumnName="DataCreaz" msprop:Generator_ColumnPropNameInRow="DataCreaz" msprop:Generator_ColumnVarNameInTable="columnDataCreaz" msprop:Generator_ColumnPropNameInTable="DataCreazColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="UserMod" msprop:Generator_UserColumnName="UserMod" msprop:Generator_ColumnPropNameInRow="UserMod" msprop:Generator_ColumnVarNameInTable="columnUserMod" msprop:Generator_ColumnPropNameInTable="UserModColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DataMod" msprop:Generator_UserColumnName="DataMod" msprop:Generator_ColumnPropNameInRow="DataMod" msprop:Generator_ColumnVarNameInTable="columnDataMod" msprop:Generator_ColumnPropNameInTable="DataModColumn" type="xs:dateTime" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_ULP" msprop:Generator_UserTableName="v_ULP" msprop:Generator_RowDeletedName="v_ULPRowDeleted" msprop:Generator_RowChangedName="v_ULPRowChanged" msprop:Generator_RowClassName="v_ULPRow" msprop:Generator_RowChangingName="v_ULPRowChanging" msprop:Generator_RowEvArgName="v_ULPRowChangeEvent" msprop:Generator_RowEvHandlerName="v_ULPRowChangeEventHandler" msprop:Generator_TableClassName="v_ULPDataTable" msprop:Generator_TableVarName="tablev_ULP" msprop:Generator_RowDeletingName="v_ULPRowDeleting" msprop:Generator_TablePropName="v_ULP">
<xs:element name="v_righe" msprop:Generator_UserTableName="v_righe" msprop:Generator_RowDeletedName="v_righeRowDeleted" msprop:Generator_RowChangedName="v_righeRowChanged" msprop:Generator_RowClassName="v_righeRow" msprop:Generator_RowChangingName="v_righeRowChanging" msprop:Generator_RowEvArgName="v_righeRowChangeEvent" msprop:Generator_RowEvHandlerName="v_righeRowChangeEventHandler" msprop:Generator_TableClassName="v_righeDataTable" msprop:Generator_TableVarName="tablev_righe" msprop:Generator_RowDeletingName="v_righeRowDeleting" msprop:Generator_TablePropName="v_righe">
<xs:complexType>
<xs:sequence>
<xs:element name="Cod" msprop:Generator_UserColumnName="Cod" msprop:Generator_ColumnPropNameInRow="Cod" msprop:Generator_ColumnVarNameInTable="columnCod" msprop:Generator_ColumnPropNameInTable="CodColumn">
@@ -1122,6 +1034,7 @@ WHERE (TransizioneEventi.codInviato = @codInviato)</CommandText>
</xs:element>
<xs:element name="Qta" msdata:ReadOnly="true" msprop:Generator_UserColumnName="Qta" msprop:Generator_ColumnPropNameInRow="Qta" msprop:Generator_ColumnVarNameInTable="columnQta" msprop:Generator_ColumnPropNameInTable="QtaColumn" type="xs:int" minOccurs="0" />
<xs:element name="Peso" msdata:ReadOnly="true" msprop:Generator_UserColumnName="Peso" msprop:Generator_ColumnPropNameInRow="Peso" msprop:Generator_ColumnVarNameInTable="columnPeso" msprop:Generator_ColumnPropNameInTable="PesoColumn" type="xs:double" minOccurs="0" />
<xs:element name="Colli" msdata:ReadOnly="true" msprop:Generator_UserColumnName="Colli" msprop:Generator_ColumnPropNameInRow="Colli" msprop:Generator_ColumnVarNameInTable="columnColli" msprop:Generator_ColumnPropNameInTable="ColliColumn" type="xs:int" minOccurs="0" />
<xs:element name="DataPrevista" msprop:Generator_UserColumnName="DataPrevista" msprop:Generator_ColumnPropNameInRow="DataPrevista" msprop:Generator_ColumnVarNameInTable="columnDataPrevista" msprop:Generator_ColumnPropNameInTable="DataPrevistaColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="IdxObjMamma" msprop:Generator_UserColumnName="IdxObjMamma" msprop:Generator_ColumnPropNameInRow="IdxObjMamma" msprop:Generator_ColumnVarNameInTable="columnIdxObjMamma" msprop:Generator_ColumnPropNameInTable="IdxObjMammaColumn" minOccurs="0">
<xs:simpleType>
@@ -1130,8 +1043,96 @@ WHERE (TransizioneEventi.codInviato = @codInviato)</CommandText>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DataDDT" msprop:Generator_UserColumnName="DataDDT" msprop:Generator_ColumnVarNameInTable="columnDataDDT" msprop:Generator_ColumnPropNameInRow="DataDDT" msprop:Generator_ColumnPropNameInTable="DataDDTColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="CodStato" msprop:Generator_UserColumnName="CodStato" msprop:Generator_ColumnPropNameInRow="CodStato" msprop:Generator_ColumnVarNameInTable="columnCodStato" msprop:Generator_ColumnPropNameInTable="CodStatoColumn" minOccurs="0">
<xs:element name="DataDDT" msprop:Generator_UserColumnName="DataDDT" msprop:Generator_ColumnPropNameInRow="DataDDT" msprop:Generator_ColumnVarNameInTable="columnDataDDT" msprop:Generator_ColumnPropNameInTable="DataDDTColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="CodStato" msprop:Generator_UserColumnName="CodStato" msprop:Generator_ColumnVarNameInTable="columnCodStato" msprop:Generator_ColumnPropNameInRow="CodStato" msprop:Generator_ColumnPropNameInTable="CodStatoColumn" minOccurs="0">
<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="sp_rec4Day" msprop:Generator_UserTableName="sp_rec4Day" msprop:Generator_RowDeletedName="sp_rec4DayRowDeleted" msprop:Generator_RowChangedName="sp_rec4DayRowChanged" msprop:Generator_RowClassName="sp_rec4DayRow" msprop:Generator_RowChangingName="sp_rec4DayRowChanging" msprop:Generator_RowEvArgName="sp_rec4DayRowChangeEvent" msprop:Generator_RowEvHandlerName="sp_rec4DayRowChangeEventHandler" msprop:Generator_TableClassName="sp_rec4DayDataTable" msprop:Generator_TableVarName="tablesp_rec4Day" msprop:Generator_RowDeletingName="sp_rec4DayRowDeleting" msprop:Generator_TablePropName="sp_rec4Day">
<xs:complexType>
<xs:sequence>
<xs:element name="rec4Day" msdata:ReadOnly="true" msprop:Generator_UserColumnName="rec4Day" msprop:Generator_ColumnVarNameInTable="columnrec4Day" msprop:Generator_ColumnPropNameInRow="rec4Day" msprop:Generator_ColumnPropNameInTable="rec4DayColumn" type="xs:int" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_ULP" msprop:Generator_UserTableName="v_ULP" msprop:Generator_RowDeletedName="v_ULPRowDeleted" msprop:Generator_RowChangedName="v_ULPRowChanged" msprop:Generator_RowClassName="v_ULPRow" msprop:Generator_RowChangingName="v_ULPRowChanging" msprop:Generator_RowEvArgName="v_ULPRowChangeEvent" msprop:Generator_RowEvHandlerName="v_ULPRowChangeEventHandler" msprop:Generator_TableClassName="v_ULPDataTable" msprop:Generator_TableVarName="tablev_ULP" msprop:Generator_RowDeletingName="v_ULPRowDeleting" msprop:Generator_TablePropName="v_ULP">
<xs:complexType>
<xs:sequence>
<xs:element name="Cod" msprop:Generator_UserColumnName="Cod" msprop:Generator_ColumnVarNameInTable="columnCod" msprop:Generator_ColumnPropNameInRow="Cod" msprop:Generator_ColumnPropNameInTable="CodColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Stato" msprop:Generator_UserColumnName="Stato" msprop:Generator_ColumnVarNameInTable="columnStato" msprop:Generator_ColumnPropNameInRow="Stato" msprop:Generator_ColumnPropNameInTable="StatoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodCliente" msdata:ReadOnly="true" msprop:Generator_UserColumnName="CodCliente" msprop:Generator_ColumnVarNameInTable="columnCodCliente" msprop:Generator_ColumnPropNameInRow="CodCliente" msprop:Generator_ColumnPropNameInTable="CodClienteColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Cliente" msdata:ReadOnly="true" msprop:Generator_UserColumnName="Cliente" msprop:Generator_ColumnVarNameInTable="columnCliente" msprop:Generator_ColumnPropNameInRow="Cliente" msprop:Generator_ColumnPropNameInTable="ClienteColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DDT" msdata:ReadOnly="true" msprop:Generator_UserColumnName="DDT" msprop:Generator_ColumnVarNameInTable="columnDDT" msprop:Generator_ColumnPropNameInRow="DDT" msprop:Generator_ColumnPropNameInTable="DDTColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="descrizione" msdata:ReadOnly="true" msprop:Generator_UserColumnName="descrizione" msprop:Generator_ColumnVarNameInTable="columndescrizione" msprop:Generator_ColumnPropNameInRow="descrizione" msprop:Generator_ColumnPropNameInTable="descrizioneColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodCli" msprop:Generator_UserColumnName="CodCli" msprop:Generator_ColumnVarNameInTable="columnCodCli" msprop:Generator_ColumnPropNameInRow="CodCli" msprop:Generator_ColumnPropNameInTable="CodCliColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DataArrivo" msprop:Generator_UserColumnName="DataArrivo" msprop:Generator_ColumnVarNameInTable="columnDataArrivo" msprop:Generator_ColumnPropNameInRow="DataArrivo" msprop:Generator_ColumnPropNameInTable="DataArrivoColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="Posizione" msprop:Generator_UserColumnName="Posizione" msprop:Generator_ColumnVarNameInTable="columnPosizione" msprop:Generator_ColumnPropNameInRow="Posizione" msprop:Generator_ColumnPropNameInTable="PosizioneColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Qta" msdata:ReadOnly="true" msprop:Generator_UserColumnName="Qta" msprop:Generator_ColumnVarNameInTable="columnQta" msprop:Generator_ColumnPropNameInRow="Qta" msprop:Generator_ColumnPropNameInTable="QtaColumn" type="xs:int" minOccurs="0" />
<xs:element name="Peso" msdata:ReadOnly="true" msprop:Generator_UserColumnName="Peso" msprop:Generator_ColumnVarNameInTable="columnPeso" msprop:Generator_ColumnPropNameInRow="Peso" msprop:Generator_ColumnPropNameInTable="PesoColumn" type="xs:double" minOccurs="0" />
<xs:element name="DataPrevista" msprop:Generator_UserColumnName="DataPrevista" msprop:Generator_ColumnVarNameInTable="columnDataPrevista" msprop:Generator_ColumnPropNameInRow="DataPrevista" msprop:Generator_ColumnPropNameInTable="DataPrevistaColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="IdxObjMamma" msprop:Generator_UserColumnName="IdxObjMamma" msprop:Generator_ColumnVarNameInTable="columnIdxObjMamma" msprop:Generator_ColumnPropNameInRow="IdxObjMamma" msprop:Generator_ColumnPropNameInTable="IdxObjMammaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DataDDT" msprop:Generator_UserColumnName="DataDDT" msprop:Generator_ColumnPropNameInRow="DataDDT" msprop:Generator_ColumnVarNameInTable="columnDataDDT" msprop:Generator_ColumnPropNameInTable="DataDDTColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="CodStato" msprop:Generator_UserColumnName="CodStato" msprop:Generator_ColumnVarNameInTable="columnCodStato" msprop:Generator_ColumnPropNameInRow="CodStato" msprop:Generator_ColumnPropNameInTable="CodStatoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
@@ -1144,29 +1145,29 @@ WHERE (TransizioneEventi.codInviato = @codInviato)</CommandText>
<xs:element name="TransizioneEventi" msprop:Generator_UserTableName="TransizioneEventi" msprop:Generator_RowDeletedName="TransizioneEventiRowDeleted" msprop:Generator_RowChangedName="TransizioneEventiRowChanged" msprop:Generator_RowClassName="TransizioneEventiRow" msprop:Generator_RowChangingName="TransizioneEventiRowChanging" msprop:Generator_RowEvArgName="TransizioneEventiRowChangeEvent" msprop:Generator_RowEvHandlerName="TransizioneEventiRowChangeEventHandler" msprop:Generator_TableClassName="TransizioneEventiDataTable" msprop:Generator_TableVarName="tableTransizioneEventi" msprop:Generator_RowDeletingName="TransizioneEventiRowDeleting" msprop:Generator_TablePropName="TransizioneEventi">
<xs:complexType>
<xs:sequence>
<xs:element name="codInviato" msprop:Generator_UserColumnName="codInviato" msprop:Generator_ColumnPropNameInRow="codInviato" msprop:Generator_ColumnVarNameInTable="columncodInviato" msprop:Generator_ColumnPropNameInTable="codInviatoColumn">
<xs:element name="codInviato" msprop:Generator_UserColumnName="codInviato" msprop:Generator_ColumnVarNameInTable="columncodInviato" msprop:Generator_ColumnPropNameInRow="codInviato" msprop:Generator_ColumnPropNameInTable="codInviatoColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="prec_codInviato" msprop:Generator_UserColumnName="prec_codInviato" msprop:Generator_ColumnPropNameInRow="prec_codInviato" msprop:Generator_ColumnVarNameInTable="columnprec_codInviato" msprop:Generator_ColumnPropNameInTable="prec_codInviatoColumn">
<xs:element name="prec_codInviato" msprop:Generator_UserColumnName="prec_codInviato" msprop:Generator_ColumnVarNameInTable="columnprec_codInviato" msprop:Generator_ColumnPropNameInRow="prec_codInviato" msprop:Generator_ColumnPropNameInTable="prec_codInviatoColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="IdxTipoEvento" msprop:Generator_UserColumnName="IdxTipoEvento" msprop:Generator_ColumnPropNameInRow="IdxTipoEvento" msprop:Generator_ColumnVarNameInTable="columnIdxTipoEvento" msprop:Generator_ColumnPropNameInTable="IdxTipoEventoColumn" type="xs:int" minOccurs="0" />
<xs:element name="text2show" msprop:Generator_UserColumnName="text2show" msprop:Generator_ColumnPropNameInRow="text2show" msprop:Generator_ColumnVarNameInTable="columntext2show" msprop:Generator_ColumnPropNameInTable="text2showColumn" minOccurs="0">
<xs:element name="IdxTipoEvento" msprop:Generator_UserColumnName="IdxTipoEvento" msprop:Generator_ColumnVarNameInTable="columnIdxTipoEvento" msprop:Generator_ColumnPropNameInRow="IdxTipoEvento" msprop:Generator_ColumnPropNameInTable="IdxTipoEventoColumn" type="xs:int" minOccurs="0" />
<xs:element name="text2show" msprop:Generator_UserColumnName="text2show" msprop:Generator_ColumnVarNameInTable="columntext2show" msprop:Generator_ColumnPropNameInRow="text2show" msprop:Generator_ColumnPropNameInTable="text2showColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="descrComando" msprop:Generator_UserColumnName="descrComando" msprop:Generator_ColumnPropNameInRow="descrComando" msprop:Generator_ColumnVarNameInTable="columndescrComando" msprop:Generator_ColumnPropNameInTable="descrComandoColumn" minOccurs="0">
<xs:element name="descrComando" msprop:Generator_UserColumnName="descrComando" msprop:Generator_ColumnVarNameInTable="columndescrComando" msprop:Generator_ColumnPropNameInRow="descrComando" msprop:Generator_ColumnPropNameInTable="descrComandoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
@@ -1179,8 +1180,15 @@ WHERE (TransizioneEventi.codInviato = @codInviato)</CommandText>
<xs:element name="AnagraficaEventi" msprop:Generator_UserTableName="AnagraficaEventi" msprop:Generator_RowDeletedName="AnagraficaEventiRowDeleted" msprop:Generator_RowChangedName="AnagraficaEventiRowChanged" msprop:Generator_RowClassName="AnagraficaEventiRow" msprop:Generator_RowChangingName="AnagraficaEventiRowChanging" msprop:Generator_RowEvArgName="AnagraficaEventiRowChangeEvent" msprop:Generator_RowEvHandlerName="AnagraficaEventiRowChangeEventHandler" msprop:Generator_TableClassName="AnagraficaEventiDataTable" msprop:Generator_TableVarName="tableAnagraficaEventi" msprop:Generator_RowDeletingName="AnagraficaEventiRowDeleting" msprop:Generator_TablePropName="AnagraficaEventi">
<xs:complexType>
<xs:sequence>
<xs:element name="IdxTipoEvento" msprop:Generator_UserColumnName="IdxTipoEvento" msprop:Generator_ColumnPropNameInRow="IdxTipoEvento" msprop:Generator_ColumnVarNameInTable="columnIdxTipoEvento" msprop:Generator_ColumnPropNameInTable="IdxTipoEventoColumn" type="xs:int" />
<xs:element name="Nome" msprop:Generator_UserColumnName="Nome" msprop:Generator_ColumnPropNameInRow="Nome" msprop:Generator_ColumnVarNameInTable="columnNome" msprop:Generator_ColumnPropNameInTable="NomeColumn" minOccurs="0">
<xs:element name="IdxTipoEvento" msprop:Generator_UserColumnName="IdxTipoEvento" msprop:Generator_ColumnVarNameInTable="columnIdxTipoEvento" msprop:Generator_ColumnPropNameInRow="IdxTipoEvento" msprop:Generator_ColumnPropNameInTable="IdxTipoEventoColumn" type="xs:int" />
<xs:element name="Nome" msprop:Generator_UserColumnName="Nome" msprop:Generator_ColumnVarNameInTable="columnNome" msprop:Generator_ColumnPropNameInRow="Nome" msprop:Generator_ColumnPropNameInTable="NomeColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Action" msprop:Generator_UserColumnName="Action" msprop:Generator_ColumnPropNameInRow="Action" msprop:Generator_ColumnVarNameInTable="columnAction" msprop:Generator_ColumnPropNameInTable="ActionColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
+3 -3
View File
@@ -4,7 +4,7 @@
Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated.
</autogenerated>-->
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-6" ViewPortY="48" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="32" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes>
<Shape ID="DesignTable:AnagClienti" ZOrder="14" X="482" Y="129" Height="105" Width="207" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:AnagTrattamenti" ZOrder="13" X="689" Y="479" Height="105" Width="238" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
@@ -15,7 +15,7 @@
<Shape ID="DesignTable:sp_rec4Day" ZOrder="8" X="806" Y="652" Height="106" Width="208" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="42" />
<Shape ID="DesignTable:v_ULP" ZOrder="1" X="118" Y="597" Height="377" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="228" />
<Shape ID="DesignTable:TransizioneEventi" ZOrder="4" X="1091" Y="667" Height="156" Width="242" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="109" />
<Shape ID="DesignTable:AnagraficaEventi" ZOrder="3" X="1083" Y="923" Height="122" Width="238" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:AnagraficaEventi" ZOrder="3" X="1083" Y="899" Height="139" Width="238" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="75" />
</Shapes>
<Connectors>
<Connector ID="DesignRelation:FK_Tratt2Obj_AnagTrattamenti" ZOrder="12" LineWidth="11">
@@ -58,7 +58,7 @@
<RoutePoints>
<Point>
<X>1162</X>
<Y>923</Y>
<Y>899</Y>
</Point>
<Point>
<X>1162</X>
+58
View File
@@ -0,0 +1,58 @@
using System;
using System.Collections.Generic;
using System.Web;
using SteamWare;
/// <summary>
/// macchina di gestione degli stati
/// </summary>
public class stateMachine
{
protected DS_applicazioneTableAdapters.AnagraficaEventiTableAdapter taAE;
protected stateMachine()
{
taAE = new DS_applicazioneTableAdapters.AnagraficaEventiTableAdapter();
}
public static stateMachine st = new stateMachine();
/// <summary>
/// restituisce il tipo di comando associato...
/// </summary>
/// <param name="comando"></param>
/// <returns></returns>
public tipoAzione azioneComando(inputComando comando)
{
tipoAzione _azione = tipoAzione.noAct;
string toDo = "";
try
{
toDo = taAE.getByCodInviato(comando.currCmdIn)[0].Action;
}
catch
{ }
switch (toDo)
{
case "ok":
_azione = tipoAzione.conferma;
break;
case "canc":
_azione = tipoAzione.annulla;
break;
case "act":
_azione = tipoAzione.esegui;
break;
default:
_azione = tipoAzione.noAct;
break;
}
return _azione;
}
}
public enum tipoAzione
{
annulla,
conferma,
esegui,
noAct
}
+24 -33
View File
@@ -18,12 +18,14 @@ public partial class barcode : System.Web.UI.Page
/// </summary>
private void setupValoriBarcode()
{
// !!!RIFARE!!! questi sono SOLO x DDT-commesse, dobbiamo fare x obj generico (ULP e DDT)
DS_applicazioneTableAdapters.v_commesseTableAdapter taCommesse = new DS_applicazioneTableAdapters.v_commesseTableAdapter();
DS_applicazione.v_commesseDataTable _tabComm = taCommesse.GetData();
Dictionary<string, string> valori = new Dictionary<string, string>();
foreach (DS_applicazione.v_commesseRow riga in _tabComm)
{
valori.Add(riga.Cod.ToString(), string.Format("{0}<br/><b>{1}</b> DDT {2} del {3:dd MMM yyyy}<br/>{4} colli ({5} kg)<br /><b>{6}</b>", riga.Cod, riga.Cliente, riga.DDT, riga.DataDDT, riga.Colli, riga.Peso, riga.Stato));
// QUI formattazione campi mostrati a barcode
valori.Add(riga.Cod.ToString(), string.Format("{0} - {7}<br/><b>{1}</b> DDT {2} del {3:dd MMM yyyy}<br/>{4} colli ({5} kg)<br /><b>{6}</b>", riga.Cod, riga.Cliente, riga.DDT, riga.DataDDT, riga.Colli, riga.Peso, riga.Stato, riga.CodCli));
}
// assegno valori al barcode...
mod_barcode1.tabValori = valori;
@@ -50,19 +52,26 @@ public partial class barcode : System.Web.UI.Page
/// <param name="e"></param>
void mod_barcode1_eh_comandoRegistrato(object sender, EventArgs e)
{
// lookUp tabella transizione...
string toDo = "";
DS_applicazioneTableAdapters.AnagraficaEventiTableAdapter taAE = new DS_applicazioneTableAdapters.AnagraficaEventiTableAdapter();
try
switch (stateMachine.st.azioneComando(mod_barcode1.comandoRegistrato))
{
toDo = taAE.getByCodInviato(mod_barcode1.comandoRegistrato.currCmdIn)[0].Nome;
}
catch
{ }
// in base al contenuto del comando scelgo cosa fare...
switch (toDo)
{
case "Barcode - cambio stato":
case tipoAzione.annulla:
mod_barcode1.resetMe();
break;
case tipoAzione.conferma:
// se input completo eseguo...
if (mod_barcode1.comandoRegistrato.currCmdIn != "" && mod_barcode1.comandoRegistrato.valore != "")
{
eseguiComando();
}
else // altrimenti warning... e rimetto valori precedenti
{
mod_barcode1.txtRich2show = user_std.UtSn.Traduci("codObjUnknown");
mod_barcode1.comandoRegistrato.currCmdIn = mod_barcode1.comandoRegistrato.prevCmdIn;
mod_barcode1.comandoRegistrato.descrComando = mod_barcode1.comandoRegistrato.descrComandoPrev;
mod_barcode1.txtInput2show = mod_barcode1.comandoRegistrato.descrComandoPrev;
}
break;
case tipoAzione.esegui:
if (mod_barcode1.comandoRegistrato.valore != "")
{
mod_barcode1.txtRich2show = user_std.UtSn.Traduci("pleaseConfirm");
@@ -72,29 +81,11 @@ public partial class barcode : System.Web.UI.Page
mod_barcode1.txtRich2show = user_std.UtSn.Traduci("codObjUnknown");
}
break;
case "Barcode - interrogazione":
mod_barcode1.txtRich2show = user_std.UtSn.Traduci("pleaseConfirm");
break;
case "Barcode - conferma":
// se input completo eseguo...
if (mod_barcode1.comandoRegistrato.currCmdIn != "" && mod_barcode1.comandoRegistrato.valore != "")
{
eseguiComando();
}// altrimenti warning..
else
{
mod_barcode1.txtRich2show = user_std.UtSn.Traduci("codObjUnknown");
mod_barcode1.comandoRegistrato.currCmdIn = mod_barcode1.comandoRegistrato.prevCmdIn;
mod_barcode1.comandoRegistrato.descrComando = mod_barcode1.comandoRegistrato.descrComandoPrev;
mod_barcode1.txtInput2show = mod_barcode1.comandoRegistrato.descrComandoPrev;
}
break;
case "Barcode - reset":
mod_barcode1.resetMe();
case tipoAzione.noAct:
break;
default:
break;
}
}
}
/// <summary>
/// eseguo il comando
+1
View File
@@ -144,6 +144,7 @@ public partial class mod_barcode : ApplicationUserControl
pnlBarcodeBox.CssClass = "barcodeBoxOther";
}
}
#endregion
#region area public