#fixed 1909
sistemato gestioen terzisti e clienti da lista! prima release update sql git-svn-id: https://keyhammer.ath.cx/svn/GMW/trunk@304 365432ac-a1b5-4ffd-bb28-6d3099d32164
This commit is contained in:
@@ -83,19 +83,17 @@
|
||||
<tr>
|
||||
<td colspan="6">
|
||||
<div style="float: left;">
|
||||
<asp:Panel runat="server" ID="pnlDestinatario">
|
||||
Destinatario
|
||||
<asp:DropDownList ID="ddlDestinatario" runat="server" DataTextField="label" DataValueField="value"
|
||||
AutoPostBack="True" DataSourceID="odsDestinatari">
|
||||
</asp:DropDownList>
|
||||
<asp:ObjectDataSource ID="odsDestinatari" runat="server" OldValuesParameterFormatString="original_{0}"
|
||||
SelectMethod="getByConditio" TypeName="GMW_data.DS_UtilityTableAdapters.v_selDestinatariListePrelievoTableAdapter">
|
||||
<SelectParameters>
|
||||
<asp:ControlParameter ControlID="ddlTipoLista" Name="conditio" PropertyName="SelectedValue"
|
||||
Type="String" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
</asp:Panel>
|
||||
<asp:Label ID="lblDestinatario" runat="server" Text='<%# traduci("Destinatario") %>' />
|
||||
<asp:DropDownList ID="ddlDestinatario" runat="server" DataTextField="label" DataValueField="value"
|
||||
AutoPostBack="True" DataSourceID="odsDestinatario">
|
||||
</asp:DropDownList>
|
||||
<asp:ObjectDataSource ID="odsDestinatario" runat="server" OldValuesParameterFormatString="original_{0}"
|
||||
SelectMethod="getByConditio" TypeName="GMW_data.DS_UtilityTableAdapters.v_selDestinatariListePrelievoTableAdapter">
|
||||
<SelectParameters>
|
||||
<asp:ControlParameter ControlID="ddlTipoLista" Name="conditio"
|
||||
PropertyName="SelectedValue" DefaultValue="*" Type="String" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
</div>
|
||||
<div style="float: right;">
|
||||
<asp:Label runat="server" ID="lblTotPz" />
|
||||
|
||||
@@ -19,7 +19,7 @@ namespace GMW.WebUserControls
|
||||
ddlEsponente.Visible = false;
|
||||
ddlFigura.Visible = false;
|
||||
txtQta.Visible = false;
|
||||
pnlDestinatario.Visible = false;
|
||||
ddlDestinatario.Visible = false;
|
||||
ddlImballo.Visible = false;
|
||||
btnCreaNuova.Visible = false;
|
||||
btnCreaNuova.Text = traduci("CreaNuovaListaPrelievo");
|
||||
@@ -86,7 +86,7 @@ namespace GMW.WebUserControls
|
||||
ddlEsponente.Visible = true;
|
||||
ddlFigura.Visible = true;
|
||||
txtQta.Visible = true;
|
||||
pnlDestinatario.Visible = true;
|
||||
ddlDestinatario.Visible = true;
|
||||
ddlImballo.Visible = true;
|
||||
// verifico
|
||||
if (numPezziDisp > 0)
|
||||
@@ -104,7 +104,7 @@ namespace GMW.WebUserControls
|
||||
ddlEsponente.Visible = false;
|
||||
ddlFigura.Visible = false;
|
||||
txtQta.Visible = false;
|
||||
pnlDestinatario.Visible = false;
|
||||
ddlDestinatario.Visible = false;
|
||||
ddlImballo.Visible = false;
|
||||
btnCreaNuova.Visible = false;
|
||||
}
|
||||
|
||||
@@ -185,13 +185,13 @@ namespace GMW.WebUserControls {
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource odsImballo;
|
||||
|
||||
/// <summary>
|
||||
/// pnlDestinatario control.
|
||||
/// lblDestinatario control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Panel pnlDestinatario;
|
||||
protected global::System.Web.UI.WebControls.Label lblDestinatario;
|
||||
|
||||
/// <summary>
|
||||
/// ddlDestinatario control.
|
||||
@@ -203,13 +203,13 @@ namespace GMW.WebUserControls {
|
||||
protected global::System.Web.UI.WebControls.DropDownList ddlDestinatario;
|
||||
|
||||
/// <summary>
|
||||
/// odsDestinatari control.
|
||||
/// odsDestinatario control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource odsDestinatari;
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource odsDestinatario;
|
||||
|
||||
/// <summary>
|
||||
/// lblTotPz control.
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Generated
+3
-3
@@ -3911,9 +3911,9 @@ namespace GMW_data {
|
||||
this.columnvalue.AllowDBNull = false;
|
||||
this.columnvalue.Unique = true;
|
||||
this.columnvalue.MaxLength = 6;
|
||||
this.columnlabel.MaxLength = 35;
|
||||
this.columnlabel.MaxLength = 50;
|
||||
this.columnconditio.AllowDBNull = false;
|
||||
this.columnconditio.MaxLength = 3;
|
||||
this.columnconditio.MaxLength = 50;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -4899,7 +4899,7 @@ namespace GMW_data {
|
||||
public string label {
|
||||
get {
|
||||
if (this.IslabelNull()) {
|
||||
return string.Empty;
|
||||
return null;
|
||||
}
|
||||
else {
|
||||
return ((string)(this[this.tablev_selDestinatariListePrelievo.labelColumn]));
|
||||
|
||||
+58
-58
@@ -507,21 +507,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_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" />
|
||||
</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">
|
||||
<xs:element name="conditio" msprop:Generator_UserColumnName="conditio" msprop:Generator_ColumnPropNameInRow="conditio" msprop:Generator_ColumnVarNameInTable="columnconditio" msprop:Generator_ColumnPropNameInTable="conditioColumn">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="2" />
|
||||
@@ -534,22 +534,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_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: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: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_ColumnVarNameInTable="columnCodCS" msprop:Generator_ColumnPropNameInRow="CodCS" msprop:Generator_ColumnPropNameInTable="CodCSColumn" minOccurs="0">
|
||||
<xs:element name="CodCS" msprop:Generator_UserColumnName="CodCS" msprop:Generator_ColumnPropNameInRow="CodCS" msprop:Generator_ColumnVarNameInTable="columnCodCS" 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_ColumnVarNameInTable="columnCodMag" msprop:Generator_ColumnPropNameInRow="CodMag" msprop:Generator_ColumnPropNameInTable="CodMagColumn" minOccurs="0">
|
||||
<xs:element name="CodMag" msprop:Generator_UserColumnName="CodMag" msprop:Generator_ColumnPropNameInRow="CodMag" msprop:Generator_ColumnVarNameInTable="columnCodMag" msprop:Generator_ColumnPropNameInTable="CodMagColumn" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
@@ -562,35 +562,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_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: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: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_ColumnVarNameInTable="columnCodMag" msprop:Generator_ColumnPropNameInRow="CodMag" 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_ColumnVarNameInTable="columnCodCS" msprop:Generator_ColumnPropNameInRow="CodCS" 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_ColumnPropNameInRow="CodImpianto" msprop:Generator_ColumnVarNameInTable="columnCodImpianto" msprop:Generator_ColumnPropNameInTable="CodImpiantoColumn">
|
||||
<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" />
|
||||
@@ -604,21 +584,41 @@ WHERE (conditio = @conditio)</CommandText>
|
||||
</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: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: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:element name="CodCS" msprop:Generator_UserColumnName="CodCS" msprop:Generator_ColumnVarNameInTable="columnCodCS" msprop:Generator_ColumnPropNameInRow="CodCS" 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_ColumnVarNameInTable="columnDescImpianto" msprop:Generator_ColumnPropNameInRow="DescImpianto" 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_ColumnVarNameInTable="columnCampionatura" msprop:Generator_ColumnPropNameInRow="Campionatura" 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_ColumnPropNameInRow="TipoLinea" msprop:Generator_ColumnVarNameInTable="columnTipoLinea" msprop:Generator_ColumnPropNameInTable="TipoLineaColumn" minOccurs="0">
|
||||
<xs:element name="TipoLinea" msprop:Generator_UserColumnName="TipoLinea" msprop:Generator_ColumnVarNameInTable="columnTipoLinea" msprop:Generator_ColumnPropNameInRow="TipoLinea" msprop:Generator_ColumnPropNameInTable="TipoLineaColumn" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="6" />
|
||||
@@ -631,29 +631,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_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: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: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_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="20" />
|
||||
</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">
|
||||
<xs:element name="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnVarNameInTable="columnlabel" 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_ColumnVarNameInTable="columnconditio" msprop:Generator_ColumnPropNameInRow="conditio" msprop:Generator_ColumnPropNameInTable="conditioColumn">
|
||||
<xs:element name="conditio" msprop:Generator_UserColumnName="conditio" msprop:Generator_ColumnPropNameInRow="conditio" msprop:Generator_ColumnVarNameInTable="columnconditio" msprop:Generator_ColumnPropNameInTable="conditioColumn">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="3" />
|
||||
@@ -666,8 +666,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_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: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:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
@@ -680,14 +680,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_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="10" />
|
||||
</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="250" />
|
||||
@@ -700,21 +700,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_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" 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="152" />
|
||||
</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="15" />
|
||||
@@ -727,14 +727,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_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" />
|
||||
@@ -747,21 +747,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_ColumnPropNameInRow="Tipo" msprop:Generator_ColumnVarNameInTable="columnTipo" msprop:Generator_ColumnPropNameInTable="TipoColumn" minOccurs="0">
|
||||
<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: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_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="valore" msdata:ReadOnly="true" msprop:Generator_UserColumnName="valore" msprop:Generator_ColumnPropNameInRow="valore" msprop:Generator_ColumnVarNameInTable="columnvalore" msprop:Generator_ColumnPropNameInTable="valoreColumn" minOccurs="0">
|
||||
<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:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
@@ -774,21 +774,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_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" minOccurs="0">
|
||||
<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: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="50" />
|
||||
</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="2" />
|
||||
@@ -801,24 +801,24 @@ 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="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:nullValue="_null" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInTable="valueColumn">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="6" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
|
||||
<xs:element name="label" msprop:Generator_UserColumnName="label" msprop:nullValue="_null" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInTable="labelColumn" msprop:Generator_ColumnPropNameInRow="label" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="35" />
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="conditio" msprop:Generator_UserColumnName="conditio" msprop:Generator_ColumnVarNameInTable="columnconditio" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="conditio" msprop:Generator_ColumnPropNameInTable="conditioColumn">
|
||||
<xs:element name="conditio" msprop:Generator_UserColumnName="conditio" msprop:nullValue="_empty" msprop:Generator_ColumnVarNameInTable="columnconditio" msprop:Generator_ColumnPropNameInTable="conditioColumn" msprop:Generator_ColumnPropNameInRow="conditio">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="3" />
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
|
||||
@@ -1,4 +1,416 @@
|
||||
set xact_abort on
|
||||
go
|
||||
|
||||
begin transaction
|
||||
go
|
||||
|
||||
alter table AS400_MagCont add
|
||||
CodMagAS_compensaz nvarchar(50) constraint DF_AS400_MagCont_CodMagAS_compensaz default (0)
|
||||
go
|
||||
|
||||
update AS400_MagCont set CodMagAS_compensaz=0
|
||||
go
|
||||
|
||||
set ANSI_NULLS on
|
||||
go
|
||||
|
||||
-- =============================================
|
||||
-- Author: Samuele E. Locatelli
|
||||
-- Create date: 2009-09-20
|
||||
-- Description: trigger x inserimento movimenti
|
||||
-- nella coda di trasferimento batch
|
||||
-- verso AS400 x UPDATE UDC
|
||||
-- =============================================
|
||||
alter TRIGGER trg_updMovAS
|
||||
ON ElencoCartellini
|
||||
AFTER UPDATE
|
||||
AS
|
||||
BEGIN
|
||||
|
||||
-- setup variabili e verbosità
|
||||
SET NOCOUNT ON;
|
||||
DECLARE @partOk AS BIT
|
||||
DECLARE @IdxPosFrom AS INT
|
||||
DECLARE @IdxPosTo AS INT
|
||||
DECLARE @magFrom AS NVARCHAR(50)
|
||||
DECLARE @magTo AS NVARCHAR(50)
|
||||
DECLARE @qta AS DECIMAL(10,2)
|
||||
DECLARE @qtaOld AS DECIMAL(10,2)
|
||||
DECLARE @IdxPosizioneComp INT
|
||||
|
||||
-- controllo che CI SIA il particolare (altrimenti non eseguo)
|
||||
SET @partOk = (SELECT CASE WHEN ISNULL(Particolare,'n.d.') = 'n.d.' THEN 0 ELSE 1 END FROM deleted)
|
||||
|
||||
IF(@partOk = 1)
|
||||
SET @qta = (SELECT Qta FROM inserted)
|
||||
SET @qtaOld = (SELECT Qta FROM deleted)
|
||||
-- se c'è stata modifica di quantità inizio a rettificare quella
|
||||
IF (UPDATE(Qta)) AND(@qta <> @qtaOld)
|
||||
BEGIN
|
||||
-- registro il VERO movimento
|
||||
INSERT INTO AS400_BatchMovimenti(DataIns, CodEvento, Particolare, UDC, CodMagAS, Quantita)
|
||||
(
|
||||
SELECT GETDATE(), 'UDC_MOD', Particolare, UDC, CAST(IdxPosizione AS NVARCHAR(50)), @qta - Qta
|
||||
FROM deleted
|
||||
WHERE CAST(IdxPosizione AS NVARCHAR(50)) IN (SELECT CodMagAS FROM AS400_MagCont WHERE Attivo = 1)
|
||||
)
|
||||
-- controllo: se il magazzino di destinazione richiede una compensazione registro il 2° movimento di compensazione
|
||||
SET @IdxPosFrom = (SELECT IdxPosizione FROM deleted)
|
||||
SET @IdxPosTo = (SELECT IdxPosizione FROM inserted)
|
||||
-- calcolo il mag di compensazione
|
||||
SET @IdxPosizioneComp = (SELECT CAST(ISNULL(CodMagAS_compensaz,0) AS INT) FROM AS400_MagCont WHERE (Attivo = 1) AND (CodMagAS = CAST(@IdxPosFrom AS NVARCHAR(50))))
|
||||
IF (@IdxPosizioneComp > 0)
|
||||
BEGIN
|
||||
INSERT INTO AS400_BatchMovimenti(DataIns, CodEvento, Particolare, UDC, CodMagAS, Quantita)
|
||||
(
|
||||
SELECT GETDATE(), 'UDC_COMP', Particolare, UDC, CAST(@IdxPosizioneComp AS NVARCHAR(50)), Qta - @qta
|
||||
FROM deleted
|
||||
WHERE CAST(IdxPosizione AS NVARCHAR(50)) IN (SELECT CodMagAS FROM AS400_MagCont WHERE Attivo = 1)
|
||||
)
|
||||
END
|
||||
END
|
||||
|
||||
-- controllo poi se sia cambiato il magazzino, altrimenti non lo inserisco
|
||||
IF UPDATE(IdxPosizione)
|
||||
BEGIN
|
||||
-- Prendo le posizioni di magazzino precedente e nuova
|
||||
SET @IdxPosFrom = (SELECT IdxPosizione FROM deleted)
|
||||
SET @IdxPosTo = (SELECT IdxPosizione FROM inserted)
|
||||
-- Le trasformo nelle equivalenti stringhe del codMag SE attive
|
||||
SET @magFrom = (SELECT ISNULL(CodMagAS,'---') FROM AS400_MagCont WHERE Attivo = 1 AND CodMagAs = CAST(@IdxPosFrom AS NVARCHAR(50)))
|
||||
SET @magTo = (SELECT ISNULL(CodMagAS,'---') FROM AS400_MagCont WHERE Attivo = 1 AND CodMagAs = CAST(@IdxPosTo AS NVARCHAR(50)))
|
||||
|
||||
-- inserisco un movimento di deposito verso mag nuovo (SE attivo)
|
||||
IF (@magFrom <> '---')
|
||||
BEGIN
|
||||
INSERT INTO AS400_BatchMovimenti(DataIns, CodEvento, Particolare, UDC, CodMagAS, Quantita)
|
||||
(
|
||||
SELECT GETDATE(), 'UDC_MOV', Particolare, UDC, CAST(IdxPosizione AS NVARCHAR(50)), -@qta
|
||||
FROM deleted
|
||||
WHERE CAST(IdxPosizione AS NVARCHAR(50)) IN (SELECT CodMagAS FROM AS400_MagCont WHERE Attivo = 1)
|
||||
)
|
||||
END
|
||||
-- inserisco un movimento di prelievo verso mag vecchio (SE attivo)
|
||||
IF (@magTo <> '---')
|
||||
BEGIN
|
||||
INSERT INTO AS400_BatchMovimenti(DataIns, CodEvento, Particolare, UDC, CodMagAS, Quantita)
|
||||
(
|
||||
SELECT GETDATE(), 'UDC_MOV', Particolare, UDC, CAST(IdxPosizione AS NVARCHAR(50)), @qta
|
||||
FROM inserted
|
||||
WHERE CAST(IdxPosizione AS NVARCHAR(50)) IN (SELECT CodMagAS FROM AS400_MagCont WHERE Attivo = 1)
|
||||
)
|
||||
END
|
||||
END
|
||||
|
||||
END
|
||||
go
|
||||
|
||||
commit
|
||||
go
|
||||
|
||||
|
||||
set xact_abort on
|
||||
go
|
||||
|
||||
begin transaction
|
||||
go
|
||||
|
||||
UPDATE dbo.AS400_MagCont SET
|
||||
CodMagAS_compensaz=N'84'
|
||||
WHERE CodMagAS=N'54'
|
||||
UPDATE dbo.AS400_MagCont SET
|
||||
CodMagAS_compensaz=N'84'
|
||||
WHERE CodMagAS=N'88'
|
||||
go
|
||||
|
||||
commit transaction
|
||||
go
|
||||
|
||||
|
||||
set xact_abort on
|
||||
go
|
||||
|
||||
begin transaction
|
||||
go
|
||||
|
||||
set ANSI_NULLS on
|
||||
go
|
||||
|
||||
create VIEW v_specParticolari
|
||||
AS
|
||||
SELECT DISTINCT TOP (100) PERCENT CodCliente, RagSociale, Particolare, DescParticolare, DisegnoGrezzo, Esponente, CodStampo, Figura
|
||||
FROM dbo.ElencoCartellini
|
||||
WHERE (NOT (Particolare IS NULL)) AND (NOT (DisegnoGrezzo IS NULL))
|
||||
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 = "ElencoCartellini"
|
||||
Begin Extent =
|
||||
Top = 6
|
||||
Left = 246
|
||||
Bottom = 322
|
||||
Right = 416
|
||||
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 = 11
|
||||
Column = 1440
|
||||
Alias = 900
|
||||
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_specParticolari'
|
||||
go
|
||||
|
||||
exec sp_addextendedproperty 'MS_DiagramPaneCount', 1, 'SCHEMA', 'dbo', 'VIEW', 'v_specParticolari'
|
||||
go
|
||||
|
||||
commit
|
||||
go
|
||||
|
||||
|
||||
|
||||
set xact_abort on
|
||||
go
|
||||
|
||||
begin transaction
|
||||
go
|
||||
|
||||
set ANSI_NULLS on
|
||||
go
|
||||
|
||||
/*(
|
||||
* STORED stp_ParticolariGetLike
|
||||
*
|
||||
* elenco dei particolari con ricerca LIKE
|
||||
*
|
||||
* Steamware, S.E.L.
|
||||
* mod: 2010.07.07
|
||||
*
|
||||
****************************************/
|
||||
create PROCEDURE stp_ParticolariGetLike
|
||||
(
|
||||
@searchVal VARCHAR(50),
|
||||
@CodCS VARCHAR(2)
|
||||
)
|
||||
AS
|
||||
|
||||
SELECT RilPro.AnagParticolari.*
|
||||
FROM RilPro.AnagParticolari
|
||||
WHERE (RilPro.AnagParticolari.CodCS = @CodCS) AND (RilPro.AnagParticolari.Particolare LIKE '%' + @searchVal + '%')
|
||||
|
||||
RETURN
|
||||
go
|
||||
|
||||
commit
|
||||
go
|
||||
|
||||
set xact_abort on
|
||||
go
|
||||
|
||||
begin transaction
|
||||
go
|
||||
|
||||
set ANSI_NULLS on
|
||||
go
|
||||
|
||||
/***************************************
|
||||
* STORED stp_SpecParticolare
|
||||
*
|
||||
* ottiene il dettaglio delle specifiche di un particolare dato il suo codice
|
||||
*
|
||||
* Steamware, S.E.L.
|
||||
* mod: 2010.10.29
|
||||
*
|
||||
****************************************/
|
||||
create PROCEDURE stp_SpecParticolare
|
||||
(
|
||||
@Particolare NVARCHAR(15)
|
||||
)
|
||||
AS
|
||||
|
||||
SELECT *
|
||||
FROM v_specParticolari
|
||||
WHERE Particolare=@Particolare
|
||||
|
||||
|
||||
RETURN
|
||||
go
|
||||
|
||||
commit
|
||||
go
|
||||
|
||||
|
||||
|
||||
set xact_abort on
|
||||
go
|
||||
|
||||
begin transaction
|
||||
go
|
||||
|
||||
set ANSI_NULLS on
|
||||
go
|
||||
|
||||
/***************************************
|
||||
* STORED stp_UDC_updateQty
|
||||
*
|
||||
* aggiorna un cartellino x la sua quantità
|
||||
*
|
||||
* Steamware, S.E.L.
|
||||
* mod: 2010.06.12
|
||||
*
|
||||
****************************************/
|
||||
alter PROCEDURE stp_UDC_updateQty
|
||||
(
|
||||
@UDC VARCHAR(20),
|
||||
@CodSoggetto VARCHAR(17),
|
||||
@CodTipoDichiaraz CHAR(1),
|
||||
@CodEvento VARCHAR(10),
|
||||
@Qta DECIMAL(10,2)
|
||||
)
|
||||
AS
|
||||
|
||||
|
||||
------------------------------------------------------------------------------------------------------
|
||||
-- Ciclo principale x edit record
|
||||
------------------------------------------------------------------------------------------------------
|
||||
BEGIN TRAN
|
||||
|
||||
/*
|
||||
-- registro in StoricoCartellini
|
||||
INSERT INTO StoricoCartellini(DataEv, CodEvento, CodTipoDichiaraz, UDC, CodCS,CodCliente, RagSociale, Particolare, DescParticolare,
|
||||
DisegnoGrezzo, Esponente, CodImpianto, DescImpianto, CodStampo, Figura, DataFus, TurnoFus, CodImballo, CodSoggetto,
|
||||
NumCont, Tara, Qta, CodStato, IdxPosizione, PesoTot, PesoCad)
|
||||
SELECT GETDATE() AS DataEv, @CodEvento AS CodEvento, @CodTipoDichiaraz AS CodTipoDichiaraz, UDC, CodCS,
|
||||
CodCliente, RagSociale, Particolare, DescParticolare, DisegnoGrezzo, Esponente, CodImpianto, DescImpianto, CodStampo, Figura,
|
||||
DataFus, TurnoFus, CodImballo, @CodSoggetto AS CodSoggetto, NumCont, Tara, Qta, CodStato, IdxPosizione, PesoTot, PesoCad
|
||||
FROM ElencoCartellini
|
||||
WHERE (UDC = @UDC)
|
||||
*/
|
||||
|
||||
-- modifico il record
|
||||
UPDATE ElencoCartellini
|
||||
SET Qta = @Qta, ModDate = GETDATE()
|
||||
WHERE UDC = @UDC
|
||||
|
||||
COMMIT TRAN
|
||||
------------------------------------------------------------------------------------------------------
|
||||
|
||||
------------------------------------------------------------------------------------------------------
|
||||
-- restituisco la tab dati con l'udc appena inserito
|
||||
------------------------------------------------------------------------------------------------------
|
||||
SELECT *
|
||||
FROM ElencoCartellini
|
||||
WHERE UDC = @UDC
|
||||
------------------------------------------------------------------------------------------------------
|
||||
|
||||
RETURN
|
||||
go
|
||||
|
||||
commit
|
||||
go
|
||||
|
||||
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user