Update installer a vers 160 con gestione destinatario (con autocompletamento)
git-svn-id: https://keyhammer.ath.cx/svn/GMW/trunk@176 365432ac-a1b5-4ffd-bb28-6d3099d32164
This commit is contained in:
@@ -25,7 +25,7 @@ namespace GMW.WS
|
||||
// inizializzo risposta
|
||||
List<string> suggerimenti = new List<string>();
|
||||
// proseguo SOLO SE min "MinCharAutocomplete" char...
|
||||
if (count > memLayer.ML.confReadInt("MinCharAutocomplete"))
|
||||
if (count >= memLayer.ML.confReadInt("MinCharAutocomplete"))
|
||||
{
|
||||
// elenco candidati
|
||||
DS_magazzino.V_ParticolariOverviewDataTable tabParticolari = MagClass.magazzino.taVParticolariOverwiew.getByLikePrefix(prefixText, memLayer.ML.confReadString("CodCS"));
|
||||
@@ -37,14 +37,13 @@ namespace GMW.WS
|
||||
}
|
||||
return suggerimenti.ToArray();
|
||||
}
|
||||
|
||||
[System.Web.Services.WebMethod]
|
||||
public string[] elencoCelle(string prefixText, int count)
|
||||
{
|
||||
// inizializzo risposta
|
||||
List<string> suggerimenti = new List<string>();
|
||||
// proseguo SOLO SE min "MinCharAutocomplete" char...
|
||||
if (count > memLayer.ML.confReadInt("MinCharAutocomplete"))
|
||||
if (count >= memLayer.ML.confReadInt("MinCharAutocomplete"))
|
||||
{
|
||||
// elenco candidati
|
||||
DS_magazzino.CelleDataTable tabCelle = MagClass.magazzino.taCelle.getByCodCellaLike(prefixText, memLayer.ML.confReadString("CodCS"));
|
||||
@@ -56,5 +55,23 @@ namespace GMW.WS
|
||||
}
|
||||
return suggerimenti.ToArray();
|
||||
}
|
||||
[System.Web.Services.WebMethod]
|
||||
public string[] elencoDestListePrel(string prefixText, int count)
|
||||
{
|
||||
// inizializzo risposta
|
||||
List<string> suggerimenti = new List<string>();
|
||||
// proseguo SOLO SE min "MinCharAutocomplete" char...
|
||||
if (count >= memLayer.ML.confReadInt("MinCharAutocomplete"))
|
||||
{
|
||||
// elenco candidati
|
||||
DS_Utility.v_selDestinatariListePrelievoDataTable tabella = utils.obj.taDestListePre.getBySearchLike(prefixText);
|
||||
// aggiungo ogni riga...
|
||||
foreach (DS_Utility.v_selDestinatariListePrelievoRow riga in tabella)
|
||||
{
|
||||
suggerimenti.Add(riga.Destinatario);
|
||||
}
|
||||
}
|
||||
return suggerimenti.ToArray();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+2
-2
@@ -62,7 +62,7 @@
|
||||
<add key="appName" value="GMW" />
|
||||
<add key="SiteName" value="Ambivere"/>
|
||||
<add key="mainRev" value="1.0" />
|
||||
<add key="minRev" value="155" />
|
||||
<add key="minRev" value="160" />
|
||||
<add key="copyRight" value="SteamWare © 2010" />
|
||||
<add key="_allowForceUser" value="true" />
|
||||
<add key="_safePages" value="jumper.aspx#unauthorized.aspx#allegati.aspx#forceUser.aspx#login.aspx#test.aspx#istruzioni.aspx#Test.aspx" />
|
||||
@@ -78,7 +78,7 @@
|
||||
<add key="_righeDataGridLong" value="40" />
|
||||
<add key="_righeDataGridMed" value="20" />
|
||||
<add key="_righeDataGridShort" value="10" />
|
||||
<add key="MinCharAutocomplete" value="3" />
|
||||
<add key="MinCharAutocomplete" value="2" />
|
||||
<add key="_fromEmail" value="GMW@steamware.net" />
|
||||
<add key="urlWebServer" value="http://localhost/GMW/" />
|
||||
<add key="Max_X" value="850" />
|
||||
|
||||
@@ -55,6 +55,11 @@
|
||||
ToolTip='<%# traduci("Select") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.seleziona, SteamWare.dimImg.small) %>' />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Destinatario" SortExpression="Destinatario">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="lblDestinatario" runat="server" Text='<%# Eval("Destinatario") %>' />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="TipoLista" SortExpression="CodTipoLista" ItemStyle-HorizontalAlign="Center">
|
||||
<ItemTemplate>
|
||||
<asp:Image runat="server" ID="imgCodTipoLista" ImageUrl='<%# pathImgTipo(Eval("CodTipoLista")) %>'
|
||||
|
||||
@@ -21,8 +21,6 @@
|
||||
<td>
|
||||
Imballo
|
||||
</td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
@@ -45,8 +43,8 @@
|
||||
<asp:ObjectDataSource ID="odsEsponente" runat="server" OldValuesParameterFormatString="original_{0}"
|
||||
SelectMethod="getEspByPart" TypeName="GMW_data.DS_magazzinoTableAdapters.v_particolariEsponenteFiguraTableAdapter">
|
||||
<SelectParameters>
|
||||
<asp:ControlParameter ControlID="txtParticolare" DefaultValue="*"
|
||||
Name="Particolare" PropertyName="Text" Type="String" />
|
||||
<asp:ControlParameter ControlID="txtParticolare" DefaultValue="*" Name="Particolare"
|
||||
PropertyName="Text" Type="String" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
</td>
|
||||
@@ -57,8 +55,8 @@
|
||||
<asp:ObjectDataSource ID="odsFigura" runat="server" OldValuesParameterFormatString="original_{0}"
|
||||
SelectMethod="getFigByPart" TypeName="GMW_data.DS_magazzinoTableAdapters.v_particolariEsponenteFiguraTableAdapter">
|
||||
<SelectParameters>
|
||||
<asp:ControlParameter ControlID="txtParticolare" DefaultValue="*"
|
||||
Name="Particolare" PropertyName="Text" Type="String" />
|
||||
<asp:ControlParameter ControlID="txtParticolare" DefaultValue="*" Name="Particolare"
|
||||
PropertyName="Text" Type="String" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
</td>
|
||||
@@ -66,20 +64,26 @@
|
||||
<asp:TextBox ID="txtQta" runat="server" />
|
||||
</td>
|
||||
<td>
|
||||
|
||||
<asp:DropDownList ID="ddlImballo" runat="server" DataSourceID="odsImballo" DataTextField="CodImballo"
|
||||
DataValueField="CodImballo">
|
||||
</asp:DropDownList>
|
||||
<asp:ObjectDataSource ID="odsImballo" runat="server" OldValuesParameterFormatString="original_{0}"
|
||||
SelectMethod="getImbByPart" TypeName="GMW_data.DS_magazzinoTableAdapters.v_particolariEsponenteFiguraTableAdapter">
|
||||
<SelectParameters>
|
||||
<asp:ControlParameter ControlID="txtParticolare" DefaultValue="*"
|
||||
Name="Particolare" PropertyName="Text" Type="String" />
|
||||
<asp:ControlParameter ControlID="txtParticolare" DefaultValue="*" Name="Particolare"
|
||||
PropertyName="Text" Type="String" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
</td>
|
||||
<td>
|
||||
<asp:Button ID="btnCreaNuova" runat="server" onclick="btnCreaNuova_Click" />
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="6">
|
||||
Destinatario
|
||||
<asp:TextBox runat="server" ID="txtDestinatario" Width="40em" Text="" />
|
||||
<%--<asp:RequiredFieldValidator ID="rfvDestinatario" runat="server" ErrorMessage="Richiesto!" Display="Dynamic" CssClass="errore_mid" ControlToValidate="txtDestinatario" />--%>
|
||||
<asp:AutoCompleteExtender ID="aceDestinatario" runat="server" TargetControlID="txtDestinatario"
|
||||
ServicePath="~/WS/AutoCompletamento.asmx" ServiceMethod="elencoDestListePrel" />
|
||||
<asp:Button ID="btnCreaNuova" runat="server" OnClick="btnCreaNuova_Click" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@@ -87,15 +87,22 @@ namespace GMW.WebUserControls
|
||||
{
|
||||
// controllo se qta != 0...
|
||||
decimal qta = 0;
|
||||
string destinatario = "";
|
||||
try
|
||||
{
|
||||
destinatario = txtDestinatario.Text.Trim();
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
try
|
||||
{
|
||||
qta = Convert.ToDecimal(txtQta.Text);
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
if (qta > 0)
|
||||
if (qta > 0 && destinatario!="")
|
||||
{
|
||||
MagClass.magazzino.creaListaPrelievo(memLayer.ML.confReadString("CodCS"), ddlTipoLista.SelectedValue, txtParticolare.Text.Trim(), ddlEsponente.SelectedValue, ddlFigura.SelectedValue, qta, ddlImballo.SelectedValue);
|
||||
MagClass.magazzino.creaListaPrelievo(memLayer.ML.confReadString("CodCS"), ddlTipoLista.SelectedValue, txtParticolare.Text.Trim(), ddlEsponente.SelectedValue, ddlFigura.SelectedValue, qta, ddlImballo.SelectedValue, destinatario);
|
||||
// sollevo evento nuovo valore...
|
||||
if (eh_nuovoValore != null)
|
||||
{
|
||||
|
||||
@@ -112,6 +112,24 @@ namespace GMW.WebUserControls {
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource odsImballo;
|
||||
|
||||
/// <summary>
|
||||
/// txtDestinatario 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.TextBox txtDestinatario;
|
||||
|
||||
/// <summary>
|
||||
/// aceDestinatario control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::AjaxControlToolkit.AutoCompleteExtender aceDestinatario;
|
||||
|
||||
/// <summary>
|
||||
/// btnCreaNuova control.
|
||||
/// </summary>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -7,7 +7,7 @@
|
||||
<add key="appName" value="GMW"/>
|
||||
<add key="SiteName" value="Ambivere"/>
|
||||
<add key="mainRev" value="1.0"/>
|
||||
<add key="minRev" value="155" />
|
||||
<add key="minRev" value="160" />
|
||||
<add key="copyRight" value="SteamWare © 2010"/>
|
||||
<add key="_allowForceUser" value="true" />
|
||||
<add key="_safePages" value="jumper.aspx#unauthorized.aspx#allegati.aspx#forceUser.aspx#login.aspx#test.aspx#istruzioni.aspx#Test.aspx"/>
|
||||
@@ -23,7 +23,7 @@
|
||||
<add key="_righeDataGridLong" value="40" />
|
||||
<add key="_righeDataGridMed" value="20" />
|
||||
<add key="_righeDataGridShort" value="10" />
|
||||
<add key="MinCharAutocomplete" value="3" />
|
||||
<add key="MinCharAutocomplete" value="2" />
|
||||
<add key="_fromEmail" value="GMW@steamware.net" />
|
||||
<add key="urlWebServer" value="http://localhost/GMW/" />
|
||||
<!--Default values vari-->
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Generated
+507
@@ -45,6 +45,8 @@ namespace GMW_data {
|
||||
|
||||
private v_selTipoDeliberaDataTable tablev_selTipoDelibera;
|
||||
|
||||
private v_selDestinatariListePrelievoDataTable tablev_selDestinatariListePrelievo;
|
||||
|
||||
private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -101,6 +103,9 @@ namespace GMW_data {
|
||||
if ((ds.Tables["v_selTipoDelibera"] != null)) {
|
||||
base.Tables.Add(new v_selTipoDeliberaDataTable(ds.Tables["v_selTipoDelibera"]));
|
||||
}
|
||||
if ((ds.Tables["v_selDestinatariListePrelievo"] != null)) {
|
||||
base.Tables.Add(new v_selDestinatariListePrelievoDataTable(ds.Tables["v_selDestinatariListePrelievo"]));
|
||||
}
|
||||
this.DataSetName = ds.DataSetName;
|
||||
this.Prefix = ds.Prefix;
|
||||
this.Namespace = ds.Namespace;
|
||||
@@ -209,6 +214,15 @@ namespace GMW_data {
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.ComponentModel.Browsable(false)]
|
||||
[global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
|
||||
public v_selDestinatariListePrelievoDataTable v_selDestinatariListePrelievo {
|
||||
get {
|
||||
return this.tablev_selDestinatariListePrelievo;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.ComponentModel.BrowsableAttribute(true)]
|
||||
[global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)]
|
||||
@@ -298,6 +312,9 @@ namespace GMW_data {
|
||||
if ((ds.Tables["v_selTipoDelibera"] != null)) {
|
||||
base.Tables.Add(new v_selTipoDeliberaDataTable(ds.Tables["v_selTipoDelibera"]));
|
||||
}
|
||||
if ((ds.Tables["v_selDestinatariListePrelievo"] != null)) {
|
||||
base.Tables.Add(new v_selDestinatariListePrelievoDataTable(ds.Tables["v_selDestinatariListePrelievo"]));
|
||||
}
|
||||
this.DataSetName = ds.DataSetName;
|
||||
this.Prefix = ds.Prefix;
|
||||
this.Namespace = ds.Namespace;
|
||||
@@ -388,6 +405,12 @@ namespace GMW_data {
|
||||
this.tablev_selTipoDelibera.InitVars();
|
||||
}
|
||||
}
|
||||
this.tablev_selDestinatariListePrelievo = ((v_selDestinatariListePrelievoDataTable)(base.Tables["v_selDestinatariListePrelievo"]));
|
||||
if ((initTable == true)) {
|
||||
if ((this.tablev_selDestinatariListePrelievo != null)) {
|
||||
this.tablev_selDestinatariListePrelievo.InitVars();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -417,6 +440,8 @@ namespace GMW_data {
|
||||
base.Tables.Add(this.tablev_selUdcByPart);
|
||||
this.tablev_selTipoDelibera = new v_selTipoDeliberaDataTable();
|
||||
base.Tables.Add(this.tablev_selTipoDelibera);
|
||||
this.tablev_selDestinatariListePrelievo = new v_selDestinatariListePrelievoDataTable();
|
||||
base.Tables.Add(this.tablev_selDestinatariListePrelievo);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -469,6 +494,11 @@ namespace GMW_data {
|
||||
return false;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
private bool ShouldSerializev_selDestinatariListePrelievo() {
|
||||
return false;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
|
||||
if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) {
|
||||
@@ -542,6 +572,8 @@ namespace GMW_data {
|
||||
|
||||
public delegate void v_selTipoDeliberaRowChangeEventHandler(object sender, v_selTipoDeliberaRowChangeEvent e);
|
||||
|
||||
public delegate void v_selDestinatariListePrelievoRowChangeEventHandler(object sender, v_selDestinatariListePrelievoRowChangeEvent e);
|
||||
|
||||
/// <summary>
|
||||
///Represents the strongly named DataTable class.
|
||||
///</summary>
|
||||
@@ -3169,6 +3201,230 @@ namespace GMW_data {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///Represents the strongly named DataTable class.
|
||||
///</summary>
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
|
||||
[global::System.Serializable()]
|
||||
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
|
||||
public partial class v_selDestinatariListePrelievoDataTable : global::System.Data.TypedTableBase<v_selDestinatariListePrelievoRow> {
|
||||
|
||||
private global::System.Data.DataColumn columnDestinatario;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public v_selDestinatariListePrelievoDataTable() {
|
||||
this.TableName = "v_selDestinatariListePrelievo";
|
||||
this.BeginInit();
|
||||
this.InitClass();
|
||||
this.EndInit();
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
internal v_selDestinatariListePrelievoDataTable(global::System.Data.DataTable table) {
|
||||
this.TableName = table.TableName;
|
||||
if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
|
||||
this.CaseSensitive = table.CaseSensitive;
|
||||
}
|
||||
if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
|
||||
this.Locale = table.Locale;
|
||||
}
|
||||
if ((table.Namespace != table.DataSet.Namespace)) {
|
||||
this.Namespace = table.Namespace;
|
||||
}
|
||||
this.Prefix = table.Prefix;
|
||||
this.MinimumCapacity = table.MinimumCapacity;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
protected v_selDestinatariListePrelievoDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
|
||||
base(info, context) {
|
||||
this.InitVars();
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public global::System.Data.DataColumn DestinatarioColumn {
|
||||
get {
|
||||
return this.columnDestinatario;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.ComponentModel.Browsable(false)]
|
||||
public int Count {
|
||||
get {
|
||||
return this.Rows.Count;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public v_selDestinatariListePrelievoRow this[int index] {
|
||||
get {
|
||||
return ((v_selDestinatariListePrelievoRow)(this.Rows[index]));
|
||||
}
|
||||
}
|
||||
|
||||
public event v_selDestinatariListePrelievoRowChangeEventHandler v_selDestinatariListePrelievoRowChanging;
|
||||
|
||||
public event v_selDestinatariListePrelievoRowChangeEventHandler v_selDestinatariListePrelievoRowChanged;
|
||||
|
||||
public event v_selDestinatariListePrelievoRowChangeEventHandler v_selDestinatariListePrelievoRowDeleting;
|
||||
|
||||
public event v_selDestinatariListePrelievoRowChangeEventHandler v_selDestinatariListePrelievoRowDeleted;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public void Addv_selDestinatariListePrelievoRow(v_selDestinatariListePrelievoRow row) {
|
||||
this.Rows.Add(row);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public v_selDestinatariListePrelievoRow Addv_selDestinatariListePrelievoRow(string Destinatario) {
|
||||
v_selDestinatariListePrelievoRow rowv_selDestinatariListePrelievoRow = ((v_selDestinatariListePrelievoRow)(this.NewRow()));
|
||||
object[] columnValuesArray = new object[] {
|
||||
Destinatario};
|
||||
rowv_selDestinatariListePrelievoRow.ItemArray = columnValuesArray;
|
||||
this.Rows.Add(rowv_selDestinatariListePrelievoRow);
|
||||
return rowv_selDestinatariListePrelievoRow;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public override global::System.Data.DataTable Clone() {
|
||||
v_selDestinatariListePrelievoDataTable cln = ((v_selDestinatariListePrelievoDataTable)(base.Clone()));
|
||||
cln.InitVars();
|
||||
return cln;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
protected override global::System.Data.DataTable CreateInstance() {
|
||||
return new v_selDestinatariListePrelievoDataTable();
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
internal void InitVars() {
|
||||
this.columnDestinatario = base.Columns["Destinatario"];
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
private void InitClass() {
|
||||
this.columnDestinatario = new global::System.Data.DataColumn("Destinatario", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnDestinatario);
|
||||
this.columnDestinatario.MaxLength = 50;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public v_selDestinatariListePrelievoRow Newv_selDestinatariListePrelievoRow() {
|
||||
return ((v_selDestinatariListePrelievoRow)(this.NewRow()));
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
|
||||
return new v_selDestinatariListePrelievoRow(builder);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
protected override global::System.Type GetRowType() {
|
||||
return typeof(v_selDestinatariListePrelievoRow);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
|
||||
base.OnRowChanged(e);
|
||||
if ((this.v_selDestinatariListePrelievoRowChanged != null)) {
|
||||
this.v_selDestinatariListePrelievoRowChanged(this, new v_selDestinatariListePrelievoRowChangeEvent(((v_selDestinatariListePrelievoRow)(e.Row)), e.Action));
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
|
||||
base.OnRowChanging(e);
|
||||
if ((this.v_selDestinatariListePrelievoRowChanging != null)) {
|
||||
this.v_selDestinatariListePrelievoRowChanging(this, new v_selDestinatariListePrelievoRowChangeEvent(((v_selDestinatariListePrelievoRow)(e.Row)), e.Action));
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
|
||||
base.OnRowDeleted(e);
|
||||
if ((this.v_selDestinatariListePrelievoRowDeleted != null)) {
|
||||
this.v_selDestinatariListePrelievoRowDeleted(this, new v_selDestinatariListePrelievoRowChangeEvent(((v_selDestinatariListePrelievoRow)(e.Row)), e.Action));
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
|
||||
base.OnRowDeleting(e);
|
||||
if ((this.v_selDestinatariListePrelievoRowDeleting != null)) {
|
||||
this.v_selDestinatariListePrelievoRowDeleting(this, new v_selDestinatariListePrelievoRowChangeEvent(((v_selDestinatariListePrelievoRow)(e.Row)), e.Action));
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public void Removev_selDestinatariListePrelievoRow(v_selDestinatariListePrelievoRow row) {
|
||||
this.Rows.Remove(row);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
|
||||
global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
|
||||
global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
|
||||
DS_Utility ds = new DS_Utility();
|
||||
global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
|
||||
any1.Namespace = "http://www.w3.org/2001/XMLSchema";
|
||||
any1.MinOccurs = new decimal(0);
|
||||
any1.MaxOccurs = decimal.MaxValue;
|
||||
any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
|
||||
sequence.Items.Add(any1);
|
||||
global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
|
||||
any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
|
||||
any2.MinOccurs = new decimal(1);
|
||||
any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
|
||||
sequence.Items.Add(any2);
|
||||
global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
|
||||
attribute1.Name = "namespace";
|
||||
attribute1.FixedValue = ds.Namespace;
|
||||
type.Attributes.Add(attribute1);
|
||||
global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
|
||||
attribute2.Name = "tableTypeName";
|
||||
attribute2.FixedValue = "v_selDestinatariListePrelievoDataTable";
|
||||
type.Attributes.Add(attribute2);
|
||||
type.Particle = sequence;
|
||||
global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
|
||||
if (xs.Contains(dsSchema.TargetNamespace)) {
|
||||
global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
|
||||
global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
|
||||
try {
|
||||
global::System.Xml.Schema.XmlSchema schema = null;
|
||||
dsSchema.Write(s1);
|
||||
for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
|
||||
schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
|
||||
s2.SetLength(0);
|
||||
schema.Write(s2);
|
||||
if ((s1.Length == s2.Length)) {
|
||||
s1.Position = 0;
|
||||
s2.Position = 0;
|
||||
for (; ((s1.Position != s1.Length)
|
||||
&& (s1.ReadByte() == s2.ReadByte())); ) {
|
||||
;
|
||||
}
|
||||
if ((s1.Position == s1.Length)) {
|
||||
return type;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
finally {
|
||||
if ((s1 != null)) {
|
||||
s1.Close();
|
||||
}
|
||||
if ((s2 != null)) {
|
||||
s2.Close();
|
||||
}
|
||||
}
|
||||
}
|
||||
xs.Add(dsSchema);
|
||||
return type;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///Represents strongly named DataRow class.
|
||||
///</summary>
|
||||
@@ -3829,6 +4085,47 @@ namespace GMW_data {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///Represents strongly named DataRow class.
|
||||
///</summary>
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
|
||||
public partial class v_selDestinatariListePrelievoRow : global::System.Data.DataRow {
|
||||
|
||||
private v_selDestinatariListePrelievoDataTable tablev_selDestinatariListePrelievo;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
internal v_selDestinatariListePrelievoRow(global::System.Data.DataRowBuilder rb) :
|
||||
base(rb) {
|
||||
this.tablev_selDestinatariListePrelievo = ((v_selDestinatariListePrelievoDataTable)(this.Table));
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public string Destinatario {
|
||||
get {
|
||||
try {
|
||||
return ((string)(this[this.tablev_selDestinatariListePrelievo.DestinatarioColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("The value for column \'Destinatario\' in table \'v_selDestinatariListePrelievo\' is D" +
|
||||
"BNull.", e);
|
||||
}
|
||||
}
|
||||
set {
|
||||
this[this.tablev_selDestinatariListePrelievo.DestinatarioColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public bool IsDestinatarioNull() {
|
||||
return this.IsNull(this.tablev_selDestinatariListePrelievo.DestinatarioColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public void SetDestinatarioNull() {
|
||||
this[this.tablev_selDestinatariListePrelievo.DestinatarioColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///Row event argument class
|
||||
///</summary>
|
||||
@@ -4138,6 +4435,37 @@ namespace GMW_data {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///Row event argument class
|
||||
///</summary>
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
|
||||
public class v_selDestinatariListePrelievoRowChangeEvent : global::System.EventArgs {
|
||||
|
||||
private v_selDestinatariListePrelievoRow eventRow;
|
||||
|
||||
private global::System.Data.DataRowAction eventAction;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public v_selDestinatariListePrelievoRowChangeEvent(v_selDestinatariListePrelievoRow row, global::System.Data.DataRowAction action) {
|
||||
this.eventRow = row;
|
||||
this.eventAction = action;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public v_selDestinatariListePrelievoRow Row {
|
||||
get {
|
||||
return this.eventRow;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public global::System.Data.DataRowAction Action {
|
||||
get {
|
||||
return this.eventAction;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
namespace GMW_data.DS_UtilityTableAdapters {
|
||||
@@ -6320,6 +6648,185 @@ namespace GMW_data.DS_UtilityTableAdapters {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///Represents the connection and commands used to retrieve and save data.
|
||||
///</summary>
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
|
||||
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
|
||||
[global::System.ComponentModel.ToolboxItem(true)]
|
||||
[global::System.ComponentModel.DataObjectAttribute(true)]
|
||||
[global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
|
||||
", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
public partial class v_selDestinatariListePrelievoTableAdapter : global::System.ComponentModel.Component {
|
||||
|
||||
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
|
||||
|
||||
private global::System.Data.SqlClient.SqlConnection _connection;
|
||||
|
||||
private global::System.Data.SqlClient.SqlTransaction _transaction;
|
||||
|
||||
private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
|
||||
|
||||
private bool _clearBeforeFill;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public v_selDestinatariListePrelievoTableAdapter() {
|
||||
this.ClearBeforeFill = true;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
|
||||
get {
|
||||
if ((this._adapter == null)) {
|
||||
this.InitAdapter();
|
||||
}
|
||||
return this._adapter;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public global::System.Data.SqlClient.SqlConnection Connection {
|
||||
get {
|
||||
if ((this._connection == null)) {
|
||||
this.InitConnection();
|
||||
}
|
||||
return this._connection;
|
||||
}
|
||||
set {
|
||||
this._connection = value;
|
||||
if ((this.Adapter.InsertCommand != null)) {
|
||||
this.Adapter.InsertCommand.Connection = value;
|
||||
}
|
||||
if ((this.Adapter.DeleteCommand != null)) {
|
||||
this.Adapter.DeleteCommand.Connection = value;
|
||||
}
|
||||
if ((this.Adapter.UpdateCommand != null)) {
|
||||
this.Adapter.UpdateCommand.Connection = value;
|
||||
}
|
||||
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
|
||||
if ((this.CommandCollection[i] != null)) {
|
||||
((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
internal global::System.Data.SqlClient.SqlTransaction Transaction {
|
||||
get {
|
||||
return this._transaction;
|
||||
}
|
||||
set {
|
||||
this._transaction = value;
|
||||
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
|
||||
this.CommandCollection[i].Transaction = this._transaction;
|
||||
}
|
||||
if (((this.Adapter != null)
|
||||
&& (this.Adapter.DeleteCommand != null))) {
|
||||
this.Adapter.DeleteCommand.Transaction = this._transaction;
|
||||
}
|
||||
if (((this.Adapter != null)
|
||||
&& (this.Adapter.InsertCommand != null))) {
|
||||
this.Adapter.InsertCommand.Transaction = this._transaction;
|
||||
}
|
||||
if (((this.Adapter != null)
|
||||
&& (this.Adapter.UpdateCommand != null))) {
|
||||
this.Adapter.UpdateCommand.Transaction = this._transaction;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
|
||||
get {
|
||||
if ((this._commandCollection == null)) {
|
||||
this.InitCommandCollection();
|
||||
}
|
||||
return this._commandCollection;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public bool ClearBeforeFill {
|
||||
get {
|
||||
return this._clearBeforeFill;
|
||||
}
|
||||
set {
|
||||
this._clearBeforeFill = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
private void InitAdapter() {
|
||||
this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
|
||||
global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
|
||||
tableMapping.SourceTable = "Table";
|
||||
tableMapping.DataSetTable = "v_selDestinatariListePrelievo";
|
||||
tableMapping.ColumnMappings.Add("Destinatario", "Destinatario");
|
||||
this._adapter.TableMappings.Add(tableMapping);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
private void InitConnection() {
|
||||
this._connection = new global::System.Data.SqlClient.SqlConnection();
|
||||
this._connection.ConnectionString = global::GMW_data.Properties.Settings.Default.GMWConnectionString;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
private void InitCommandCollection() {
|
||||
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2];
|
||||
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[0].Connection = this.Connection;
|
||||
this._commandCollection[0].CommandText = "SELECT Destinatario FROM dbo.v_selDestinatariListePrelievo";
|
||||
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
|
||||
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[1].Connection = this.Connection;
|
||||
this._commandCollection[1].CommandText = "dbo.stp_getDestListePrelLike";
|
||||
this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure;
|
||||
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cerca", global::System.Data.SqlDbType.VarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
|
||||
public virtual int Fill(DS_Utility.v_selDestinatariListePrelievoDataTable dataTable) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[0];
|
||||
if ((this.ClearBeforeFill == true)) {
|
||||
dataTable.Clear();
|
||||
}
|
||||
int returnValue = this.Adapter.Fill(dataTable);
|
||||
return returnValue;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
|
||||
public virtual DS_Utility.v_selDestinatariListePrelievoDataTable GetData() {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[0];
|
||||
DS_Utility.v_selDestinatariListePrelievoDataTable dataTable = new DS_Utility.v_selDestinatariListePrelievoDataTable();
|
||||
this.Adapter.Fill(dataTable);
|
||||
return dataTable;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
||||
public virtual DS_Utility.v_selDestinatariListePrelievoDataTable getBySearchLike(string cerca) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[1];
|
||||
if ((cerca == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(cerca));
|
||||
}
|
||||
DS_Utility.v_selDestinatariListePrelievoDataTable dataTable = new DS_Utility.v_selDestinatariListePrelievoDataTable();
|
||||
this.Adapter.Fill(dataTable);
|
||||
return dataTable;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios
|
||||
///</summary>
|
||||
|
||||
@@ -375,6 +375,34 @@ where conditio = @conditio</CommandText>
|
||||
</Mappings>
|
||||
<Sources />
|
||||
</TableAdapter>
|
||||
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="v_selDestinatariListePrelievoTableAdapter" GeneratorDataComponentClassName="v_selDestinatariListePrelievoTableAdapter" Name="v_selDestinatariListePrelievo" UserDataComponentName="v_selDestinatariListePrelievoTableAdapter">
|
||||
<MainSource>
|
||||
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="GMW.dbo.v_selDestinatariListePrelievo" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>SELECT Destinatario FROM dbo.v_selDestinatariListePrelievo</CommandText>
|
||||
<Parameters />
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
</MainSource>
|
||||
<Mappings>
|
||||
<Mapping SourceColumn="Destinatario" DataSetColumn="Destinatario" />
|
||||
</Mappings>
|
||||
<Sources>
|
||||
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="GMW.dbo.stp_getDestListePrelLike" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getBySearchLike" GeneratorSourceName="FillBy" GetMethodModifier="Public" GetMethodName="getBySearchLike" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getBySearchLike" UserSourceName="getBySearchLike">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_getDestListePrelLike</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@cerca" Precision="0" ProviderType="VarChar" Scale="0" Size="2" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
</Sources>
|
||||
</TableAdapter>
|
||||
</Tables>
|
||||
<Sources />
|
||||
</DataSource>
|
||||
@@ -623,6 +651,19 @@ where conditio = @conditio</CommandText>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="v_selDestinatariListePrelievo" msprop:Generator_UserTableName="v_selDestinatariListePrelievo" msprop:Generator_RowDeletedName="v_selDestinatariListePrelievoRowDeleted" msprop:Generator_RowChangedName="v_selDestinatariListePrelievoRowChanged" msprop:Generator_RowClassName="v_selDestinatariListePrelievoRow" msprop:Generator_RowChangingName="v_selDestinatariListePrelievoRowChanging" msprop:Generator_RowEvArgName="v_selDestinatariListePrelievoRowChangeEvent" msprop:Generator_RowEvHandlerName="v_selDestinatariListePrelievoRowChangeEventHandler" msprop:Generator_TableClassName="v_selDestinatariListePrelievoDataTable" msprop:Generator_TableVarName="tablev_selDestinatariListePrelievo" msprop:Generator_RowDeletingName="v_selDestinatariListePrelievoRowDeleting" msprop:Generator_TablePropName="v_selDestinatariListePrelievo">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Destinatario" msprop:Generator_UserColumnName="Destinatario" msprop:Generator_ColumnVarNameInTable="columnDestinatario" msprop:Generator_ColumnPropNameInRow="Destinatario" msprop:Generator_ColumnPropNameInTable="DestinatarioColumn" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
|
||||
|
||||
+11
-10
@@ -6,16 +6,17 @@
|
||||
</autogenerated>-->
|
||||
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="-10" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||
<Shapes>
|
||||
<Shape ID="DesignTable:v_selMag" ZOrder="10" X="113" Y="114" Height="153" Width="198" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:v_selBlocco" ZOrder="9" X="552" Y="134" Height="172" Width="242" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
|
||||
<Shape ID="DesignTable:v_selTipoCella" ZOrder="8" X="716" Y="476" Height="191" Width="242" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
|
||||
<Shape ID="DesignTable:stp_getImpiantiByCodCS" ZOrder="7" X="199" Y="718" Height="172" Width="287" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:STP" ZOrder="6" X="189" Y="415" Height="191" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_selPeriodiTrad" ZOrder="5" X="703" Y="779" Height="153" Width="240" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:v_selStatiListe" ZOrder="4" X="949" Y="219" Height="115" Width="225" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_selTipoLista" ZOrder="3" X="1005" Y="684" Height="115" Width="224" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_selUdcByPart" ZOrder="2" X="1003" Y="426" Height="153" Width="233" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:v_selTipoDelibera" ZOrder="1" X="948" Y="56" Height="115" Width="246" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_selMag" ZOrder="11" X="113" Y="114" Height="153" Width="198" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:v_selBlocco" ZOrder="10" X="552" Y="134" Height="172" Width="242" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
|
||||
<Shape ID="DesignTable:v_selTipoCella" ZOrder="9" X="716" Y="476" Height="191" Width="242" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
|
||||
<Shape ID="DesignTable:stp_getImpiantiByCodCS" ZOrder="8" X="199" Y="718" Height="172" Width="287" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:STP" ZOrder="7" X="189" Y="415" Height="191" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_selPeriodiTrad" ZOrder="6" X="703" Y="779" Height="153" Width="240" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:v_selStatiListe" ZOrder="5" X="949" Y="219" Height="115" Width="225" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_selTipoLista" ZOrder="4" X="1005" Y="684" Height="115" Width="224" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_selUdcByPart" ZOrder="3" X="1003" Y="426" Height="153" Width="233" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:v_selTipoDelibera" ZOrder="2" X="948" Y="56" Height="115" Width="246" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_selDestinatariListePrelievo" ZOrder="1" X="336" Y="97" Height="154" Width="193" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="46" />
|
||||
</Shapes>
|
||||
<Connectors />
|
||||
</DiagramLayout>
|
||||
Generated
+51
-3
@@ -5832,6 +5832,8 @@ namespace GMW_data {
|
||||
|
||||
private global::System.Data.DataColumn columnFigura;
|
||||
|
||||
private global::System.Data.DataColumn columnDestinatario;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public ElencoListePrelievoDataTable() {
|
||||
this.TableName = "ElencoListePrelievo";
|
||||
@@ -5974,6 +5976,13 @@ namespace GMW_data {
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public global::System.Data.DataColumn DestinatarioColumn {
|
||||
get {
|
||||
return this.columnDestinatario;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.ComponentModel.Browsable(false)]
|
||||
public int Count {
|
||||
@@ -6019,7 +6028,8 @@ namespace GMW_data {
|
||||
decimal QtaTot,
|
||||
int CodStatoLista,
|
||||
decimal Prelevato,
|
||||
string Figura) {
|
||||
string Figura,
|
||||
string Destinatario) {
|
||||
ElencoListePrelievoRow rowElencoListePrelievoRow = ((ElencoListePrelievoRow)(this.NewRow()));
|
||||
object[] columnValuesArray = new object[] {
|
||||
CodLista,
|
||||
@@ -6037,7 +6047,8 @@ namespace GMW_data {
|
||||
QtaTot,
|
||||
CodStatoLista,
|
||||
Prelevato,
|
||||
Figura};
|
||||
Figura,
|
||||
Destinatario};
|
||||
if ((parentTipoListaPrelievoRowByFK_ElencoListePrelievo_TipoListaPrelievo11 != null)) {
|
||||
columnValuesArray[1] = parentTipoListaPrelievoRowByFK_ElencoListePrelievo_TipoListaPrelievo11[0];
|
||||
}
|
||||
@@ -6082,6 +6093,7 @@ namespace GMW_data {
|
||||
this.columnCodStatoLista = base.Columns["CodStatoLista"];
|
||||
this.columnPrelevato = base.Columns["Prelevato"];
|
||||
this.columnFigura = base.Columns["Figura"];
|
||||
this.columnDestinatario = base.Columns["Destinatario"];
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -6118,6 +6130,8 @@ namespace GMW_data {
|
||||
base.Columns.Add(this.columnPrelevato);
|
||||
this.columnFigura = new global::System.Data.DataColumn("Figura", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnFigura);
|
||||
this.columnDestinatario = new global::System.Data.DataColumn("Destinatario", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnDestinatario);
|
||||
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
||||
this.columnCodLista}, true));
|
||||
this.columnCodLista.AllowDBNull = false;
|
||||
@@ -6142,6 +6156,7 @@ namespace GMW_data {
|
||||
this.columnCodStatoLista.AllowDBNull = false;
|
||||
this.columnPrelevato.ReadOnly = true;
|
||||
this.columnFigura.MaxLength = 4;
|
||||
this.columnDestinatario.MaxLength = 50;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -10297,6 +10312,21 @@ namespace GMW_data {
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public string Destinatario {
|
||||
get {
|
||||
try {
|
||||
return ((string)(this[this.tableElencoListePrelievo.DestinatarioColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("The value for column \'Destinatario\' in table \'ElencoListePrelievo\' is DBNull.", e);
|
||||
}
|
||||
}
|
||||
set {
|
||||
this[this.tableElencoListePrelievo.DestinatarioColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public TipoListaPrelievoRow TipoListaPrelievoRow {
|
||||
get {
|
||||
@@ -10387,6 +10417,16 @@ namespace GMW_data {
|
||||
this[this.tableElencoListePrelievo.FiguraColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public bool IsDestinatarioNull() {
|
||||
return this.IsNull(this.tableElencoListePrelievo.DestinatarioColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public void SetDestinatarioNull() {
|
||||
this[this.tableElencoListePrelievo.DestinatarioColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public RigheListePrelievoRow[] GetRigheListePrelievoRows() {
|
||||
if ((this.Table.ChildRelations["FK_RigheListePrelievo_ElencoListePrelievo11"] == null)) {
|
||||
@@ -19160,6 +19200,7 @@ SELECT CodLista, UDC, Qta, Proposto, Prelevato FROM RigheListePrelievo WHERE (Co
|
||||
tableMapping.ColumnMappings.Add("CodStatoLista", "CodStatoLista");
|
||||
tableMapping.ColumnMappings.Add("Prelevato", "Prelevato");
|
||||
tableMapping.ColumnMappings.Add("Figura", "Figura");
|
||||
tableMapping.ColumnMappings.Add("Destinatario", "Destinatario");
|
||||
this._adapter.TableMappings.Add(tableMapping);
|
||||
}
|
||||
|
||||
@@ -19214,6 +19255,7 @@ SELECT CodLista, UDC, Qta, Proposto, Prelevato FROM RigheListePrelievo WHERE (Co
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Figura", global::System.Data.SqlDbType.NVarChar, 4, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodImballo", global::System.Data.SqlDbType.NVarChar, 15, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QtaTot", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 10, 2, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Destinatario", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[5].Connection = this.Connection;
|
||||
this._commandCollection[5].CommandText = "dbo.stp_LP_exportToAs400";
|
||||
@@ -19293,7 +19335,7 @@ SELECT CodLista, UDC, Qta, Proposto, Prelevato FROM RigheListePrelievo WHERE (Co
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
||||
public virtual DS_magazzino.ElencoListePrelievoDataTable InsertQuery(string Anno, string Mese, string CodTipoLista, string CodCS, string CodCliente, string RagSociale, string CodSoggetto, string Particolare, string DescParticolare, string DisegnoGrezzo, string Esponente, string Figura, string CodImballo, global::System.Nullable<decimal> QtaTot) {
|
||||
public virtual DS_magazzino.ElencoListePrelievoDataTable InsertQuery(string Anno, string Mese, string CodTipoLista, string CodCS, string CodCliente, string RagSociale, string CodSoggetto, string Particolare, string DescParticolare, string DisegnoGrezzo, string Esponente, string Figura, string CodImballo, global::System.Nullable<decimal> QtaTot, string Destinatario) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[4];
|
||||
if ((Anno == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
||||
@@ -19379,6 +19421,12 @@ SELECT CodLista, UDC, Qta, Proposto, Prelevato FROM RigheListePrelievo WHERE (Co
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[14].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((Destinatario == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[15].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[15].Value = ((string)(Destinatario));
|
||||
}
|
||||
DS_magazzino.ElencoListePrelievoDataTable dataTable = new DS_magazzino.ElencoListePrelievoDataTable();
|
||||
this.Adapter.Fill(dataTable);
|
||||
return dataTable;
|
||||
|
||||
+564
-555
File diff suppressed because it is too large
Load Diff
@@ -18,9 +18,9 @@
|
||||
<Shape ID="DesignTable:V_ParticolariOverview" ZOrder="19" X="95" Y="1131" Height="265" Width="272" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="138" />
|
||||
<Shape ID="DesignTable:V_MagazziniOverview" ZOrder="10" X="733" Y="1102" Height="286" Width="232" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
|
||||
<Shape ID="DesignTable:V_DettMagPart" ZOrder="18" X="993" Y="985" Height="326" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="228" />
|
||||
<Shape ID="DesignTable:TipoListaPrelievo" ZOrder="1" X="735" Y="891" Height="172" Width="224" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
|
||||
<Shape ID="DesignTable:TipoListaPrelievo" ZOrder="2" X="735" Y="891" Height="172" Width="224" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
|
||||
<Shape ID="DesignTable:RigheListePrelievo" ZOrder="17" X="83" Y="846" Height="257" Width="242" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="130" />
|
||||
<Shape ID="DesignTable:ElencoListePrelievo" ZOrder="2" X="393" Y="879" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:ElencoListePrelievo" ZOrder="1" X="393" Y="879" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:v_righeListePrelievoPosizione" ZOrder="12" X="406" Y="1283" Height="324" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="235" />
|
||||
<Shape ID="DesignTable:v_particolariEsponenteFigura" ZOrder="11" X="829" Y="1437" Height="229" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:AnagPosizioni" ZOrder="4" X="375" Y="103" Height="115" Width="227" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
|
||||
@@ -429,8 +429,9 @@ namespace GMW_data
|
||||
/// <param name="Figura"></param>
|
||||
/// <param name="QtaTot"></param>
|
||||
/// <param name="CodImballo"></param>
|
||||
/// <param name="Destinatario"></param>
|
||||
/// <returns></returns>
|
||||
public string creaListaPrelievo(string CodCS, string TipoListaPrelievo, string Particolare, string Esponente, string Figura, decimal QtaTot, string CodImballo)
|
||||
public string creaListaPrelievo(string CodCS, string TipoListaPrelievo, string Particolare, string Esponente, string Figura, decimal QtaTot, string CodImballo, string Destinatario)
|
||||
{
|
||||
/*
|
||||
* - ordini gli UDC per data dal + vecchio (data fusione? direi di si!)
|
||||
@@ -504,7 +505,7 @@ namespace GMW_data
|
||||
try
|
||||
{
|
||||
// eseguo soltanto la query (meglio con try catch così se non c'è non dà errore...)
|
||||
DS_magazzino.ElencoListePrelievoDataTable tabellaElencoListe = taElencoListePrelievo.InsertQuery(string.Format("{0:yy}", adesso), string.Format("{0:MM}", adesso), TipoListaPrelievo, memLayer.ML.confReadString("CodCS"), codCliente, RagioneSociale, codSoggetto, Particolare, descParticolare, disegnoGrezzo, Esponente, Figura, CodImballo, QtaTot);
|
||||
DS_magazzino.ElencoListePrelievoDataTable tabellaElencoListe = taElencoListePrelievo.InsertQuery(string.Format("{0:yy}", adesso), string.Format("{0:MM}", adesso), TipoListaPrelievo, memLayer.ML.confReadString("CodCS"), codCliente, RagioneSociale, codSoggetto, Particolare, descParticolare, disegnoGrezzo, Esponente, Figura, CodImballo, QtaTot, Destinatario);
|
||||
|
||||
// ricavo prima (e unica) riga dalla select
|
||||
DS_magazzino.ElencoListePrelievoRow rigaElencoListe = tabellaElencoListe[0];
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -14,6 +14,7 @@ namespace GMW_data
|
||||
public DS_UtilityTableAdapters.STPTableAdapter taSTP;
|
||||
public DS_UtilityTableAdapters.v_selTipoCellaTableAdapter taSelTipoCella;
|
||||
public DS_UtilityTableAdapters.v_selUdcByPartTableAdapter taUdcByPart;
|
||||
public DS_UtilityTableAdapters.v_selDestinatariListePrelievoTableAdapter taDestListePre;
|
||||
|
||||
|
||||
/// <summary>
|
||||
@@ -24,6 +25,7 @@ namespace GMW_data
|
||||
taSTP = new GMW_data.DS_UtilityTableAdapters.STPTableAdapter();
|
||||
taSelTipoCella = new GMW_data.DS_UtilityTableAdapters.v_selTipoCellaTableAdapter();
|
||||
taUdcByPart = new GMW_data.DS_UtilityTableAdapters.v_selUdcByPartTableAdapter();
|
||||
taDestListePre = new GMW_data.DS_UtilityTableAdapters.v_selDestinatariListePrelievoTableAdapter();
|
||||
}
|
||||
/// <summary>
|
||||
/// effettua setup dei connection strings da web.config delal singola applicazione
|
||||
@@ -34,6 +36,7 @@ namespace GMW_data
|
||||
taSTP.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
|
||||
taSelTipoCella.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
|
||||
taUdcByPart.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
|
||||
taDestListePre.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
@@ -25,7 +25,7 @@ namespace GMW.WS
|
||||
// inizializzo risposta
|
||||
List<string> suggerimenti = new List<string>();
|
||||
// proseguo SOLO SE min "MinCharAutocomplete" char...
|
||||
if (count > memLayer.ML.confReadInt("MinCharAutocomplete"))
|
||||
if (count >= memLayer.ML.confReadInt("MinCharAutocomplete"))
|
||||
{
|
||||
// elenco candidati
|
||||
DS_magazzino.V_ParticolariOverviewDataTable tabParticolari = MagClass.magazzino.taVParticolariOverwiew.getByLikePrefix(prefixText, memLayer.ML.confReadString("CodCS"));
|
||||
@@ -37,14 +37,13 @@ namespace GMW.WS
|
||||
}
|
||||
return suggerimenti.ToArray();
|
||||
}
|
||||
|
||||
[System.Web.Services.WebMethod]
|
||||
public string[] elencoCelle(string prefixText, int count)
|
||||
{
|
||||
// inizializzo risposta
|
||||
List<string> suggerimenti = new List<string>();
|
||||
// proseguo SOLO SE min "MinCharAutocomplete" char...
|
||||
if (count > memLayer.ML.confReadInt("MinCharAutocomplete"))
|
||||
if (count >= memLayer.ML.confReadInt("MinCharAutocomplete"))
|
||||
{
|
||||
// elenco candidati
|
||||
DS_magazzino.CelleDataTable tabCelle = MagClass.magazzino.taCelle.getByCodCellaLike(prefixText, memLayer.ML.confReadString("CodCS"));
|
||||
@@ -56,5 +55,23 @@ namespace GMW.WS
|
||||
}
|
||||
return suggerimenti.ToArray();
|
||||
}
|
||||
[System.Web.Services.WebMethod]
|
||||
public string[] elencoDestListePrel(string prefixText, int count)
|
||||
{
|
||||
// inizializzo risposta
|
||||
List<string> suggerimenti = new List<string>();
|
||||
// proseguo SOLO SE min "MinCharAutocomplete" char...
|
||||
if (count >= memLayer.ML.confReadInt("MinCharAutocomplete"))
|
||||
{
|
||||
// elenco candidati
|
||||
DS_Utility.v_selDestinatariListePrelievoDataTable tabella = utils.obj.taDestListePre.getBySearchLike(prefixText);
|
||||
// aggiungo ogni riga...
|
||||
foreach (DS_Utility.v_selDestinatariListePrelievoRow riga in tabella)
|
||||
{
|
||||
suggerimenti.Add(riga.Destinatario);
|
||||
}
|
||||
}
|
||||
return suggerimenti.ToArray();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -349,14 +349,14 @@
|
||||
{
|
||||
"Name" = "8:Microsoft Visual Studio"
|
||||
"ProductName" = "8:GMW"
|
||||
"ProductCode" = "8:{7C8E2714-79EB-4E9E-AA03-5E8220679B88}"
|
||||
"PackageCode" = "8:{3A990B42-AD1B-4D39-8FAF-062A1289792D}"
|
||||
"ProductCode" = "8:{6D70AF2C-4912-493A-839D-EFBDDB666E19}"
|
||||
"PackageCode" = "8:{63B852CE-4128-4907-9790-1DE112AFE821}"
|
||||
"UpgradeCode" = "8:{C9BC0732-DC92-4336-BAC9-A05A5D2A97C0}"
|
||||
"RestartWWWService" = "11:TRUE"
|
||||
"RemovePreviousVersions" = "11:TRUE"
|
||||
"DetectNewerInstalledVersion" = "11:TRUE"
|
||||
"InstallAllUsers" = "11:FALSE"
|
||||
"ProductVersion" = "8:1.0.155"
|
||||
"ProductVersion" = "8:1.0.160"
|
||||
"Manufacturer" = "8:SteamWare s.r.l."
|
||||
"ARPHELPTELEPHONE" = "8:+39-035460560"
|
||||
"ARPHELPLINK" = "8:http://www.steamware.net"
|
||||
@@ -801,7 +801,7 @@
|
||||
{
|
||||
"{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_4FD0E5B75A7F47B79080EC0983BE6583"
|
||||
{
|
||||
"SourcePath" = "8:..\\..\\SetDirectoryPermission\\obj\\Debug\\SetDirectoryPermission.exe"
|
||||
"SourcePath" = "8:..\\..\\SetDirectoryPermission\\obj\\Release\\SetDirectoryPermission.exe"
|
||||
"TargetName" = "8:"
|
||||
"Tag" = "8:"
|
||||
"Folder" = "8:_5606017201AE45B480A8ABD8B8D68264"
|
||||
@@ -829,7 +829,7 @@
|
||||
}
|
||||
"{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_8BDD7AA9D46A46EC80880F83F13C902E"
|
||||
{
|
||||
"SourcePath" = "8:..\\..\\IISCustomActionVB\\IISConsoleVB\\obj\\Debug\\IISConsoleVB.exe"
|
||||
"SourcePath" = "8:..\\..\\IISCustomActionVB\\IISConsoleVB\\obj\\Release\\IISConsoleVB.exe"
|
||||
"TargetName" = "8:"
|
||||
"Tag" = "8:"
|
||||
"Folder" = "8:_5606017201AE45B480A8ABD8B8D68264"
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user