Update x gestione pagina SchedaTech
This commit is contained in:
Vendored
+1
-1
@@ -12,7 +12,7 @@ pipeline {
|
||||
steps {
|
||||
/* calcolo numero versione... diverso x branch MASTER/DEVELOP */
|
||||
script {
|
||||
withEnv(['NEXT_BUILD_NUMBER=1316']) {
|
||||
withEnv(['NEXT_BUILD_NUMBER=1317']) {
|
||||
// env.versionNumber = VersionNumber(versionNumberString : '6.11.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true)
|
||||
env.versionNumber = VersionNumber(versionNumberString : '6.11.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true, overrideBuildsAllTime: '${NEXT_BUILD_NUMBER}')
|
||||
env.APP_NAME = 'MAPO'
|
||||
|
||||
@@ -11,6 +11,22 @@ namespace MoonProTablet
|
||||
{
|
||||
public partial class SheetTech : BasePage
|
||||
{
|
||||
#region Private Methods
|
||||
|
||||
/// <summary>
|
||||
/// Imposta articolo x dettaglio dato ODL
|
||||
/// </summary>
|
||||
private void setArticolo()
|
||||
{
|
||||
// leggo riga...
|
||||
DS_ProdTempi.MappaStatoExplRow rigaDati = DataLayerObj.taMSE.getByIdxMacchina(idxMacchina)[0];
|
||||
cmp_sheetTech.CodArticolo = rigaDati.CodArticolo;
|
||||
}
|
||||
|
||||
#endregion Private Methods
|
||||
|
||||
#region Protected Methods
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!Page.IsPostBack)
|
||||
@@ -18,14 +34,7 @@ namespace MoonProTablet
|
||||
setArticolo();
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// Imposta articolo x dettaglio dato ODL
|
||||
/// </summary>
|
||||
private void setArticolo()
|
||||
{
|
||||
// leggo riga...
|
||||
DS_ProdTempi.MappaStatoExplRow rigaDati = DataLayerObj.taMSE.getByIdxMacchina(idxMacchina)[0];
|
||||
cmp_sheetTech.CodArticolo = rigaDati.CodArticolo;
|
||||
}
|
||||
|
||||
#endregion Protected Methods
|
||||
}
|
||||
}
|
||||
@@ -23,6 +23,15 @@ namespace MoonProTablet.WebUserControls
|
||||
|
||||
#endregion Internal Fields
|
||||
|
||||
#region Public Events
|
||||
|
||||
/// <summary>
|
||||
/// evento update
|
||||
/// </summary>
|
||||
public event EventHandler eh_doUpdate;
|
||||
|
||||
#endregion Public Events
|
||||
|
||||
#region Internal Properties
|
||||
|
||||
/// <summary>
|
||||
@@ -212,6 +221,18 @@ namespace MoonProTablet.WebUserControls
|
||||
return string.Format("./images/macchine/{0}", url);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Riporta evento update
|
||||
/// </summary>
|
||||
public void reportUpdate()
|
||||
{
|
||||
// alzo l'evento d update/inserimento e ricarico cache...
|
||||
if (eh_doUpdate != null)
|
||||
{
|
||||
eh_doUpdate(this, new EventArgs());
|
||||
}
|
||||
}
|
||||
|
||||
public string TCMinSec(object _TC)
|
||||
{
|
||||
string TC_MinSec = "";
|
||||
|
||||
@@ -3,47 +3,24 @@
|
||||
|
||||
<asp:Label runat="server" ID="lblWarning" Visible="false" CssClass="text-danger text-center" Font-Size="2em" />
|
||||
|
||||
<div class="text-danger">
|
||||
<%--<b>completare con interazione campi richiesti!!!</b> --> i campi richiesti devono prevedere check con valore in tab specifica istanze ODL--%>
|
||||
<asp:Repeater ID="repRequired" runat="server" DataSourceID="odsRequired">
|
||||
<ItemTemplate>
|
||||
<div class="border border-bottom-secondary">
|
||||
<uc1:cmp_ST_objView runat="server" ID="cmp_ST_objView" dataType='<%# Eval("CodTipo") %>' dataLabel='<%# traduci(Eval("Label")) %>' dataValue='<%# Eval("Value") %>' />
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
<AlternatingItemTemplate>
|
||||
<div class="">
|
||||
<uc1:cmp_ST_objView runat="server" ID="cmp_ST_objView" dataType='<%# Eval("CodTipo") %>' dataLabel='<%# traduci(Eval("Label")) %>' dataValue='<%# Eval("Value") %>' />
|
||||
</div>
|
||||
</AlternatingItemTemplate>
|
||||
</asp:Repeater>
|
||||
</div>
|
||||
|
||||
<asp:Repeater ID="repDisplay" runat="server" DataSourceID="odsDisplay">
|
||||
<asp:Repeater ID="repDetail" runat="server" DataSourceID="ods">
|
||||
<ItemTemplate>
|
||||
<div class="border border-bottom-secondary">
|
||||
<uc1:cmp_ST_objView runat="server" ID="cmp_ST_objView" dataType='<%# Eval("CodTipo") %>' dataLabel='<%# traduci(Eval("Label")) %>' dataValue='<%# Eval("Value") %>' />
|
||||
<uc1:cmp_ST_objView runat="server" ID="cmp_ST_objView" dataType='<%# Eval("CodTipo") %>' dataLabel='<%# traduci(Eval("Label")) %>' dataValue='<%# Eval("Value") %>' extCode='<%# Eval("ExtCode") %>' required='<%# Eval("Required") %>' />
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
<AlternatingItemTemplate>
|
||||
<div class="">
|
||||
<uc1:cmp_ST_objView runat="server" ID="cmp_ST_objView" dataType='<%# Eval("CodTipo") %>' dataLabel='<%# traduci(Eval("Label")) %>' dataValue='<%# Eval("Value") %>' />
|
||||
<uc1:cmp_ST_objView runat="server" ID="cmp_ST_objView" dataType='<%# Eval("CodTipo") %>' dataLabel='<%# traduci(Eval("Label")) %>' dataValue='<%# Eval("Value") %>' extCode='<%# Eval("ExtCode") %>' required='<%# Eval("Required") %>' />
|
||||
</div>
|
||||
</AlternatingItemTemplate>
|
||||
</asp:Repeater>
|
||||
|
||||
<asp:ObjectDataSource ID="odsDisplay" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByCodArt" TypeName="MapoDb.DS_SheetTechTableAdapters.ST_ActualRowTableAdapter">
|
||||
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByCodArt" TypeName="MapoDb.DS_SheetTechTableAdapters.ST_ActualRowTableAdapter">
|
||||
<SelectParameters>
|
||||
<asp:ControlParameter ControlID="hfCodGruppo" DefaultValue="ART" Name="CodGruppo" PropertyName="Value" Type="String" />
|
||||
<asp:ControlParameter ControlID="hfCodArticolo" DefaultValue="" Name="CodArticolo" PropertyName="Value" Type="String" />
|
||||
<asp:Parameter DefaultValue="false" Name="Required" Type="Boolean" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
<asp:ObjectDataSource ID="odsRequired" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByCodArt" TypeName="MapoDb.DS_SheetTechTableAdapters.ST_ActualRowTableAdapter">
|
||||
<SelectParameters>
|
||||
<asp:ControlParameter ControlID="hfCodGruppo" DefaultValue="ART" Name="CodGruppo" PropertyName="Value" Type="String" />
|
||||
<asp:ControlParameter ControlID="hfCodArticolo" DefaultValue="" Name="CodArticolo" PropertyName="Value" Type="String" />
|
||||
<asp:Parameter DefaultValue="true" Name="Required" Type="Boolean" />
|
||||
<asp:SessionParameter DefaultValue="0" Name="IdxODL" SessionField="idxODL" Type="Int32" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
<asp:HiddenField runat="server" ID="hfCodGruppo" Value="" />
|
||||
|
||||
+4
-22
@@ -24,40 +24,22 @@ namespace MoonProTablet.WebUserControls
|
||||
protected global::System.Web.UI.WebControls.Label lblWarning;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo repRequired.
|
||||
/// Controllo repDetail.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Repeater repRequired;
|
||||
protected global::System.Web.UI.WebControls.Repeater repDetail;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo repDisplay.
|
||||
/// Controllo ods.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Repeater repDisplay;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo odsDisplay.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource odsDisplay;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo odsRequired.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource odsRequired;
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource ods;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo hfCodGruppo.
|
||||
|
||||
@@ -1 +1,12 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_ST_objCheck.ascx.cs" Inherits="MoonProTablet.WebUserControls.cmp_ST_objCheck" %>
|
||||
|
||||
<div class="form-row" runat="server" id="divCheckData">
|
||||
|
||||
<div class="form-group col-8 col-md-9 col-lg-10">
|
||||
<asp:TextBox runat="server" ID="txtInput" CssClass="form-control form-control-lg" OnTextChanged="txtInput_TextChanged" TabIndex="1" AutoPostBack="true" />
|
||||
</div>
|
||||
<div class="col-4 col-md-3 col-lg-2">
|
||||
<asp:LinkButton ID="lbtCerca" runat="server" CssClass="btn text-truncate btn-warning btn-lg btn-block text-uppercase"><i class="fa fa-barcode"></i> read</asp:LinkButton>
|
||||
</div>
|
||||
</div>
|
||||
<asp:HiddenField runat="server" ID="hfCodArticolo" Value="" />
|
||||
@@ -1,4 +1,6 @@
|
||||
using System;
|
||||
using Microsoft.Ajax.Utilities;
|
||||
using SteamWare;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
@@ -9,9 +11,178 @@ namespace MoonProTablet.WebUserControls
|
||||
{
|
||||
public partial class cmp_ST_objCheck : BaseUserControl
|
||||
{
|
||||
#region Public Properties
|
||||
|
||||
/// <summary>
|
||||
/// Valore BCode acquisito
|
||||
/// </summary>
|
||||
public string BCodeVal
|
||||
{
|
||||
get
|
||||
{
|
||||
return txtInput.Text.Trim().ToUpper();
|
||||
}
|
||||
set
|
||||
{
|
||||
txtInput.Text = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Cod Articolo selezionato
|
||||
/// </summary>
|
||||
public string CodArticolo
|
||||
{
|
||||
get
|
||||
{
|
||||
return hfCodArticolo.Value.Trim();
|
||||
}
|
||||
set
|
||||
{
|
||||
hfCodArticolo.Value = value.Trim();
|
||||
checkInputData();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// oggetto comando locale alla classe formato RAW
|
||||
/// </summary>
|
||||
public string rawInput
|
||||
{
|
||||
get
|
||||
{
|
||||
string answ;
|
||||
if (memLayer.ML.isInSessionObject("barcodeRaw"))
|
||||
{
|
||||
answ = memLayer.ML.StringSessionObj("barcodeRaw");
|
||||
}
|
||||
else
|
||||
{
|
||||
answ = "";
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
set
|
||||
{
|
||||
memLayer.ML.setSessionVal("barcodeRaw", value, false);
|
||||
}
|
||||
}
|
||||
|
||||
#endregion Public Properties
|
||||
|
||||
#region Private Methods
|
||||
|
||||
private void checkInputData()
|
||||
{
|
||||
bool showInput = false;
|
||||
try
|
||||
{
|
||||
showInput = DataLayerObj.taSTAR.getPendingByOdl(CodArticolo, idxOdl).Count > 0;
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
divCheckData.Visible = showInput;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// procedura pricipale decodifica Barcode
|
||||
/// </summary>
|
||||
private void processInput()
|
||||
{
|
||||
bool found = false;
|
||||
// per prima cosa recupero i valori "Pending" da leggere come candidati...
|
||||
var tabRichieste = DataLayerObj.taSTAR.getPendingByOdl(CodArticolo, idxOdl);
|
||||
if (tabRichieste != null && tabRichieste.Count > 0)
|
||||
{
|
||||
// cerco per EQ come primo step...
|
||||
var trovatoEq = tabRichieste.Where(x => x.CheckType == "EQ" && x.Value == BCodeVal);
|
||||
if (trovatoEq != null && trovatoEq.Count() > 0)
|
||||
{
|
||||
// recupero record..
|
||||
var data = trovatoEq.FirstOrDefault();
|
||||
// registro trovato
|
||||
found = true;
|
||||
// upsert controllo
|
||||
DataLayerObj.taSTChk.upsertQuery(idxOdl, data.IdxST, data.Oggetto, data.Num, BCodeVal, BCodeVal, true, user_std.UtSn.utente);
|
||||
}
|
||||
|
||||
// se non trovato
|
||||
if (!found)
|
||||
{
|
||||
// controllo condizione tipo BATCH (speciale)
|
||||
}
|
||||
}
|
||||
|
||||
// sistemo visualizzaizone componente
|
||||
BCodeVal = "";
|
||||
checkInputData();
|
||||
// sollevo evento
|
||||
reportUpdate();
|
||||
}
|
||||
|
||||
#endregion Private Methods
|
||||
|
||||
#region Protected Methods
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// barcode completato con invio...
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void txtInput_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
processInput();
|
||||
}
|
||||
|
||||
#endregion Protected Methods
|
||||
|
||||
#if false
|
||||
/// <summary>
|
||||
/// verifico se sia un valore compreso nell'elenco fornito
|
||||
/// </summary>
|
||||
private void isValore()
|
||||
{
|
||||
if (_tabValori.ContainsKey(BCodeVal)) // verifico se il comando digitato esista...
|
||||
{
|
||||
comando.isValid = true;
|
||||
comando.valore = BCodeVal;
|
||||
_tabValori.TryGetValue(BCodeVal, out comando.valoreTrad);
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// verifica se il comando inserito sia valido
|
||||
/// </summary>
|
||||
private void isInputEvent()
|
||||
{
|
||||
if (_comandi.ContainsKey(BCodeVal)) // verifico se il comando digitato esista...
|
||||
{
|
||||
comando.isValid = true;
|
||||
// salvo comando precedente (se c'è...)
|
||||
comando.prevCmdIn = comando.currCmdIn;
|
||||
comando.descrComandoPrev = comando.descrComando;
|
||||
comando.currCmdIn = BCodeVal;
|
||||
_comandi.TryGetValue(BCodeVal, out comando.descrComando);
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// verifica quale browser usato e applica css corretto al div attorno al box
|
||||
/// </summary>
|
||||
private void DetectAgent()
|
||||
{
|
||||
System.Web.HttpBrowserCapabilities browser = Request.Browser;
|
||||
if (browser.Browser == "IE")
|
||||
{
|
||||
pnlBarcodeBox.CssClass = "barcodeBoxIE";
|
||||
}
|
||||
else
|
||||
{
|
||||
pnlBarcodeBox.CssClass = "barcodeBoxOther";
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
+39
-3
@@ -1,10 +1,10 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// <generato automaticamente>
|
||||
// Codice generato da uno strumento.
|
||||
//
|
||||
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
|
||||
// il codice viene rigenerato.
|
||||
// </auto-generated>
|
||||
// il codice viene rigenerato.
|
||||
// </generato automaticamente>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace MoonProTablet.WebUserControls
|
||||
@@ -13,5 +13,41 @@ namespace MoonProTablet.WebUserControls
|
||||
|
||||
public partial class cmp_ST_objCheck
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Controllo divCheckData.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divCheckData;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo txtInput.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.TextBox txtInput;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lbtCerca.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.LinkButton lbtCerca;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo hfCodArticolo.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.HiddenField hfCodArticolo;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,12 +3,15 @@
|
||||
<asp:HiddenField runat="server" ID="hfType" />
|
||||
<asp:HiddenField runat="server" ID="hfLabel" />
|
||||
<asp:HiddenField runat="server" ID="hfValue" />
|
||||
<asp:HiddenField runat="server" ID="hfRequired" />
|
||||
<asp:HiddenField runat="server" ID="hfExtCode" />
|
||||
<div runat="server" id="divTxt" class="row">
|
||||
<div class="col-4 pr-0 text-left">
|
||||
<%: hfLabel.Value %>
|
||||
</div>
|
||||
<div class="col-8 pl-0 text-right font-weight-bold">
|
||||
<div class='<%: "col-8 pl-0 text-right font-weight-bold" + dataCss %>'>
|
||||
<%: hfValue.Value %>
|
||||
<asp:Label runat="server" ID="lblError"><i class="fa fa-exclamation-triangle" aria-hidden="true" ></i></asp:Label>
|
||||
</div>
|
||||
</div>
|
||||
<div runat="server" id="divImg" class="row">
|
||||
@@ -18,4 +21,4 @@
|
||||
<div class="col-8 pl-0 text-right">
|
||||
<asp:Image runat="server" ID="imgData" CssClass="img-fluid" ImageUrl='<%# imageUrl %>' Height="128px" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -10,6 +10,40 @@ namespace MoonProTablet.WebUserControls
|
||||
{
|
||||
public partial class cmp_ST_objView : BaseUserControl
|
||||
{
|
||||
#region Public Properties
|
||||
|
||||
public string dataCss
|
||||
{
|
||||
get
|
||||
{
|
||||
string answ = "";
|
||||
if (required)
|
||||
{
|
||||
if (dataValue != extCode)
|
||||
{
|
||||
answ = " text-danger";
|
||||
}
|
||||
else
|
||||
{
|
||||
answ = " text-success";
|
||||
}
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
}
|
||||
|
||||
public string dataLabel
|
||||
{
|
||||
get
|
||||
{
|
||||
return hfLabel.Value.Trim();
|
||||
}
|
||||
set
|
||||
{
|
||||
hfLabel.Value = value.Trim();
|
||||
}
|
||||
}
|
||||
|
||||
public string dataType
|
||||
{
|
||||
get
|
||||
@@ -22,17 +56,7 @@ namespace MoonProTablet.WebUserControls
|
||||
fixDisplay();
|
||||
}
|
||||
}
|
||||
public string dataLabel
|
||||
{
|
||||
get
|
||||
{
|
||||
return hfLabel.Value.Trim();
|
||||
}
|
||||
set
|
||||
{
|
||||
hfLabel.Value = value.Trim();
|
||||
}
|
||||
}
|
||||
|
||||
public string dataValue
|
||||
{
|
||||
get
|
||||
@@ -44,28 +68,20 @@ namespace MoonProTablet.WebUserControls
|
||||
hfValue.Value = value.Trim();
|
||||
}
|
||||
}
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
}
|
||||
|
||||
private void fixDisplay()
|
||||
public string extCode
|
||||
{
|
||||
divImg.Visible = false;
|
||||
divTxt.Visible = false;
|
||||
switch (dataType)
|
||||
get
|
||||
{
|
||||
case "IMG":
|
||||
divImg.Visible = true;
|
||||
break;
|
||||
|
||||
case "TXT":
|
||||
divTxt.Visible = true;
|
||||
break;
|
||||
default:
|
||||
divTxt.Visible = true;
|
||||
break;
|
||||
return hfExtCode.Value.Trim();
|
||||
}
|
||||
set
|
||||
{
|
||||
hfExtCode.Value = value.Trim();
|
||||
fixDisplay();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Url immagine SE richiesta
|
||||
/// </summary>
|
||||
@@ -94,5 +110,64 @@ namespace MoonProTablet.WebUserControls
|
||||
}
|
||||
}
|
||||
|
||||
public bool required
|
||||
{
|
||||
get
|
||||
{
|
||||
bool answ = false;
|
||||
bool.TryParse(hfRequired.Value.Trim(), out answ);
|
||||
return answ;
|
||||
}
|
||||
set
|
||||
{
|
||||
hfRequired.Value = value.ToString();
|
||||
fixDisplay();
|
||||
}
|
||||
}
|
||||
|
||||
public bool showMissingData
|
||||
{
|
||||
get
|
||||
{
|
||||
bool answ = false;
|
||||
if (required && (dataValue != extCode))
|
||||
{
|
||||
answ = true;
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
}
|
||||
|
||||
#endregion Public Properties
|
||||
|
||||
#region Private Methods
|
||||
|
||||
private void fixDisplay()
|
||||
{
|
||||
divImg.Visible = false;
|
||||
divTxt.Visible = false;
|
||||
switch (dataType)
|
||||
{
|
||||
case "IMG":
|
||||
divImg.Visible = true;
|
||||
break;
|
||||
|
||||
case "TXT":
|
||||
default:
|
||||
divTxt.Visible = true;
|
||||
break;
|
||||
}
|
||||
lblError.Visible = showMissingData;
|
||||
}
|
||||
|
||||
#endregion Private Methods
|
||||
|
||||
#region Protected Methods
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
}
|
||||
|
||||
#endregion Protected Methods
|
||||
}
|
||||
}
|
||||
@@ -41,6 +41,24 @@ namespace MoonProTablet.WebUserControls
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.HiddenField hfValue;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo hfRequired.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.HiddenField hfRequired;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo hfExtCode.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.HiddenField hfExtCode;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo divTxt.
|
||||
/// </summary>
|
||||
@@ -50,6 +68,15 @@ namespace MoonProTablet.WebUserControls
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divTxt;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lblError.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblError;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo divImg.
|
||||
/// </summary>
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_sheetTech.ascx.cs" Inherits="MoonProTablet.WebUserControls.cmp_sheetTech" %>
|
||||
<%@ Register Src="~/WebUserControls/cmp_ST_detail.ascx" TagPrefix="uc1" TagName="cmp_ST_detail" %>
|
||||
<%@ Register Src="~/WebUserControls/cmp_ST_objCheck.ascx" TagPrefix="uc1" TagName="cmp_ST_objCheck" %>
|
||||
|
||||
<div class="card text-dark textCondens">
|
||||
<div class="card-header bg-info text-light">
|
||||
@@ -7,6 +8,9 @@
|
||||
</div>
|
||||
<div class="card-body py-1">
|
||||
<div class="row">
|
||||
<div class="col-lg-12 p-1">
|
||||
<uc1:cmp_ST_objCheck runat="server" ID="cmp_ST_objCheck" />
|
||||
</div>
|
||||
<asp:Repeater ID="repGroup" runat="server" DataSourceID="odsGroup">
|
||||
<ItemTemplate>
|
||||
<div class="col-lg-6 col-12 p-1">
|
||||
@@ -25,5 +29,6 @@
|
||||
</div>
|
||||
<asp:ObjectDataSource ID="odsGroup" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="MapoDb.DS_SheetTechTableAdapters.ST_AnagGruppiTableAdapter"></asp:ObjectDataSource>
|
||||
<asp:HiddenField runat="server" ID="hfCodArticolo" Value="" />
|
||||
<asp:HiddenField runat="server" ID="hfIdxOdl" Value="0" />
|
||||
</div>
|
||||
</div>
|
||||
@@ -9,10 +9,7 @@ namespace MoonProTablet.WebUserControls
|
||||
{
|
||||
public partial class cmp_sheetTech : BaseUserControl
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
#region Public Properties
|
||||
|
||||
public string CodArticolo
|
||||
{
|
||||
@@ -23,7 +20,28 @@ namespace MoonProTablet.WebUserControls
|
||||
set
|
||||
{
|
||||
hfCodArticolo.Value = value.Trim();
|
||||
cmp_ST_objCheck.CodArticolo = value.Trim();
|
||||
}
|
||||
}
|
||||
|
||||
#endregion Public Properties
|
||||
|
||||
#region Private Methods
|
||||
|
||||
private void cmp_ST_objCheck_eh_doUpdate(object sender, EventArgs e)
|
||||
{
|
||||
repGroup.DataBind();
|
||||
}
|
||||
|
||||
#endregion Private Methods
|
||||
|
||||
#region Protected Methods
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
cmp_ST_objCheck.eh_doUpdate += cmp_ST_objCheck_eh_doUpdate;
|
||||
}
|
||||
|
||||
#endregion Protected Methods
|
||||
}
|
||||
}
|
||||
@@ -14,6 +14,15 @@ namespace MoonProTablet.WebUserControls
|
||||
public partial class cmp_sheetTech
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Controllo cmp_ST_objCheck.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::MoonProTablet.WebUserControls.cmp_ST_objCheck cmp_ST_objCheck;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo repGroup.
|
||||
/// </summary>
|
||||
@@ -40,5 +49,14 @@ namespace MoonProTablet.WebUserControls
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.HiddenField hfCodArticolo;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo hfIdxOdl.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.HiddenField hfIdxOdl;
|
||||
}
|
||||
}
|
||||
|
||||
Generated
+205
-186
@@ -1311,9 +1311,13 @@ namespace MapoDb {
|
||||
|
||||
private global::System.Data.DataColumn columnIdxST;
|
||||
|
||||
private global::System.Data.DataColumn columnOggetto;
|
||||
|
||||
private global::System.Data.DataColumn columnNum;
|
||||
|
||||
private global::System.Data.DataColumn columnValueCurr;
|
||||
private global::System.Data.DataColumn columnValueRead;
|
||||
|
||||
private global::System.Data.DataColumn columnExtCode;
|
||||
|
||||
private global::System.Data.DataColumn columnCheckOk;
|
||||
|
||||
@@ -1378,6 +1382,14 @@ namespace MapoDb {
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
|
||||
public global::System.Data.DataColumn OggettoColumn {
|
||||
get {
|
||||
return this.columnOggetto;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
|
||||
public global::System.Data.DataColumn NumColumn {
|
||||
@@ -1388,9 +1400,17 @@ namespace MapoDb {
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
|
||||
public global::System.Data.DataColumn ValueCurrColumn {
|
||||
public global::System.Data.DataColumn ValueReadColumn {
|
||||
get {
|
||||
return this.columnValueCurr;
|
||||
return this.columnValueRead;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
|
||||
public global::System.Data.DataColumn ExtCodeColumn {
|
||||
get {
|
||||
return this.columnExtCode;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1455,14 +1475,16 @@ namespace MapoDb {
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
|
||||
public ST_CheckRow AddST_CheckRow(System.DateTime DtEvent, int IdxODL, int IdxST, int Num, string ValueCurr, bool CheckOk, string DtMod, string UserMod) {
|
||||
public ST_CheckRow AddST_CheckRow(System.DateTime DtEvent, int IdxODL, int IdxST, short Oggetto, int Num, string ValueRead, string ExtCode, bool CheckOk, string DtMod, string UserMod) {
|
||||
ST_CheckRow rowST_CheckRow = ((ST_CheckRow)(this.NewRow()));
|
||||
object[] columnValuesArray = new object[] {
|
||||
DtEvent,
|
||||
IdxODL,
|
||||
IdxST,
|
||||
Oggetto,
|
||||
Num,
|
||||
ValueCurr,
|
||||
ValueRead,
|
||||
ExtCode,
|
||||
CheckOk,
|
||||
DtMod,
|
||||
UserMod};
|
||||
@@ -1473,12 +1495,13 @@ namespace MapoDb {
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
|
||||
public ST_CheckRow FindByDtEventIdxODLIdxSTNum(System.DateTime DtEvent, int IdxODL, int IdxST, int Num) {
|
||||
public ST_CheckRow FindByNumOggettoIdxSTIdxODLDtEvent(int Num, short Oggetto, int IdxST, int IdxODL, System.DateTime DtEvent) {
|
||||
return ((ST_CheckRow)(this.Rows.Find(new object[] {
|
||||
DtEvent,
|
||||
IdxODL,
|
||||
Num,
|
||||
Oggetto,
|
||||
IdxST,
|
||||
Num})));
|
||||
IdxODL,
|
||||
DtEvent})));
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -1501,8 +1524,10 @@ namespace MapoDb {
|
||||
this.columnDtEvent = base.Columns["DtEvent"];
|
||||
this.columnIdxODL = base.Columns["IdxODL"];
|
||||
this.columnIdxST = base.Columns["IdxST"];
|
||||
this.columnOggetto = base.Columns["Oggetto"];
|
||||
this.columnNum = base.Columns["Num"];
|
||||
this.columnValueCurr = base.Columns["ValueCurr"];
|
||||
this.columnValueRead = base.Columns["ValueRead"];
|
||||
this.columnExtCode = base.Columns["ExtCode"];
|
||||
this.columnCheckOk = base.Columns["CheckOk"];
|
||||
this.columnDtMod = base.Columns["DtMod"];
|
||||
this.columnUserMod = base.Columns["UserMod"];
|
||||
@@ -1517,10 +1542,14 @@ namespace MapoDb {
|
||||
base.Columns.Add(this.columnIdxODL);
|
||||
this.columnIdxST = new global::System.Data.DataColumn("IdxST", typeof(int), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnIdxST);
|
||||
this.columnOggetto = new global::System.Data.DataColumn("Oggetto", typeof(short), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnOggetto);
|
||||
this.columnNum = new global::System.Data.DataColumn("Num", typeof(int), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnNum);
|
||||
this.columnValueCurr = new global::System.Data.DataColumn("ValueCurr", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnValueCurr);
|
||||
this.columnValueRead = new global::System.Data.DataColumn("ValueRead", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnValueRead);
|
||||
this.columnExtCode = new global::System.Data.DataColumn("ExtCode", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnExtCode);
|
||||
this.columnCheckOk = new global::System.Data.DataColumn("CheckOk", typeof(bool), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnCheckOk);
|
||||
this.columnDtMod = new global::System.Data.DataColumn("DtMod", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
@@ -1528,16 +1557,20 @@ namespace MapoDb {
|
||||
this.columnUserMod = new global::System.Data.DataColumn("UserMod", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnUserMod);
|
||||
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
||||
this.columnDtEvent,
|
||||
this.columnIdxODL,
|
||||
this.columnNum,
|
||||
this.columnOggetto,
|
||||
this.columnIdxST,
|
||||
this.columnNum}, true));
|
||||
this.columnIdxODL,
|
||||
this.columnDtEvent}, true));
|
||||
this.columnDtEvent.AllowDBNull = false;
|
||||
this.columnIdxODL.AllowDBNull = false;
|
||||
this.columnIdxST.AllowDBNull = false;
|
||||
this.columnOggetto.AllowDBNull = false;
|
||||
this.columnNum.AllowDBNull = false;
|
||||
this.columnValueCurr.AllowDBNull = false;
|
||||
this.columnValueCurr.MaxLength = 250;
|
||||
this.columnValueRead.AllowDBNull = false;
|
||||
this.columnValueRead.MaxLength = 250;
|
||||
this.columnExtCode.AllowDBNull = false;
|
||||
this.columnExtCode.MaxLength = 2147483647;
|
||||
this.columnCheckOk.AllowDBNull = false;
|
||||
this.columnDtMod.AllowDBNull = false;
|
||||
this.columnDtMod.MaxLength = 250;
|
||||
@@ -3246,6 +3279,17 @@ namespace MapoDb {
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
|
||||
public short Oggetto {
|
||||
get {
|
||||
return ((short)(this[this.tableST_Check.OggettoColumn]));
|
||||
}
|
||||
set {
|
||||
this[this.tableST_Check.OggettoColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
|
||||
public int Num {
|
||||
@@ -3259,12 +3303,23 @@ namespace MapoDb {
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
|
||||
public string ValueCurr {
|
||||
public string ValueRead {
|
||||
get {
|
||||
return ((string)(this[this.tableST_Check.ValueCurrColumn]));
|
||||
return ((string)(this[this.tableST_Check.ValueReadColumn]));
|
||||
}
|
||||
set {
|
||||
this[this.tableST_Check.ValueCurrColumn] = value;
|
||||
this[this.tableST_Check.ValueReadColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
|
||||
public string ExtCode {
|
||||
get {
|
||||
return ((string)(this[this.tableST_Check.ExtCodeColumn]));
|
||||
}
|
||||
set {
|
||||
this[this.tableST_Check.ExtCodeColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4437,7 +4492,7 @@ SELECT IdxST, Label, Oggetto, Num, CodGruppo, CodTipo, Value, CheckType, Require
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
|
||||
private void InitCommandCollection() {
|
||||
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2];
|
||||
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[3];
|
||||
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[0].Connection = this.Connection;
|
||||
this._commandCollection[0].CommandText = "SELECT DescGruppo, DescTipo, IdxST, Label, Oggetto, Num, CodGruppo, CodTip" +
|
||||
@@ -4445,12 +4500,19 @@ SELECT IdxST, Label, Oggetto, Num, CodGruppo, CodTipo, Value, CheckType, Require
|
||||
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_ST_AR_getByCodArt";
|
||||
this._commandCollection[1].CommandText = "dbo.stp_ST_AR_getByGrpArtOdl";
|
||||
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("@CodGruppo", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodArticolo", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Required", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxODL", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[2].Connection = this.Connection;
|
||||
this._commandCollection[2].CommandText = "dbo.stp_ST_AR_getPendingOdl";
|
||||
this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure;
|
||||
this._commandCollection[2].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[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodArticolo", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxODL", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -4481,7 +4543,7 @@ SELECT IdxST, Label, Oggetto, Num, CodGruppo, CodTipo, Value, CheckType, Require
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
||||
public virtual DS_SheetTech.ST_ActualRowDataTable getByCodArt(string CodGruppo, string CodArticolo, global::System.Nullable<bool> Required) {
|
||||
public virtual DS_SheetTech.ST_ActualRowDataTable getByCodArt(string CodGruppo, string CodArticolo, global::System.Nullable<int> IdxODL) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[1];
|
||||
if ((CodGruppo == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
||||
@@ -4495,8 +4557,8 @@ SELECT IdxST, Label, Oggetto, Num, CodGruppo, CodTipo, Value, CheckType, Require
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[2].Value = ((string)(CodArticolo));
|
||||
}
|
||||
if ((Required.HasValue == true)) {
|
||||
this.Adapter.SelectCommand.Parameters[3].Value = ((bool)(Required.Value));
|
||||
if ((IdxODL.HasValue == true)) {
|
||||
this.Adapter.SelectCommand.Parameters[3].Value = ((int)(IdxODL.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
||||
@@ -4506,6 +4568,29 @@ SELECT IdxST, Label, Oggetto, Num, CodGruppo, CodTipo, Value, CheckType, Require
|
||||
return dataTable;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
||||
public virtual DS_SheetTech.ST_ActualRowDataTable getPendingByOdl(string CodArticolo, global::System.Nullable<int> IdxODL) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[2];
|
||||
if ((CodArticolo == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodArticolo));
|
||||
}
|
||||
if ((IdxODL.HasValue == true)) {
|
||||
this.Adapter.SelectCommand.Parameters[2].Value = ((int)(IdxODL.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
||||
}
|
||||
DS_SheetTech.ST_ActualRowDataTable dataTable = new DS_SheetTech.ST_ActualRowDataTable();
|
||||
this.Adapter.Fill(dataTable);
|
||||
return dataTable;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
@@ -4942,55 +5027,63 @@ SELECT IdxST, Label, Oggetto, Num, CodGruppo, CodTipo, Value, CheckType, Require
|
||||
tableMapping.ColumnMappings.Add("DtEvent", "DtEvent");
|
||||
tableMapping.ColumnMappings.Add("IdxODL", "IdxODL");
|
||||
tableMapping.ColumnMappings.Add("IdxST", "IdxST");
|
||||
tableMapping.ColumnMappings.Add("Oggetto", "Oggetto");
|
||||
tableMapping.ColumnMappings.Add("Num", "Num");
|
||||
tableMapping.ColumnMappings.Add("ValueCurr", "ValueCurr");
|
||||
tableMapping.ColumnMappings.Add("ValueRead", "ValueRead");
|
||||
tableMapping.ColumnMappings.Add("ExtCode", "ExtCode");
|
||||
tableMapping.ColumnMappings.Add("CheckOk", "CheckOk");
|
||||
tableMapping.ColumnMappings.Add("DtMod", "DtMod");
|
||||
tableMapping.ColumnMappings.Add("UserMod", "UserMod");
|
||||
this._adapter.TableMappings.Add(tableMapping);
|
||||
this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._adapter.DeleteCommand.Connection = this.Connection;
|
||||
this._adapter.DeleteCommand.CommandText = @"DELETE FROM [dbo].[ST_Check] WHERE (([DtEvent] = @Original_DtEvent) AND ([IdxODL] = @Original_IdxODL) AND ([IdxST] = @Original_IdxST) AND ([Num] = @Original_Num) AND ([ValueCurr] = @Original_ValueCurr) AND ([CheckOk] = @Original_CheckOk) AND ([DtMod] = @Original_DtMod) AND ([UserMod] = @Original_UserMod))";
|
||||
this._adapter.DeleteCommand.CommandText = @"DELETE FROM [ST_Check] WHERE (([DtEvent] = @Original_DtEvent) AND ([IdxODL] = @Original_IdxODL) AND ([IdxST] = @Original_IdxST) AND ([Oggetto] = @Original_Oggetto) AND ([Num] = @Original_Num) AND ([ValueRead] = @Original_ValueRead) AND ([CheckOk] = @Original_CheckOk) AND ([DtMod] = @Original_DtMod) AND ([UserMod] = @Original_UserMod))";
|
||||
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DtEvent", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DtEvent", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxODL", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxODL", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxST", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxST", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Oggetto", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Oggetto", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Num", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Num", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ValueCurr", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ValueCurr", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ValueRead", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ValueRead", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CheckOk", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CheckOk", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DtMod", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DtMod", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UserMod", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserMod", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._adapter.InsertCommand.Connection = this.Connection;
|
||||
this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[ST_Check] ([DtEvent], [IdxODL], [IdxST], [Num], [ValueCurr], [CheckOk], [DtMod], [UserMod]) VALUES (@DtEvent, @IdxODL, @IdxST, @Num, @ValueCurr, @CheckOk, @DtMod, @UserMod);
|
||||
SELECT DtEvent, IdxODL, IdxST, Num, ValueCurr, CheckOk, DtMod, UserMod FROM ST_Check WHERE (DtEvent = @DtEvent) AND (IdxODL = @IdxODL) AND (IdxST = @IdxST) AND (Num = @Num)";
|
||||
this._adapter.InsertCommand.CommandText = @"INSERT INTO [ST_Check] ([DtEvent], [IdxODL], [IdxST], [Oggetto], [Num], [ValueRead], [ExtCode], [CheckOk], [DtMod], [UserMod]) VALUES (@DtEvent, @IdxODL, @IdxST, @Oggetto, @Num, @ValueRead, @ExtCode, @CheckOk, @DtMod, @UserMod);
|
||||
SELECT DtEvent, IdxODL, IdxST, Oggetto, Num, ValueRead, ExtCode, CheckOk, DtMod, UserMod FROM ST_Check WHERE (DtEvent = @DtEvent) AND (IdxODL = @IdxODL) AND (IdxST = @IdxST) AND (Num = @Num) AND (Oggetto = @Oggetto)";
|
||||
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DtEvent", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DtEvent", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxODL", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxODL", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxST", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxST", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Oggetto", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Oggetto", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Num", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Num", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ValueCurr", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ValueCurr", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ValueRead", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ValueRead", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ExtCode", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ExtCode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CheckOk", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CheckOk", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DtMod", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DtMod", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserMod", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserMod", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._adapter.UpdateCommand.Connection = this.Connection;
|
||||
this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[ST_Check] SET [DtEvent] = @DtEvent, [IdxODL] = @IdxODL, [IdxST] = @IdxST, [Num] = @Num, [ValueCurr] = @ValueCurr, [CheckOk] = @CheckOk, [DtMod] = @DtMod, [UserMod] = @UserMod WHERE (([DtEvent] = @Original_DtEvent) AND ([IdxODL] = @Original_IdxODL) AND ([IdxST] = @Original_IdxST) AND ([Num] = @Original_Num) AND ([ValueCurr] = @Original_ValueCurr) AND ([CheckOk] = @Original_CheckOk) AND ([DtMod] = @Original_DtMod) AND ([UserMod] = @Original_UserMod));
|
||||
SELECT DtEvent, IdxODL, IdxST, Num, ValueCurr, CheckOk, DtMod, UserMod FROM ST_Check WHERE (DtEvent = @DtEvent) AND (IdxODL = @IdxODL) AND (IdxST = @IdxST) AND (Num = @Num)";
|
||||
this._adapter.UpdateCommand.CommandText = @"UPDATE [ST_Check] SET [DtEvent] = @DtEvent, [IdxODL] = @IdxODL, [IdxST] = @IdxST, [Oggetto] = @Oggetto, [Num] = @Num, [ValueRead] = @ValueRead, [ExtCode] = @ExtCode, [CheckOk] = @CheckOk, [DtMod] = @DtMod, [UserMod] = @UserMod WHERE (([DtEvent] = @Original_DtEvent) AND ([IdxODL] = @Original_IdxODL) AND ([IdxST] = @Original_IdxST) AND ([Oggetto] = @Original_Oggetto) AND ([Num] = @Original_Num) AND ([ValueRead] = @Original_ValueRead) AND ([CheckOk] = @Original_CheckOk) AND ([DtMod] = @Original_DtMod) AND ([UserMod] = @Original_UserMod));
|
||||
SELECT DtEvent, IdxODL, IdxST, Oggetto, Num, ValueRead, ExtCode, CheckOk, DtMod, UserMod FROM ST_Check WHERE (DtEvent = @DtEvent) AND (IdxODL = @IdxODL) AND (IdxST = @IdxST) AND (Num = @Num) AND (Oggetto = @Oggetto)";
|
||||
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DtEvent", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DtEvent", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxODL", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxODL", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxST", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxST", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Oggetto", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Oggetto", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Num", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Num", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ValueCurr", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ValueCurr", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ValueRead", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ValueRead", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ExtCode", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ExtCode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CheckOk", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CheckOk", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DtMod", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DtMod", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserMod", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserMod", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DtEvent", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DtEvent", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxODL", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxODL", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxST", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxST", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Oggetto", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Oggetto", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Num", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Num", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ValueCurr", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ValueCurr", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ValueRead", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ValueRead", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CheckOk", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CheckOk", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DtMod", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DtMod", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UserMod", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserMod", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
@@ -5006,12 +5099,30 @@ SELECT DtEvent, IdxODL, IdxST, Num, ValueCurr, CheckOk, DtMod, UserMod FROM ST_C
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
|
||||
private void InitCommandCollection() {
|
||||
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
|
||||
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[3];
|
||||
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[0].Connection = this.Connection;
|
||||
this._commandCollection[0].CommandText = "SELECT DtEvent, IdxODL, IdxST, Num, ValueCurr, CheckOk, DtMod, UserMod FROM dbo.S" +
|
||||
"T_Check";
|
||||
this._commandCollection[0].CommandText = "SELECT *\r\nFROM ST_Check";
|
||||
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_ST_CHK_getByOdl";
|
||||
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("@IdxOdl", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[2].Connection = this.Connection;
|
||||
this._commandCollection[2].CommandText = "dbo.stp_ST_CHK_upsert";
|
||||
this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure;
|
||||
this._commandCollection[2].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[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxOdl", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxST", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Oggetto", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Num", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ValueRead", global::System.Data.SqlDbType.NVarChar, 250, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ExtCode", global::System.Data.SqlDbType.NVarChar, 2147483647, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CheckOk", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserMod", global::System.Data.SqlDbType.NVarChar, 250, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -5038,6 +5149,23 @@ SELECT DtEvent, IdxODL, IdxST, Num, ValueCurr, CheckOk, DtMod, UserMod FROM ST_C
|
||||
return dataTable;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
||||
public virtual DS_SheetTech.ST_CheckDataTable getByOdl(global::System.Nullable<int> IdxOdl) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[1];
|
||||
if ((IdxOdl.HasValue == true)) {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(IdxOdl.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
||||
}
|
||||
DS_SheetTech.ST_CheckDataTable dataTable = new DS_SheetTech.ST_CheckDataTable();
|
||||
this.Adapter.Fill(dataTable);
|
||||
return dataTable;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
@@ -5070,180 +5198,71 @@ SELECT DtEvent, IdxODL, IdxST, Num, ValueCurr, CheckOk, DtMod, UserMod FROM ST_C
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
|
||||
public virtual int Delete(System.DateTime Original_DtEvent, int Original_IdxODL, int Original_IdxST, int Original_Num, string Original_ValueCurr, bool Original_CheckOk, string Original_DtMod, string Original_UserMod) {
|
||||
this.Adapter.DeleteCommand.Parameters[0].Value = ((System.DateTime)(Original_DtEvent));
|
||||
this.Adapter.DeleteCommand.Parameters[1].Value = ((int)(Original_IdxODL));
|
||||
this.Adapter.DeleteCommand.Parameters[2].Value = ((int)(Original_IdxST));
|
||||
this.Adapter.DeleteCommand.Parameters[3].Value = ((int)(Original_Num));
|
||||
if ((Original_ValueCurr == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_ValueCurr");
|
||||
public virtual int upsertQuery(global::System.Nullable<int> IdxOdl, global::System.Nullable<int> IdxST, global::System.Nullable<int> Oggetto, global::System.Nullable<int> Num, string ValueRead, string ExtCode, global::System.Nullable<bool> CheckOk, string UserMod) {
|
||||
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2];
|
||||
if ((IdxOdl.HasValue == true)) {
|
||||
command.Parameters[1].Value = ((int)(IdxOdl.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_ValueCurr));
|
||||
command.Parameters[1].Value = global::System.DBNull.Value;
|
||||
}
|
||||
this.Adapter.DeleteCommand.Parameters[5].Value = ((bool)(Original_CheckOk));
|
||||
if ((Original_DtMod == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_DtMod");
|
||||
if ((IdxST.HasValue == true)) {
|
||||
command.Parameters[2].Value = ((int)(IdxST.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_DtMod));
|
||||
command.Parameters[2].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((Original_UserMod == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_UserMod");
|
||||
if ((Oggetto.HasValue == true)) {
|
||||
command.Parameters[3].Value = ((int)(Oggetto.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.DeleteCommand.Parameters[7].Value = ((string)(Original_UserMod));
|
||||
command.Parameters[3].Value = global::System.DBNull.Value;
|
||||
}
|
||||
global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
|
||||
if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
|
||||
!= global::System.Data.ConnectionState.Open)) {
|
||||
this.Adapter.DeleteCommand.Connection.Open();
|
||||
}
|
||||
try {
|
||||
int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
|
||||
return returnValue;
|
||||
}
|
||||
finally {
|
||||
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
||||
this.Adapter.DeleteCommand.Connection.Close();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
|
||||
public virtual int Insert(System.DateTime DtEvent, int IdxODL, int IdxST, int Num, string ValueCurr, bool CheckOk, string DtMod, string UserMod) {
|
||||
this.Adapter.InsertCommand.Parameters[0].Value = ((System.DateTime)(DtEvent));
|
||||
this.Adapter.InsertCommand.Parameters[1].Value = ((int)(IdxODL));
|
||||
this.Adapter.InsertCommand.Parameters[2].Value = ((int)(IdxST));
|
||||
this.Adapter.InsertCommand.Parameters[3].Value = ((int)(Num));
|
||||
if ((ValueCurr == null)) {
|
||||
throw new global::System.ArgumentNullException("ValueCurr");
|
||||
if ((Num.HasValue == true)) {
|
||||
command.Parameters[4].Value = ((int)(Num.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.InsertCommand.Parameters[4].Value = ((string)(ValueCurr));
|
||||
command.Parameters[4].Value = global::System.DBNull.Value;
|
||||
}
|
||||
this.Adapter.InsertCommand.Parameters[5].Value = ((bool)(CheckOk));
|
||||
if ((DtMod == null)) {
|
||||
throw new global::System.ArgumentNullException("DtMod");
|
||||
if ((ValueRead == null)) {
|
||||
command.Parameters[5].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.InsertCommand.Parameters[6].Value = ((string)(DtMod));
|
||||
command.Parameters[5].Value = ((string)(ValueRead));
|
||||
}
|
||||
if ((ExtCode == null)) {
|
||||
command.Parameters[6].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
command.Parameters[6].Value = ((string)(ExtCode));
|
||||
}
|
||||
if ((CheckOk.HasValue == true)) {
|
||||
command.Parameters[7].Value = ((bool)(CheckOk.Value));
|
||||
}
|
||||
else {
|
||||
command.Parameters[7].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((UserMod == null)) {
|
||||
throw new global::System.ArgumentNullException("UserMod");
|
||||
command.Parameters[8].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.InsertCommand.Parameters[7].Value = ((string)(UserMod));
|
||||
command.Parameters[8].Value = ((string)(UserMod));
|
||||
}
|
||||
global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
|
||||
if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
|
||||
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
||||
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
||||
!= global::System.Data.ConnectionState.Open)) {
|
||||
this.Adapter.InsertCommand.Connection.Open();
|
||||
command.Connection.Open();
|
||||
}
|
||||
int returnValue;
|
||||
try {
|
||||
int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
|
||||
return returnValue;
|
||||
returnValue = command.ExecuteNonQuery();
|
||||
}
|
||||
finally {
|
||||
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
||||
this.Adapter.InsertCommand.Connection.Close();
|
||||
command.Connection.Close();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
|
||||
public virtual int Update(
|
||||
System.DateTime DtEvent,
|
||||
int IdxODL,
|
||||
int IdxST,
|
||||
int Num,
|
||||
string ValueCurr,
|
||||
bool CheckOk,
|
||||
string DtMod,
|
||||
string UserMod,
|
||||
System.DateTime Original_DtEvent,
|
||||
int Original_IdxODL,
|
||||
int Original_IdxST,
|
||||
int Original_Num,
|
||||
string Original_ValueCurr,
|
||||
bool Original_CheckOk,
|
||||
string Original_DtMod,
|
||||
string Original_UserMod) {
|
||||
this.Adapter.UpdateCommand.Parameters[0].Value = ((System.DateTime)(DtEvent));
|
||||
this.Adapter.UpdateCommand.Parameters[1].Value = ((int)(IdxODL));
|
||||
this.Adapter.UpdateCommand.Parameters[2].Value = ((int)(IdxST));
|
||||
this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(Num));
|
||||
if ((ValueCurr == null)) {
|
||||
throw new global::System.ArgumentNullException("ValueCurr");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(ValueCurr));
|
||||
}
|
||||
this.Adapter.UpdateCommand.Parameters[5].Value = ((bool)(CheckOk));
|
||||
if ((DtMod == null)) {
|
||||
throw new global::System.ArgumentNullException("DtMod");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(DtMod));
|
||||
}
|
||||
if ((UserMod == null)) {
|
||||
throw new global::System.ArgumentNullException("UserMod");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(UserMod));
|
||||
}
|
||||
this.Adapter.UpdateCommand.Parameters[8].Value = ((System.DateTime)(Original_DtEvent));
|
||||
this.Adapter.UpdateCommand.Parameters[9].Value = ((int)(Original_IdxODL));
|
||||
this.Adapter.UpdateCommand.Parameters[10].Value = ((int)(Original_IdxST));
|
||||
this.Adapter.UpdateCommand.Parameters[11].Value = ((int)(Original_Num));
|
||||
if ((Original_ValueCurr == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_ValueCurr");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(Original_ValueCurr));
|
||||
}
|
||||
this.Adapter.UpdateCommand.Parameters[13].Value = ((bool)(Original_CheckOk));
|
||||
if ((Original_DtMod == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_DtMod");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(Original_DtMod));
|
||||
}
|
||||
if ((Original_UserMod == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_UserMod");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(Original_UserMod));
|
||||
}
|
||||
global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
|
||||
if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
|
||||
!= global::System.Data.ConnectionState.Open)) {
|
||||
this.Adapter.UpdateCommand.Connection.Open();
|
||||
}
|
||||
try {
|
||||
int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
|
||||
return returnValue;
|
||||
}
|
||||
finally {
|
||||
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
||||
this.Adapter.UpdateCommand.Connection.Close();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
|
||||
public virtual int Update(string ValueCurr, bool CheckOk, string DtMod, string UserMod, System.DateTime Original_DtEvent, int Original_IdxODL, int Original_IdxST, int Original_Num, string Original_ValueCurr, bool Original_CheckOk, string Original_DtMod, string Original_UserMod) {
|
||||
return this.Update(Original_DtEvent, Original_IdxODL, Original_IdxST, Original_Num, ValueCurr, CheckOk, DtMod, UserMod, Original_DtEvent, Original_IdxODL, Original_IdxST, Original_Num, Original_ValueCurr, Original_CheckOk, Original_DtMod, Original_UserMod);
|
||||
return returnValue;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+93
-33
@@ -162,15 +162,27 @@ SELECT IdxST, Label, Oggetto, Num, CodGruppo, CodTipo, Value, CheckType, Require
|
||||
<Mapping SourceColumn="DescTipo" DataSetColumn="DescTipo" />
|
||||
</Mappings>
|
||||
<Sources>
|
||||
<DbSource ConnectionRef="MoonProConnectionString (Settings)" DbObjectName="MoonPro.dbo.stp_ST_AR_getByCodArt" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByCodArt" GetMethodModifier="Public" GetMethodName="getByCodArt" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByCodArt" UserSourceName="getByCodArt">
|
||||
<DbSource ConnectionRef="MoonProConnectionString (Settings)" DbObjectName="MoonPro.dbo.stp_ST_AR_getByGrpArtOdl" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByCodArt" GetMethodModifier="Public" GetMethodName="getByCodArt" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByCodArt" UserSourceName="getByCodArt">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_ST_AR_getByCodArt</CommandText>
|
||||
<CommandText>dbo.stp_ST_AR_getByGrpArtOdl</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="nvarchar" DbType="String" Direction="Input" ParameterName="@CodGruppo" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodArticolo" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@Required" Precision="1" ProviderType="Bit" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IdxODL" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="MoonProConnectionString (Settings)" DbObjectName="MoonPro.dbo.stp_ST_AR_getPendingOdl" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getPendingByOdl" GetMethodModifier="Public" GetMethodName="getPendingByOdl" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getPendingByOdl" UserSourceName="getPendingByOdl">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_ST_AR_getPendingOdl</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="nvarchar" DbType="String" Direction="Input" ParameterName="@CodArticolo" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IdxODL" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
@@ -179,16 +191,17 @@ SELECT IdxST, Label, Oggetto, Num, CodGruppo, CodTipo, Value, CheckType, Require
|
||||
</TableAdapter>
|
||||
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ST_CheckTableAdapter" GeneratorDataComponentClassName="ST_CheckTableAdapter" Name="ST_Check" UserDataComponentName="ST_CheckTableAdapter">
|
||||
<MainSource>
|
||||
<DbSource ConnectionRef="MoonProConnectionString (Settings)" DbObjectName="MoonPro.dbo.ST_Check" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
|
||||
<DbSource ConnectionRef="MoonProConnectionString (Settings)" DbObjectName="MoonPro.dbo.ST_Check" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
|
||||
<DeleteCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>DELETE FROM [dbo].[ST_Check] WHERE (([DtEvent] = @Original_DtEvent) AND ([IdxODL] = @Original_IdxODL) AND ([IdxST] = @Original_IdxST) AND ([Num] = @Original_Num) AND ([ValueCurr] = @Original_ValueCurr) AND ([CheckOk] = @Original_CheckOk) AND ([DtMod] = @Original_DtMod) AND ([UserMod] = @Original_UserMod))</CommandText>
|
||||
<CommandText>DELETE FROM [ST_Check] WHERE (([DtEvent] = @Original_DtEvent) AND ([IdxODL] = @Original_IdxODL) AND ([IdxST] = @Original_IdxST) AND ([Oggetto] = @Original_Oggetto) AND ([Num] = @Original_Num) AND ([ValueRead] = @Original_ValueRead) AND ([CheckOk] = @Original_CheckOk) AND ([DtMod] = @Original_DtMod) AND ([UserMod] = @Original_UserMod))</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_DtEvent" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DtEvent" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdxODL" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxODL" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdxST" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxST" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_Oggetto" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="Oggetto" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Num" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Num" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ValueCurr" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ValueCurr" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ValueRead" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ValueRead" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_CheckOk" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="CheckOk" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_DtMod" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="DtMod" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_UserMod" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UserMod" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
@@ -197,14 +210,16 @@ SELECT IdxST, Label, Oggetto, Num, CodGruppo, CodTipo, Value, CheckType, Require
|
||||
</DeleteCommand>
|
||||
<InsertCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>INSERT INTO [dbo].[ST_Check] ([DtEvent], [IdxODL], [IdxST], [Num], [ValueCurr], [CheckOk], [DtMod], [UserMod]) VALUES (@DtEvent, @IdxODL, @IdxST, @Num, @ValueCurr, @CheckOk, @DtMod, @UserMod);
|
||||
SELECT DtEvent, IdxODL, IdxST, Num, ValueCurr, CheckOk, DtMod, UserMod FROM ST_Check WHERE (DtEvent = @DtEvent) AND (IdxODL = @IdxODL) AND (IdxST = @IdxST) AND (Num = @Num)</CommandText>
|
||||
<CommandText>INSERT INTO [ST_Check] ([DtEvent], [IdxODL], [IdxST], [Oggetto], [Num], [ValueRead], [ExtCode], [CheckOk], [DtMod], [UserMod]) VALUES (@DtEvent, @IdxODL, @IdxST, @Oggetto, @Num, @ValueRead, @ExtCode, @CheckOk, @DtMod, @UserMod);
|
||||
SELECT DtEvent, IdxODL, IdxST, Oggetto, Num, ValueRead, ExtCode, CheckOk, DtMod, UserMod FROM ST_Check WHERE (DtEvent = @DtEvent) AND (IdxODL = @IdxODL) AND (IdxST = @IdxST) AND (Num = @Num) AND (Oggetto = @Oggetto)</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DtEvent" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DtEvent" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IdxODL" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxODL" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IdxST" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxST" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Oggetto" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="Oggetto" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Num" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Num" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ValueCurr" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ValueCurr" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ValueRead" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ValueRead" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ExtCode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ExtCode" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@CheckOk" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="CheckOk" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@DtMod" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="DtMod" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@UserMod" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UserMod" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
@@ -212,29 +227,33 @@ SELECT DtEvent, IdxODL, IdxST, Num, ValueCurr, CheckOk, DtMod, UserMod FROM ST_C
|
||||
</DbCommand>
|
||||
</InsertCommand>
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>SELECT DtEvent, IdxODL, IdxST, Num, ValueCurr, CheckOk, DtMod, UserMod FROM dbo.ST_Check</CommandText>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
||||
<CommandText>SELECT *
|
||||
FROM ST_Check</CommandText>
|
||||
<Parameters />
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
<UpdateCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>UPDATE [dbo].[ST_Check] SET [DtEvent] = @DtEvent, [IdxODL] = @IdxODL, [IdxST] = @IdxST, [Num] = @Num, [ValueCurr] = @ValueCurr, [CheckOk] = @CheckOk, [DtMod] = @DtMod, [UserMod] = @UserMod WHERE (([DtEvent] = @Original_DtEvent) AND ([IdxODL] = @Original_IdxODL) AND ([IdxST] = @Original_IdxST) AND ([Num] = @Original_Num) AND ([ValueCurr] = @Original_ValueCurr) AND ([CheckOk] = @Original_CheckOk) AND ([DtMod] = @Original_DtMod) AND ([UserMod] = @Original_UserMod));
|
||||
SELECT DtEvent, IdxODL, IdxST, Num, ValueCurr, CheckOk, DtMod, UserMod FROM ST_Check WHERE (DtEvent = @DtEvent) AND (IdxODL = @IdxODL) AND (IdxST = @IdxST) AND (Num = @Num)</CommandText>
|
||||
<CommandText>UPDATE [ST_Check] SET [DtEvent] = @DtEvent, [IdxODL] = @IdxODL, [IdxST] = @IdxST, [Oggetto] = @Oggetto, [Num] = @Num, [ValueRead] = @ValueRead, [ExtCode] = @ExtCode, [CheckOk] = @CheckOk, [DtMod] = @DtMod, [UserMod] = @UserMod WHERE (([DtEvent] = @Original_DtEvent) AND ([IdxODL] = @Original_IdxODL) AND ([IdxST] = @Original_IdxST) AND ([Oggetto] = @Original_Oggetto) AND ([Num] = @Original_Num) AND ([ValueRead] = @Original_ValueRead) AND ([CheckOk] = @Original_CheckOk) AND ([DtMod] = @Original_DtMod) AND ([UserMod] = @Original_UserMod));
|
||||
SELECT DtEvent, IdxODL, IdxST, Oggetto, Num, ValueRead, ExtCode, CheckOk, DtMod, UserMod FROM ST_Check WHERE (DtEvent = @DtEvent) AND (IdxODL = @IdxODL) AND (IdxST = @IdxST) AND (Num = @Num) AND (Oggetto = @Oggetto)</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DtEvent" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DtEvent" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IdxODL" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxODL" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IdxST" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxST" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Oggetto" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="Oggetto" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Num" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Num" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ValueCurr" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ValueCurr" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ValueRead" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ValueRead" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ExtCode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ExtCode" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@CheckOk" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="CheckOk" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@DtMod" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="DtMod" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@UserMod" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UserMod" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_DtEvent" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DtEvent" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdxODL" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxODL" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdxST" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxST" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_Oggetto" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="Oggetto" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Num" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Num" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ValueCurr" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ValueCurr" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ValueRead" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ValueRead" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_CheckOk" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="CheckOk" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_DtMod" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="DtMod" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_UserMod" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UserMod" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
@@ -247,13 +266,45 @@ SELECT DtEvent, IdxODL, IdxST, Num, ValueCurr, CheckOk, DtMod, UserMod FROM ST_C
|
||||
<Mapping SourceColumn="DtEvent" DataSetColumn="DtEvent" />
|
||||
<Mapping SourceColumn="IdxODL" DataSetColumn="IdxODL" />
|
||||
<Mapping SourceColumn="IdxST" DataSetColumn="IdxST" />
|
||||
<Mapping SourceColumn="Oggetto" DataSetColumn="Oggetto" />
|
||||
<Mapping SourceColumn="Num" DataSetColumn="Num" />
|
||||
<Mapping SourceColumn="ValueCurr" DataSetColumn="ValueCurr" />
|
||||
<Mapping SourceColumn="ValueRead" DataSetColumn="ValueRead" />
|
||||
<Mapping SourceColumn="ExtCode" DataSetColumn="ExtCode" />
|
||||
<Mapping SourceColumn="CheckOk" DataSetColumn="CheckOk" />
|
||||
<Mapping SourceColumn="DtMod" DataSetColumn="DtMod" />
|
||||
<Mapping SourceColumn="UserMod" DataSetColumn="UserMod" />
|
||||
</Mappings>
|
||||
<Sources />
|
||||
<Sources>
|
||||
<DbSource ConnectionRef="MoonProConnectionString (Settings)" DbObjectName="MoonPro.dbo.stp_ST_CHK_getByOdl" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByOdl" GetMethodModifier="Public" GetMethodName="getByOdl" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByOdl" UserSourceName="getByOdl">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_ST_CHK_getByOdl</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="int" DbType="Int32" Direction="Input" ParameterName="@IdxOdl" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="MoonProConnectionString (Settings)" DbObjectName="MoonPro.dbo.stp_ST_CHK_upsert" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="upsertQuery" Modifier="Public" Name="upsertQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="upsertQuery">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_ST_CHK_upsert</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="int" DbType="Int32" Direction="Input" ParameterName="@IdxOdl" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IdxST" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Oggetto" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Num" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@ValueRead" Precision="0" ProviderType="NVarChar" Scale="0" Size="250" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@ExtCode" Precision="0" ProviderType="NVarChar" Scale="0" Size="2147483647" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@CheckOk" Precision="1" ProviderType="Bit" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@UserMod" Precision="0" ProviderType="NVarChar" Scale="0" Size="250" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
</Sources>
|
||||
</TableAdapter>
|
||||
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ST_AnagGruppiTableAdapter" GeneratorDataComponentClassName="ST_AnagGruppiTableAdapter" Name="ST_AnagGruppi" UserDataComponentName="ST_AnagGruppiTableAdapter">
|
||||
<MainSource>
|
||||
@@ -502,7 +553,7 @@ SELECT CodTempl, Label, Oggetto, Num, CodGruppo, CodTipo, Value, CheckType, Requ
|
||||
<xs:element name="DS_SheetTech" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DS_SheetTech" msprop:Generator_UserDSName="DS_SheetTech">
|
||||
<xs:complexType>
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="ST_Actual" msprop:Generator_TableClassName="ST_ActualDataTable" msprop:Generator_TableVarName="tableST_Actual" msprop:Generator_RowChangedName="ST_ActualRowChanged" msprop:Generator_TablePropName="ST_Actual" msprop:Generator_RowDeletingName="ST_ActualRowDeleting" msprop:Generator_RowChangingName="ST_ActualRowChanging" msprop:Generator_RowEvHandlerName="ST_ActualRowChangeEventHandler" msprop:Generator_RowDeletedName="ST_ActualRowDeleted" msprop:Generator_RowClassName="ST_ActualRow" msprop:Generator_UserTableName="ST_Actual" msprop:Generator_RowEvArgName="ST_ActualRowChangeEvent">
|
||||
<xs:element name="ST_Actual" msprop:Generator_TableClassName="ST_ActualDataTable" msprop:Generator_TableVarName="tableST_Actual" msprop:Generator_TablePropName="ST_Actual" msprop:Generator_RowDeletingName="ST_ActualRowDeleting" msprop:Generator_RowChangingName="ST_ActualRowChanging" msprop:Generator_RowEvHandlerName="ST_ActualRowChangeEventHandler" msprop:Generator_RowDeletedName="ST_ActualRowDeleted" msprop:Generator_UserTableName="ST_Actual" msprop:Generator_RowChangedName="ST_ActualRowChanged" msprop:Generator_RowEvArgName="ST_ActualRowChangeEvent" msprop:Generator_RowClassName="ST_ActualRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="IdxST" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnIdxST" msprop:Generator_ColumnPropNameInRow="IdxST" msprop:Generator_ColumnPropNameInTable="IdxSTColumn" msprop:Generator_UserColumnName="IdxST" type="xs:int" />
|
||||
@@ -525,7 +576,7 @@ SELECT CodTempl, Label, Oggetto, Num, CodGruppo, CodTipo, Value, CheckType, Requ
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="ST_ActualRow" msprop:Generator_TableClassName="ST_ActualRowDataTable" msprop:Generator_TableVarName="tableST_ActualRow" msprop:Generator_RowChangedName="ST_ActualRowRowChanged" msprop:Generator_TablePropName="_ST_ActualRow" msprop:Generator_RowDeletingName="ST_ActualRowRowDeleting" msprop:Generator_RowChangingName="ST_ActualRowRowChanging" msprop:Generator_RowEvHandlerName="ST_ActualRowRowChangeEventHandler" msprop:Generator_RowDeletedName="ST_ActualRowRowDeleted" msprop:Generator_RowClassName="ST_ActualRowRow" msprop:Generator_UserTableName="ST_ActualRow" msprop:Generator_RowEvArgName="ST_ActualRowRowChangeEvent">
|
||||
<xs:element name="ST_ActualRow" msprop:Generator_TableClassName="ST_ActualRowDataTable" msprop:Generator_TableVarName="tableST_ActualRow" msprop:Generator_TablePropName="_ST_ActualRow" msprop:Generator_RowDeletingName="ST_ActualRowRowDeleting" msprop:Generator_RowChangingName="ST_ActualRowRowChanging" msprop:Generator_RowEvHandlerName="ST_ActualRowRowChangeEventHandler" msprop:Generator_RowDeletedName="ST_ActualRowRowDeleted" msprop:Generator_UserTableName="ST_ActualRow" msprop:Generator_RowChangedName="ST_ActualRowRowChanged" msprop:Generator_RowEvArgName="ST_ActualRowRowChangeEvent" msprop:Generator_RowClassName="ST_ActualRowRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="IdxST" msprop:Generator_ColumnVarNameInTable="columnIdxST" msprop:Generator_ColumnPropNameInRow="IdxST" msprop:Generator_ColumnPropNameInTable="IdxSTColumn" msprop:Generator_UserColumnName="IdxST" type="xs:int" />
|
||||
@@ -598,20 +649,28 @@ SELECT CodTempl, Label, Oggetto, Num, CodGruppo, CodTipo, Value, CheckType, Requ
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="ST_Check" msprop:Generator_TableClassName="ST_CheckDataTable" msprop:Generator_TableVarName="tableST_Check" msprop:Generator_RowChangedName="ST_CheckRowChanged" msprop:Generator_TablePropName="ST_Check" msprop:Generator_RowDeletingName="ST_CheckRowDeleting" msprop:Generator_RowChangingName="ST_CheckRowChanging" msprop:Generator_RowEvHandlerName="ST_CheckRowChangeEventHandler" msprop:Generator_RowDeletedName="ST_CheckRowDeleted" msprop:Generator_RowClassName="ST_CheckRow" msprop:Generator_UserTableName="ST_Check" msprop:Generator_RowEvArgName="ST_CheckRowChangeEvent">
|
||||
<xs:element name="ST_Check" msprop:Generator_TableClassName="ST_CheckDataTable" msprop:Generator_TableVarName="tableST_Check" msprop:Generator_TablePropName="ST_Check" msprop:Generator_RowDeletingName="ST_CheckRowDeleting" msprop:Generator_RowChangingName="ST_CheckRowChanging" msprop:Generator_RowEvHandlerName="ST_CheckRowChangeEventHandler" msprop:Generator_RowDeletedName="ST_CheckRowDeleted" msprop:Generator_UserTableName="ST_Check" msprop:Generator_RowChangedName="ST_CheckRowChanged" msprop:Generator_RowEvArgName="ST_CheckRowChangeEvent" msprop:Generator_RowClassName="ST_CheckRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="DtEvent" msprop:Generator_ColumnVarNameInTable="columnDtEvent" msprop:Generator_ColumnPropNameInRow="DtEvent" msprop:Generator_ColumnPropNameInTable="DtEventColumn" msprop:Generator_UserColumnName="DtEvent" type="xs:dateTime" />
|
||||
<xs:element name="IdxODL" msprop:Generator_ColumnVarNameInTable="columnIdxODL" msprop:Generator_ColumnPropNameInRow="IdxODL" msprop:Generator_ColumnPropNameInTable="IdxODLColumn" msprop:Generator_UserColumnName="IdxODL" type="xs:int" />
|
||||
<xs:element name="IdxST" msprop:Generator_ColumnVarNameInTable="columnIdxST" msprop:Generator_ColumnPropNameInRow="IdxST" msprop:Generator_ColumnPropNameInTable="IdxSTColumn" msprop:Generator_UserColumnName="IdxST" type="xs:int" />
|
||||
<xs:element name="Oggetto" msprop:Generator_ColumnVarNameInTable="columnOggetto" msprop:Generator_ColumnPropNameInRow="Oggetto" msprop:Generator_ColumnPropNameInTable="OggettoColumn" msprop:Generator_UserColumnName="Oggetto" type="xs:short" />
|
||||
<xs:element name="Num" msprop:Generator_ColumnVarNameInTable="columnNum" msprop:Generator_ColumnPropNameInRow="Num" msprop:Generator_ColumnPropNameInTable="NumColumn" msprop:Generator_UserColumnName="Num" type="xs:int" />
|
||||
<xs:element name="ValueCurr" msprop:Generator_ColumnVarNameInTable="columnValueCurr" msprop:Generator_ColumnPropNameInRow="ValueCurr" msprop:Generator_ColumnPropNameInTable="ValueCurrColumn" msprop:Generator_UserColumnName="ValueCurr">
|
||||
<xs:element name="ValueRead" msprop:Generator_ColumnVarNameInTable="columnValueRead" msprop:Generator_ColumnPropNameInRow="ValueRead" msprop:Generator_ColumnPropNameInTable="ValueReadColumn" msprop:Generator_UserColumnName="ValueRead">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="250" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="ExtCode" msprop:Generator_ColumnVarNameInTable="columnExtCode" msprop:Generator_ColumnPropNameInRow="ExtCode" msprop:Generator_ColumnPropNameInTable="ExtCodeColumn" msprop:Generator_UserColumnName="ExtCode">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="2147483647" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="CheckOk" msprop:Generator_ColumnVarNameInTable="columnCheckOk" msprop:Generator_ColumnPropNameInRow="CheckOk" msprop:Generator_ColumnPropNameInTable="CheckOkColumn" msprop:Generator_UserColumnName="CheckOk" type="xs:boolean" />
|
||||
<xs:element name="DtMod" msprop:Generator_ColumnVarNameInTable="columnDtMod" msprop:Generator_ColumnPropNameInRow="DtMod" msprop:Generator_ColumnPropNameInTable="DtModColumn" msprop:Generator_UserColumnName="DtMod">
|
||||
<xs:simpleType>
|
||||
@@ -630,7 +689,7 @@ SELECT CodTempl, Label, Oggetto, Num, CodGruppo, CodTipo, Value, CheckType, Requ
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="ST_AnagGruppi" msprop:Generator_TableClassName="ST_AnagGruppiDataTable" msprop:Generator_TableVarName="tableST_AnagGruppi" msprop:Generator_RowChangedName="ST_AnagGruppiRowChanged" msprop:Generator_TablePropName="ST_AnagGruppi" msprop:Generator_RowDeletingName="ST_AnagGruppiRowDeleting" msprop:Generator_RowChangingName="ST_AnagGruppiRowChanging" msprop:Generator_RowEvHandlerName="ST_AnagGruppiRowChangeEventHandler" msprop:Generator_RowDeletedName="ST_AnagGruppiRowDeleted" msprop:Generator_RowClassName="ST_AnagGruppiRow" msprop:Generator_UserTableName="ST_AnagGruppi" msprop:Generator_RowEvArgName="ST_AnagGruppiRowChangeEvent">
|
||||
<xs:element name="ST_AnagGruppi" msprop:Generator_TableClassName="ST_AnagGruppiDataTable" msprop:Generator_TableVarName="tableST_AnagGruppi" msprop:Generator_TablePropName="ST_AnagGruppi" msprop:Generator_RowDeletingName="ST_AnagGruppiRowDeleting" msprop:Generator_RowChangingName="ST_AnagGruppiRowChanging" msprop:Generator_RowEvHandlerName="ST_AnagGruppiRowChangeEventHandler" msprop:Generator_RowDeletedName="ST_AnagGruppiRowDeleted" msprop:Generator_UserTableName="ST_AnagGruppi" msprop:Generator_RowChangedName="ST_AnagGruppiRowChanged" msprop:Generator_RowEvArgName="ST_AnagGruppiRowChangeEvent" msprop:Generator_RowClassName="ST_AnagGruppiRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="CodGruppo" msprop:Generator_ColumnVarNameInTable="columnCodGruppo" msprop:Generator_ColumnPropNameInRow="CodGruppo" msprop:Generator_ColumnPropNameInTable="CodGruppoColumn" msprop:Generator_UserColumnName="CodGruppo">
|
||||
@@ -651,7 +710,7 @@ SELECT CodTempl, Label, Oggetto, Num, CodGruppo, CodTipo, Value, CheckType, Requ
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="ST_AnagTipi" msprop:Generator_TableClassName="ST_AnagTipiDataTable" msprop:Generator_TableVarName="tableST_AnagTipi" msprop:Generator_RowChangedName="ST_AnagTipiRowChanged" msprop:Generator_TablePropName="ST_AnagTipi" msprop:Generator_RowDeletingName="ST_AnagTipiRowDeleting" msprop:Generator_RowChangingName="ST_AnagTipiRowChanging" msprop:Generator_RowEvHandlerName="ST_AnagTipiRowChangeEventHandler" msprop:Generator_RowDeletedName="ST_AnagTipiRowDeleted" msprop:Generator_RowClassName="ST_AnagTipiRow" msprop:Generator_UserTableName="ST_AnagTipi" msprop:Generator_RowEvArgName="ST_AnagTipiRowChangeEvent">
|
||||
<xs:element name="ST_AnagTipi" msprop:Generator_TableClassName="ST_AnagTipiDataTable" msprop:Generator_TableVarName="tableST_AnagTipi" msprop:Generator_TablePropName="ST_AnagTipi" msprop:Generator_RowDeletingName="ST_AnagTipiRowDeleting" msprop:Generator_RowChangingName="ST_AnagTipiRowChanging" msprop:Generator_RowEvHandlerName="ST_AnagTipiRowChangeEventHandler" msprop:Generator_RowDeletedName="ST_AnagTipiRowDeleted" msprop:Generator_UserTableName="ST_AnagTipi" msprop:Generator_RowChangedName="ST_AnagTipiRowChanged" msprop:Generator_RowEvArgName="ST_AnagTipiRowChangeEvent" msprop:Generator_RowClassName="ST_AnagTipiRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="CodTipo" msprop:Generator_ColumnVarNameInTable="columnCodTipo" msprop:Generator_ColumnPropNameInRow="CodTipo" msprop:Generator_ColumnPropNameInTable="CodTipoColumn" msprop:Generator_UserColumnName="CodTipo">
|
||||
@@ -671,7 +730,7 @@ SELECT CodTempl, Label, Oggetto, Num, CodGruppo, CodTipo, Value, CheckType, Requ
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="ST_Template" msprop:Generator_TableClassName="ST_TemplateDataTable" msprop:Generator_TableVarName="tableST_Template" msprop:Generator_RowChangedName="ST_TemplateRowChanged" msprop:Generator_TablePropName="ST_Template" msprop:Generator_RowDeletingName="ST_TemplateRowDeleting" msprop:Generator_RowChangingName="ST_TemplateRowChanging" msprop:Generator_RowEvHandlerName="ST_TemplateRowChangeEventHandler" msprop:Generator_RowDeletedName="ST_TemplateRowDeleted" msprop:Generator_RowClassName="ST_TemplateRow" msprop:Generator_UserTableName="ST_Template" msprop:Generator_RowEvArgName="ST_TemplateRowChangeEvent">
|
||||
<xs:element name="ST_Template" msprop:Generator_TableClassName="ST_TemplateDataTable" msprop:Generator_TableVarName="tableST_Template" msprop:Generator_TablePropName="ST_Template" msprop:Generator_RowDeletingName="ST_TemplateRowDeleting" msprop:Generator_RowChangingName="ST_TemplateRowChanging" msprop:Generator_RowEvHandlerName="ST_TemplateRowChangeEventHandler" msprop:Generator_RowDeletedName="ST_TemplateRowDeleted" msprop:Generator_UserTableName="ST_Template" msprop:Generator_RowChangedName="ST_TemplateRowChanged" msprop:Generator_RowEvArgName="ST_TemplateRowChangeEvent" msprop:Generator_RowClassName="ST_TemplateRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="CodTempl" msprop:Generator_ColumnVarNameInTable="columnCodTempl" msprop:Generator_ColumnPropNameInRow="CodTempl" msprop:Generator_ColumnPropNameInTable="CodTemplColumn" msprop:Generator_UserColumnName="CodTempl">
|
||||
@@ -691,7 +750,7 @@ SELECT CodTempl, Label, Oggetto, Num, CodGruppo, CodTipo, Value, CheckType, Requ
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="ST_TemplateRows" msprop:Generator_TableClassName="ST_TemplateRowsDataTable" msprop:Generator_TableVarName="tableST_TemplateRows" msprop:Generator_RowChangedName="ST_TemplateRowsRowChanged" msprop:Generator_TablePropName="ST_TemplateRows" msprop:Generator_RowDeletingName="ST_TemplateRowsRowDeleting" msprop:Generator_RowChangingName="ST_TemplateRowsRowChanging" msprop:Generator_RowEvHandlerName="ST_TemplateRowsRowChangeEventHandler" msprop:Generator_RowDeletedName="ST_TemplateRowsRowDeleted" msprop:Generator_RowClassName="ST_TemplateRowsRow" msprop:Generator_UserTableName="ST_TemplateRows" msprop:Generator_RowEvArgName="ST_TemplateRowsRowChangeEvent">
|
||||
<xs:element name="ST_TemplateRows" msprop:Generator_TableClassName="ST_TemplateRowsDataTable" msprop:Generator_TableVarName="tableST_TemplateRows" msprop:Generator_TablePropName="ST_TemplateRows" msprop:Generator_RowDeletingName="ST_TemplateRowsRowDeleting" msprop:Generator_RowChangingName="ST_TemplateRowsRowChanging" msprop:Generator_RowEvHandlerName="ST_TemplateRowsRowChangeEventHandler" msprop:Generator_RowDeletedName="ST_TemplateRowsRowDeleted" msprop:Generator_UserTableName="ST_TemplateRows" msprop:Generator_RowChangedName="ST_TemplateRowsRowChanged" msprop:Generator_RowEvArgName="ST_TemplateRowsRowChangeEvent" msprop:Generator_RowClassName="ST_TemplateRowsRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="CodTempl" msprop:Generator_ColumnVarNameInTable="columnCodTempl" msprop:Generator_ColumnPropNameInRow="CodTempl" msprop:Generator_ColumnPropNameInTable="CodTemplColumn" msprop:Generator_UserColumnName="CodTempl">
|
||||
@@ -763,10 +822,11 @@ SELECT CodTempl, Label, Oggetto, Num, CodGruppo, CodTipo, Value, CheckType, Requ
|
||||
</xs:unique>
|
||||
<xs:unique name="ST_Check_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
|
||||
<xs:selector xpath=".//mstns:ST_Check" />
|
||||
<xs:field xpath="mstns:DtEvent" />
|
||||
<xs:field xpath="mstns:IdxODL" />
|
||||
<xs:field xpath="mstns:IdxST" />
|
||||
<xs:field xpath="mstns:Num" />
|
||||
<xs:field xpath="mstns:Oggetto" />
|
||||
<xs:field xpath="mstns:IdxST" />
|
||||
<xs:field xpath="mstns:IdxODL" />
|
||||
<xs:field xpath="mstns:DtEvent" />
|
||||
</xs:unique>
|
||||
<xs:unique name="ST_AnagGruppi_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
|
||||
<xs:selector xpath=".//mstns:ST_AnagGruppi" />
|
||||
@@ -789,11 +849,11 @@ SELECT CodTempl, Label, Oggetto, Num, CodGruppo, CodTipo, Value, CheckType, Requ
|
||||
</xs:element>
|
||||
<xs:annotation>
|
||||
<xs:appinfo>
|
||||
<msdata:Relationship name="FK_ST_ActualRows_ST_Actual" msdata:parent="ST_Actual" msdata:child="ST_ActualRow" msdata:parentkey="IdxST" msdata:childkey="IdxST" msprop:Generator_UserChildTable="ST_ActualRow" msprop:Generator_ChildPropName="GetST_ActualRowRows" msprop:Generator_UserRelationName="FK_ST_ActualRows_ST_Actual" msprop:Generator_RelationVarName="relationFK_ST_ActualRows_ST_Actual" msprop:Generator_UserParentTable="ST_Actual" msprop:Generator_ParentPropName="ST_ActualRow" />
|
||||
<msdata:Relationship name="FK_ST_Actual_ST_Template" msdata:parent="ST_Template" msdata:child="ST_Actual" msdata:parentkey="CodTempl" msdata:childkey="CodTempl" msprop:Generator_UserChildTable="ST_Actual" msprop:Generator_ChildPropName="GetST_ActualRows" msprop:Generator_UserRelationName="FK_ST_Actual_ST_Template" msprop:Generator_ParentPropName="ST_TemplateRow" msprop:Generator_RelationVarName="relationFK_ST_Actual_ST_Template" msprop:Generator_UserParentTable="ST_Template" />
|
||||
<msdata:Relationship name="FK_ST_TemplateRows_ST_AnagGruppi" msdata:parent="ST_AnagGruppi" msdata:child="ST_TemplateRows" msdata:parentkey="CodGruppo" msdata:childkey="CodGruppo" msprop:Generator_UserChildTable="ST_TemplateRows" msprop:Generator_ChildPropName="GetST_TemplateRowsRows" msprop:Generator_UserRelationName="FK_ST_TemplateRows_ST_AnagGruppi" msprop:Generator_RelationVarName="relationFK_ST_TemplateRows_ST_AnagGruppi" msprop:Generator_UserParentTable="ST_AnagGruppi" msprop:Generator_ParentPropName="ST_AnagGruppiRow" />
|
||||
<msdata:Relationship name="FK_ST_TemplateRows_ST_AnagTipi1" msdata:parent="ST_AnagTipi" msdata:child="ST_TemplateRows" msdata:parentkey="CodTipo" msdata:childkey="CodTipo" msprop:Generator_UserChildTable="ST_TemplateRows" msprop:Generator_ChildPropName="GetST_TemplateRowsRows" msprop:Generator_UserRelationName="FK_ST_TemplateRows_ST_AnagTipi1" msprop:Generator_RelationVarName="relationFK_ST_TemplateRows_ST_AnagTipi1" msprop:Generator_UserParentTable="ST_AnagTipi" msprop:Generator_ParentPropName="ST_AnagTipiRow" />
|
||||
<msdata:Relationship name="FK_ST_TemplateRows_ST_Template" msdata:parent="ST_Template" msdata:child="ST_TemplateRows" msdata:parentkey="CodTempl" msdata:childkey="CodTempl" msprop:Generator_UserChildTable="ST_TemplateRows" msprop:Generator_ChildPropName="GetST_TemplateRowsRows" msprop:Generator_UserRelationName="FK_ST_TemplateRows_ST_Template" msprop:Generator_RelationVarName="relationFK_ST_TemplateRows_ST_Template" msprop:Generator_UserParentTable="ST_Template" msprop:Generator_ParentPropName="ST_TemplateRow" />
|
||||
<msdata:Relationship name="FK_ST_ActualRows_ST_Actual" msdata:parent="ST_Actual" msdata:child="ST_ActualRow" msdata:parentkey="IdxST" msdata:childkey="IdxST" msprop:Generator_UserChildTable="ST_ActualRow" msprop:Generator_ChildPropName="GetST_ActualRowRows" msprop:Generator_UserRelationName="FK_ST_ActualRows_ST_Actual" msprop:Generator_ParentPropName="ST_ActualRow" msprop:Generator_RelationVarName="relationFK_ST_ActualRows_ST_Actual" msprop:Generator_UserParentTable="ST_Actual" />
|
||||
<msdata:Relationship name="FK_ST_Actual_ST_Template" msdata:parent="ST_Template" msdata:child="ST_Actual" msdata:parentkey="CodTempl" msdata:childkey="CodTempl" msprop:Generator_UserChildTable="ST_Actual" msprop:Generator_ChildPropName="GetST_ActualRows" msprop:Generator_UserRelationName="FK_ST_Actual_ST_Template" msprop:Generator_RelationVarName="relationFK_ST_Actual_ST_Template" msprop:Generator_UserParentTable="ST_Template" msprop:Generator_ParentPropName="ST_TemplateRow" />
|
||||
<msdata:Relationship name="FK_ST_TemplateRows_ST_AnagGruppi" msdata:parent="ST_AnagGruppi" msdata:child="ST_TemplateRows" msdata:parentkey="CodGruppo" msdata:childkey="CodGruppo" msprop:Generator_UserChildTable="ST_TemplateRows" msprop:Generator_ChildPropName="GetST_TemplateRowsRows" msprop:Generator_UserRelationName="FK_ST_TemplateRows_ST_AnagGruppi" msprop:Generator_ParentPropName="ST_AnagGruppiRow" msprop:Generator_RelationVarName="relationFK_ST_TemplateRows_ST_AnagGruppi" msprop:Generator_UserParentTable="ST_AnagGruppi" />
|
||||
<msdata:Relationship name="FK_ST_TemplateRows_ST_AnagTipi1" msdata:parent="ST_AnagTipi" msdata:child="ST_TemplateRows" msdata:parentkey="CodTipo" msdata:childkey="CodTipo" msprop:Generator_UserChildTable="ST_TemplateRows" msprop:Generator_ChildPropName="GetST_TemplateRowsRows" msprop:Generator_UserRelationName="FK_ST_TemplateRows_ST_AnagTipi1" msprop:Generator_ParentPropName="ST_AnagTipiRow" msprop:Generator_RelationVarName="relationFK_ST_TemplateRows_ST_AnagTipi1" msprop:Generator_UserParentTable="ST_AnagTipi" />
|
||||
<msdata:Relationship name="FK_ST_TemplateRows_ST_Template" msdata:parent="ST_Template" msdata:child="ST_TemplateRows" msdata:parentkey="CodTempl" msdata:childkey="CodTempl" msprop:Generator_UserChildTable="ST_TemplateRows" msprop:Generator_ChildPropName="GetST_TemplateRowsRows" msprop:Generator_UserRelationName="FK_ST_TemplateRows_ST_Template" msprop:Generator_ParentPropName="ST_TemplateRow" msprop:Generator_RelationVarName="relationFK_ST_TemplateRows_ST_Template" msprop:Generator_UserParentTable="ST_Template" />
|
||||
</xs:appinfo>
|
||||
</xs:annotation>
|
||||
</xs:schema>
|
||||
+11
-11
@@ -4,15 +4,15 @@
|
||||
Changes to this file may cause incorrect behavior and will be lost if
|
||||
the code is regenerated.
|
||||
</autogenerated>-->
|
||||
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="164" ViewPortY="0" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="164" ViewPortY="58" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||
<Shapes>
|
||||
<Shape ID="DesignTable:ST_Actual" ZOrder="12" X="411" Y="517" Height="172" Width="201" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:ST_ActualRow" ZOrder="1" X="378" Y="789" Height="305" Width="232" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="235" />
|
||||
<Shape ID="DesignTable:ST_Check" ZOrder="10" X="776" Y="782" Height="229" Width="198" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
|
||||
<Shape ID="DesignTable:ST_AnagGruppi" ZOrder="9" X="1140" Y="195" Height="134" Width="234" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:ST_AnagTipi" ZOrder="8" X="834" Y="220" Height="115" Width="216" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:ST_Template" ZOrder="2" X="727" Y="515" Height="115" Width="218" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:ST_TemplateRows" ZOrder="6" X="999" Y="426" Height="267" Width="249" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="216" />
|
||||
<Shape ID="DesignTable:ST_ActualRow" ZOrder="1" X="378" Y="789" Height="343" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:ST_Check" ZOrder="2" X="776" Y="782" Height="305" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="216" />
|
||||
<Shape ID="DesignTable:ST_AnagGruppi" ZOrder="10" X="1140" Y="195" Height="134" Width="234" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:ST_AnagTipi" ZOrder="9" X="834" Y="220" Height="115" Width="216" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:ST_Template" ZOrder="3" X="727" Y="515" Height="115" Width="218" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:ST_TemplateRows" ZOrder="7" X="999" Y="426" Height="267" Width="249" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="216" />
|
||||
</Shapes>
|
||||
<Connectors>
|
||||
<Connector ID="DesignRelation:FK_ST_ActualRows_ST_Actual" ZOrder="11" LineWidth="11">
|
||||
@@ -27,7 +27,7 @@
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_ST_Actual_ST_Template" ZOrder="7" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_ST_Actual_ST_Template" ZOrder="8" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>727</X>
|
||||
@@ -39,7 +39,7 @@
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_ST_TemplateRows_ST_AnagGruppi" ZOrder="5" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_ST_TemplateRows_ST_AnagGruppi" ZOrder="6" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>1196</X>
|
||||
@@ -51,7 +51,7 @@
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_ST_TemplateRows_ST_AnagTipi1" ZOrder="4" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_ST_TemplateRows_ST_AnagTipi1" ZOrder="5" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>991</X>
|
||||
@@ -67,7 +67,7 @@
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_ST_TemplateRows_ST_Template" ZOrder="3" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_ST_TemplateRows_ST_Template" ZOrder="4" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>945</X>
|
||||
|
||||
+68
-78
@@ -23,12 +23,10 @@ namespace MapoDb
|
||||
/// </summary>
|
||||
public MapoDb MapoDbObj = new MapoDb();
|
||||
|
||||
// Table adapter x DS_Applicazione
|
||||
// Table adapter vari...
|
||||
public DS_applicazioneTableAdapters.AnagraficaGruppiTableAdapter taAG;
|
||||
|
||||
// Table adapter x DS_ProdTempi
|
||||
public DS_ProdTempiTableAdapters.AnagArticoliTableAdapter taAnagArt;
|
||||
|
||||
public DS_applicazioneTableAdapters.AnagraficaEventiTableAdapter taAnagEventi;
|
||||
public DS_applicazioneTableAdapters.AnagraficaStatiTableAdapter taAnagStati;
|
||||
public DS_IntServTableAdapters.ProduzioneAs400TableAdapter taAs400;
|
||||
@@ -43,16 +41,10 @@ namespace MapoDb
|
||||
public DS_applicazioneTableAdapters.EventListTableAdapter taEventi;
|
||||
public DS_applicazioneTableAdapters.FluxLogTableAdapter taFL;
|
||||
public DS_IntServTableAdapters.TransitoDatiTableAdapter taIS_TrDati;
|
||||
|
||||
// tablet adapter x IS
|
||||
public DS_IntServTableAdapters.IstanzeKITTableAdapter taIstK;
|
||||
|
||||
public DS_applicazioneTableAdapters.KeepAliveTableAdapter taKeepAlive;
|
||||
public DS_applicazioneTableAdapters.MacchineTableAdapter taMacchine;
|
||||
|
||||
// table adapter x planner
|
||||
public DS_PlanTableAdapters.MachineParamsTableAdapter taMacParams;
|
||||
|
||||
public DS_ProdTempiTableAdapters.MappaStatoExplTableAdapter taMSE;
|
||||
public DS_ProdTempiTableAdapters.ODLTableAdapter taODL;
|
||||
public DS_applicazioneTableAdapters.AnagraficaOperatoriTableAdapter taOp;
|
||||
@@ -67,16 +59,15 @@ namespace MapoDb
|
||||
public DS_ProdTempiTableAdapters.RegistroControlliTableAdapter taRC;
|
||||
public DS_applicazioneTableAdapters.RemoteRebootLogTableAdapter taRemReb;
|
||||
public DS_ProdTempiTableAdapters.RegistroScartiTableAdapter taRS;
|
||||
|
||||
// table adapter x utility
|
||||
public DS_UtilityTableAdapters.v_selArticoliTableAdapter taSelArt;
|
||||
|
||||
public DS_UtilityTableAdapters.v_selMacchineTableAdapter taSelMacc;
|
||||
public DS_UtilityTableAdapters.v_selODLTableAdapter taSelOdlFree;
|
||||
public DS_applicazioneTableAdapters.SignalLogTableAdapter taSigLog;
|
||||
public DS_SheetTechTableAdapters.ST_ActualRowTableAdapter taSTAR;
|
||||
public DS_applicazioneTableAdapters.DiarioDiBordoTableAdapter taStati;
|
||||
public DS_applicazioneTableAdapters.StatoMacchineTableAdapter taStatoMacchine;
|
||||
public DS_ProdTempiTableAdapters.StatoProdTableAdapter taStatoProd;
|
||||
public DS_SheetTechTableAdapters.ST_CheckTableAdapter taSTChk;
|
||||
public DS_ProdTempiTableAdapters.TempiCicloRilevatiTableAdapter taTempiCicloRilevati;
|
||||
public DS_ProdTempiTableAdapters.stp_TempoByIdxMaccPeriodClassTableAdapter taTempoByClass;
|
||||
public DS_IntServTableAdapters.TKS_SearchTableAdapter taTKS;
|
||||
@@ -483,54 +474,53 @@ namespace MapoDb
|
||||
{
|
||||
// istanzio oggetto
|
||||
taAG = new DS_applicazioneTableAdapters.AnagraficaGruppiTableAdapter();
|
||||
taMacchine = new DS_applicazioneTableAdapters.MacchineTableAdapter();
|
||||
taStatoMacchine = new DS_applicazioneTableAdapters.StatoMacchineTableAdapter();
|
||||
taAnagArt = new DS_ProdTempiTableAdapters.AnagArticoliTableAdapter();
|
||||
taAnagEventi = new DS_applicazioneTableAdapters.AnagraficaEventiTableAdapter();
|
||||
taAnagStati = new DS_applicazioneTableAdapters.AnagraficaStatiTableAdapter();
|
||||
taKeepAlive = new DS_applicazioneTableAdapters.KeepAliveTableAdapter();
|
||||
taStati = new DS_applicazioneTableAdapters.DiarioDiBordoTableAdapter();
|
||||
taEventi = new DS_applicazioneTableAdapters.EventListTableAdapter();
|
||||
taOp = new DS_applicazioneTableAdapters.AnagraficaOperatoriTableAdapter();
|
||||
taOp2ins = new DS_applicazioneTableAdapters.AnagraficaOperatori2insTableAdapter();
|
||||
taTranIngr = new DS_applicazioneTableAdapters.TransizioneIngressiTableAdapter();
|
||||
taRemReb = new DS_applicazioneTableAdapters.RemoteRebootLogTableAdapter();
|
||||
taSigLog = new DS_applicazioneTableAdapters.SignalLogTableAdapter();
|
||||
taFL = new DS_applicazioneTableAdapters.FluxLogTableAdapter();
|
||||
taAnagArt = new DS_ProdTempiTableAdapters.AnagArticoliTableAdapter();
|
||||
taODL = new DS_ProdTempiTableAdapters.ODLTableAdapter();
|
||||
taAs400 = new DS_IntServTableAdapters.ProduzioneAs400TableAdapter();
|
||||
taCalFF = new DS_ProdTempiTableAdapters.CalendFesteFerieTableAdapter();
|
||||
taComm = new DS_UtilityTableAdapters.CommentiTableAdapter();
|
||||
taDatiConf = new DS_ProdTempiTableAdapters.DatiConfermatiTableAdapter();
|
||||
taDatiMacchine = new DS_ProdTempiTableAdapters.DatiMacchineTableAdapter();
|
||||
taDatiProd = new DS_ProdTempiTableAdapters.DatiProduzioneTableAdapter();
|
||||
taDatiProdMacch = new DS_ProdTempiTableAdapters.stp_repDonati_getDatiProdMacchinaTableAdapter();
|
||||
taDatiProdMacchPer = new DS_ProdTempiTableAdapters.stp_repDonati_getDatiProdMacchinaPeriodoTableAdapter();
|
||||
taDatiStatoMacch = new DS_ProdTempiTableAdapters.stp_repDonati_getLastStatoDurataMacchinaTableAdapter();
|
||||
taPostazioni = new DS_ProdTempiTableAdapters.PostazioniMapoTableAdapter();
|
||||
taTurniMacc = new DS_ProdTempiTableAdapters.TurniMacchinaTableAdapter();
|
||||
taPzProd2conf = new DS_ProdTempiTableAdapters.stp_PzProd_getByMacchinaTableAdapter();
|
||||
taTempiCicloRilevati = new DS_ProdTempiTableAdapters.TempiCicloRilevatiTableAdapter();
|
||||
taDatiProd = new DS_ProdTempiTableAdapters.DatiProduzioneTableAdapter();
|
||||
taTempoByClass = new DS_ProdTempiTableAdapters.stp_TempoByIdxMaccPeriodClassTableAdapter();
|
||||
taCalFF = new DS_ProdTempiTableAdapters.CalendFesteFerieTableAdapter();
|
||||
taEventi = new DS_applicazioneTableAdapters.EventListTableAdapter();
|
||||
taFL = new DS_applicazioneTableAdapters.FluxLogTableAdapter();
|
||||
taIS_TrDati = new DS_IntServTableAdapters.TransitoDatiTableAdapter();
|
||||
taIstK = new DS_IntServTableAdapters.IstanzeKITTableAdapter();
|
||||
taKeepAlive = new DS_applicazioneTableAdapters.KeepAliveTableAdapter();
|
||||
taMacchine = new DS_applicazioneTableAdapters.MacchineTableAdapter();
|
||||
taMacParams = new DS_PlanTableAdapters.MachineParamsTableAdapter();
|
||||
taMSE = new DS_ProdTempiTableAdapters.MappaStatoExplTableAdapter();
|
||||
taODL = new DS_ProdTempiTableAdapters.ODLTableAdapter();
|
||||
taOp = new DS_applicazioneTableAdapters.AnagraficaOperatoriTableAdapter();
|
||||
taOp2ins = new DS_applicazioneTableAdapters.AnagraficaOperatori2insTableAdapter();
|
||||
taPlanCalDisp = new DS_PlanTableAdapters.CalDispTableAdapter();
|
||||
taPlanCalStop = new DS_PlanTableAdapters.CalStopTableAdapter();
|
||||
taPlanRichieste = new DS_PlanTableAdapters.RichiesteTableAdapter();
|
||||
taPODL = new DS_ProdTempiTableAdapters.PromesseODLTableAdapter();
|
||||
taPostazioni = new DS_ProdTempiTableAdapters.PostazioniMapoTableAdapter();
|
||||
taPromOut = new DS_PlanTableAdapters.PromesseOUTTableAdapter();
|
||||
taPzProd2conf = new DS_ProdTempiTableAdapters.stp_PzProd_getByMacchinaTableAdapter();
|
||||
taRC = new DS_ProdTempiTableAdapters.RegistroControlliTableAdapter();
|
||||
taRemReb = new DS_applicazioneTableAdapters.RemoteRebootLogTableAdapter();
|
||||
taRS = new DS_ProdTempiTableAdapters.RegistroScartiTableAdapter();
|
||||
taStatoProd = new DS_ProdTempiTableAdapters.StatoProdTableAdapter();
|
||||
|
||||
taSelArt = new DS_UtilityTableAdapters.v_selArticoliTableAdapter();
|
||||
taSelMacc = new DS_UtilityTableAdapters.v_selMacchineTableAdapter();
|
||||
taSelOdlFree = new DS_UtilityTableAdapters.v_selODLTableAdapter();
|
||||
taComm = new DS_UtilityTableAdapters.CommentiTableAdapter();
|
||||
|
||||
taMacParams = new DS_PlanTableAdapters.MachineParamsTableAdapter();
|
||||
taPlanCalStop = new DS_PlanTableAdapters.CalStopTableAdapter();
|
||||
taPlanCalDisp = new DS_PlanTableAdapters.CalDispTableAdapter();
|
||||
taPlanRichieste = new DS_PlanTableAdapters.RichiesteTableAdapter();
|
||||
taPromOut = new DS_PlanTableAdapters.PromesseOUTTableAdapter();
|
||||
|
||||
taIstK = new DS_IntServTableAdapters.IstanzeKITTableAdapter();
|
||||
taAs400 = new DS_IntServTableAdapters.ProduzioneAs400TableAdapter();
|
||||
taSigLog = new DS_applicazioneTableAdapters.SignalLogTableAdapter();
|
||||
taSTAR = new DS_SheetTechTableAdapters.ST_ActualRowTableAdapter();
|
||||
taStati = new DS_applicazioneTableAdapters.DiarioDiBordoTableAdapter();
|
||||
taStatoMacchine = new DS_applicazioneTableAdapters.StatoMacchineTableAdapter();
|
||||
taStatoProd = new DS_ProdTempiTableAdapters.StatoProdTableAdapter();
|
||||
taSTChk = new DS_SheetTechTableAdapters.ST_CheckTableAdapter();
|
||||
taTempiCicloRilevati = new DS_ProdTempiTableAdapters.TempiCicloRilevatiTableAdapter();
|
||||
taTempoByClass = new DS_ProdTempiTableAdapters.stp_TempoByIdxMaccPeriodClassTableAdapter();
|
||||
taTKS = new DS_IntServTableAdapters.TKS_SearchTableAdapter();
|
||||
taIS_TrDati = new DS_IntServTableAdapters.TransitoDatiTableAdapter();
|
||||
taTranIngr = new DS_applicazioneTableAdapters.TransizioneIngressiTableAdapter();
|
||||
taTurniMacc = new DS_ProdTempiTableAdapters.TurniMacchinaTableAdapter();
|
||||
taWKS = new DS_IntServTableAdapters.WipSetupKitTableAdapter();
|
||||
}
|
||||
|
||||
@@ -544,54 +534,54 @@ namespace MapoDb
|
||||
string connectionStringES3 = memLayer.ML.confReadString("MoonProConnectionStringES3");
|
||||
// connections del db
|
||||
taAG.Connection.ConnectionString = connectionString;
|
||||
taMacchine.Connection.ConnectionString = connectionString;
|
||||
taStatoMacchine.Connection.ConnectionString = connectionString;
|
||||
taAnagArt.Connection.ConnectionString = connectionString;
|
||||
taAnagEventi.Connection.ConnectionString = connectionString;
|
||||
taAnagStati.Connection.ConnectionString = connectionString;
|
||||
taKeepAlive.Connection.ConnectionString = connectionString;
|
||||
taStati.Connection.ConnectionString = connectionString;
|
||||
taEventi.Connection.ConnectionString = connectionString;
|
||||
taOp.Connection.ConnectionString = connectionString;
|
||||
taOp2ins.Connection.ConnectionString = connectionString;
|
||||
taTranIngr.Connection.ConnectionString = connectionString;
|
||||
taRemReb.Connection.ConnectionString = connectionString;
|
||||
taSigLog.Connection.ConnectionString = connectionString;
|
||||
taFL.Connection.ConnectionString = connectionString;
|
||||
taAnagArt.Connection.ConnectionString = connectionString;
|
||||
taODL.Connection.ConnectionString = connectionString;
|
||||
taAs400.Connection.ConnectionString = connectionStringIS;
|
||||
taCalFF.Connection.ConnectionString = connectionString;
|
||||
taComm.Connection.ConnectionString = connectionString;
|
||||
taDatiConf.Connection.ConnectionString = connectionString;
|
||||
taDatiMacchine.Connection.ConnectionString = connectionString;
|
||||
taDatiProd.Connection.ConnectionString = connectionString;
|
||||
taDatiProdMacch.Connection.ConnectionString = connectionString;
|
||||
taDatiProdMacchPer.Connection.ConnectionString = connectionString;
|
||||
taDatiStatoMacch.Connection.ConnectionString = connectionString;
|
||||
taPostazioni.Connection.ConnectionString = connectionString;
|
||||
taTurniMacc.Connection.ConnectionString = connectionString;
|
||||
taPzProd2conf.Connection.ConnectionString = connectionString;
|
||||
taTempiCicloRilevati.Connection.ConnectionString = connectionString;
|
||||
taDatiProd.Connection.ConnectionString = connectionString;
|
||||
taTempoByClass.Connection.ConnectionString = connectionString;
|
||||
taCalFF.Connection.ConnectionString = connectionString;
|
||||
taEventi.Connection.ConnectionString = connectionString;
|
||||
taFL.Connection.ConnectionString = connectionString;
|
||||
taIS_TrDati.Connection.ConnectionString = connectionStringIS;
|
||||
taIstK.Connection.ConnectionString = connectionStringIS;
|
||||
taKeepAlive.Connection.ConnectionString = connectionString;
|
||||
taMacchine.Connection.ConnectionString = connectionString;
|
||||
taMacParams.Connection.ConnectionString = connectionStringES3;
|
||||
taMSE.Connection.ConnectionString = connectionString;
|
||||
taODL.Connection.ConnectionString = connectionString;
|
||||
taOp.Connection.ConnectionString = connectionString;
|
||||
taOp2ins.Connection.ConnectionString = connectionString;
|
||||
taPlanCalDisp.Connection.ConnectionString = connectionStringES3;
|
||||
taPlanCalStop.Connection.ConnectionString = connectionStringES3;
|
||||
taPlanRichieste.Connection.ConnectionString = connectionStringES3;
|
||||
taPODL.Connection.ConnectionString = connectionString;
|
||||
taPostazioni.Connection.ConnectionString = connectionString;
|
||||
taPromOut.Connection.ConnectionString = connectionStringES3;
|
||||
taPzProd2conf.Connection.ConnectionString = connectionString;
|
||||
taRC.Connection.ConnectionString = connectionString;
|
||||
taRemReb.Connection.ConnectionString = connectionString;
|
||||
taRS.Connection.ConnectionString = connectionString;
|
||||
taStatoProd.Connection.ConnectionString = connectionString;
|
||||
taSelArt.Connection.ConnectionString = connectionString;
|
||||
taSelMacc.Connection.ConnectionString = connectionString;
|
||||
taSelOdlFree.Connection.ConnectionString = connectionString;
|
||||
taComm.Connection.ConnectionString = connectionString;
|
||||
// area planner
|
||||
taMacParams.Connection.ConnectionString = connectionStringES3;
|
||||
taPlanCalStop.Connection.ConnectionString = connectionStringES3;
|
||||
taPlanCalDisp.Connection.ConnectionString = connectionStringES3;
|
||||
taPlanRichieste.Connection.ConnectionString = connectionStringES3;
|
||||
taPromOut.Connection.ConnectionString = connectionStringES3;
|
||||
// area IS
|
||||
taIS_TrDati.Connection.ConnectionString = connectionStringIS;
|
||||
taIstK.Connection.ConnectionString = connectionStringIS;
|
||||
taAs400.Connection.ConnectionString = connectionStringIS;
|
||||
taWKS.Connection.ConnectionString = connectionStringIS;
|
||||
taSigLog.Connection.ConnectionString = connectionString;
|
||||
taSTAR.Connection.ConnectionString = connectionString;
|
||||
taStati.Connection.ConnectionString = connectionString;
|
||||
taStatoMacchine.Connection.ConnectionString = connectionString;
|
||||
taStatoProd.Connection.ConnectionString = connectionString;
|
||||
taSTChk.Connection.ConnectionString = connectionString;
|
||||
taTempiCicloRilevati.Connection.ConnectionString = connectionString;
|
||||
taTempoByClass.Connection.ConnectionString = connectionString;
|
||||
taTKS.Connection.ConnectionString = connectionStringIS;
|
||||
taTranIngr.Connection.ConnectionString = connectionString;
|
||||
taTurniMacc.Connection.ConnectionString = connectionString;
|
||||
taWKS.Connection.ConnectionString = connectionStringIS;
|
||||
}
|
||||
|
||||
#endregion Protected Methods
|
||||
|
||||
Reference in New Issue
Block a user