Bozza promesseODL
This commit is contained in:
Vendored
+1
-1
@@ -17,7 +17,7 @@ pipeline {
|
||||
|
||||
/* calcolo numero versione... diverso x branch MASTER/DEVELOP */
|
||||
script {
|
||||
withEnv(['NEXT_BUILD_NUMBER=814']) {
|
||||
withEnv(['NEXT_BUILD_NUMBER=815']) {
|
||||
// env.versionNumber = VersionNumber(versionNumberString : '6.0.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true)
|
||||
env.versionNumber = VersionNumber(versionNumberString : '6.0.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true, overrideBuildsAllTime: '${NEXT_BUILD_NUMBER}')
|
||||
env.APP_NAME = 'MAPO'
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_gestPromODL.ascx.cs" Inherits="MoonProAdmin.WebUserControls.mod_gestPromODL" %>
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_gestPromODL.ascx.cs" Inherits="MoonProAdmin.WebUserControls.mod_gestPromODL" %>
|
||||
|
||||
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
|
||||
<%@ Register Src="mod_newOdl.ascx" TagName="mod_newOdl" TagPrefix="uc1" %>
|
||||
|
||||
<div style="text-align: center; margin: auto; vertical-align: middle; width: 100%; background: #DCDCDC;">
|
||||
<div class="filtro_2" style="white-space: nowrap; padding: 2px;">
|
||||
<asp:Button runat="server" ID="btnNewOdl" OnClick="btnNewOdl_Click" Text="Nuovo ODL" />
|
||||
<uc1:mod_newodl id="mod_newOdl1" runat="server" />
|
||||
<asp:Button runat="server" ID="btnNewOdl" OnClick="btnNewOdl_Click" Text="Nuova PROMESSA ODL" />
|
||||
<uc1:mod_newOdl ID="mod_newOdl1" runat="server" />
|
||||
</div>
|
||||
<div id="divEditQta" runat="server" visible="false" class="ctrSelRowStyle" style="white-space: nowrap; padding: 2px;">
|
||||
<div class="row">
|
||||
@@ -48,21 +48,18 @@
|
||||
<asp:Button ID="btnReset" runat="server" Text='<%# traduci("Reset") %>' OnClick="btnReset_Click" CausesValidation="false" Visible="true" />
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<%--<span style="padding-right: 2px;">
|
||||
<asp:ImageButton ID="imgSelect" runat="server" CausesValidation="False" CommandName="Select"
|
||||
ToolTip='<%# traduci("Select") %>' ImageUrl="~/images/view_s.png" />
|
||||
</span>--%>
|
||||
<span style="padding-right: 2px;">
|
||||
<asp:ImageButton ID="ImageButton1" runat="server" CausesValidation="False" CommandName="Select"
|
||||
ToolTip="Modifica num pz" ImageUrl="~/images/edit_s.png" Visible='<%# OdlIsCurrent(Eval("DataInizio"),Eval("DataFine")) %>' />
|
||||
ToolTip="Modifica num pz" ImageUrl="~/images/edit_s.png" Visible='<%# Eval("IdxOdl").ToString()=="" || Eval("IdxOdl").ToString()=="0" %>' />
|
||||
</span>
|
||||
<%--<span style="padding-left: 2px;">
|
||||
<asp:HyperLink runat="server" ID="hlPrintOdl" ToolTip='<%# traduci("getPdfODL") %>'
|
||||
NavigateUrl='<%# formattaUrlOdl(Eval("IdxODL")) %>' ImageUrl="~/images/page_pdf.png" />
|
||||
</span>--%>
|
||||
</ItemTemplate>
|
||||
<ItemStyle HorizontalAlign="Center"></ItemStyle>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="#" SortExpression="IdxPromessa">
|
||||
<ItemTemplate>
|
||||
<asp:Label runat="server" ID="txtIdxPromessa" Text='<%# Eval("IdxPromessa") %>' />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="ODL" SortExpression="IdxOdl">
|
||||
<ItemTemplate>
|
||||
<asp:Label runat="server" ID="txtIdxOdl" Text='<%# Eval("IdxOdl") %>' />
|
||||
@@ -75,7 +72,7 @@
|
||||
<asp:Label runat="server" ID="txtCodArticolo" Text='<%# Eval("CodArticolo") %>' /></b>
|
||||
</div>
|
||||
<div style="float: right; font-size: 0.8em;">
|
||||
<asp:Label runat="server" ID="Label1" Text='<%# Eval("CommessaAs400") %>' />
|
||||
<asp:Label runat="server" ID="Label1" Text='<%# Eval("KeyRichiesta") %>' />
|
||||
</div>
|
||||
<div style="float: none; clear: both;">
|
||||
<asp:Label runat="server" ID="txtDescArticolo" Text='<%# Eval("DescArticolo") %>' />
|
||||
@@ -108,17 +105,16 @@
|
||||
<asp:Label runat="server" ID="txtPzPallet" Text='<%# Eval("PzPallet") %>' />
|
||||
</ItemTemplate>
|
||||
<EditItemTemplate>
|
||||
<%--<asp:Label runat="server" ID="txtPzPallet" Text='<%# Bind("PzPallet") %>' />--%>
|
||||
</EditItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="DataInizio" SortExpression="DataInizio">
|
||||
<asp:TemplateField HeaderText="Data" SortExpression="DueDate">
|
||||
<ItemTemplate>
|
||||
<asp:Label runat="server" ID="txtDataInizio" Text='<%# Eval("DataInizio") %>' />
|
||||
<asp:Label runat="server" ID="txtDataInizio" Text='<%# Eval("DueDate") %>' />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="DataFine" SortExpression="DataFine">
|
||||
<asp:TemplateField HeaderText="Attiva" SortExpression="Attivabile">
|
||||
<ItemTemplate>
|
||||
<asp:Label runat="server" ID="txtDataFine" Text='<%# Eval("DataFine") %>' />
|
||||
<asp:Label runat="server" ID="txtAttivabile" Text='<%# Eval("Attivabile") %>' />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center">
|
||||
@@ -126,8 +122,8 @@
|
||||
<asp:ImageButton ID="imgDelete" runat="server" CausesValidation="False" CommandName="Delete"
|
||||
CommandArgument='<%# Eval("IdxODL") %>' ToolTip='<%# traduci("Delete") %>' Visible='<%# delEnabled(Eval("IdxODL")) %>'
|
||||
ImageUrl="~/images/elimina_m.png" />
|
||||
<cc1:confirmbuttonextender id="ConfirmButtonExtender1" runat="server" confirmtext='<%# traduci("confermaDel")%>'
|
||||
targetcontrolid="imgDelete"></cc1:confirmbuttonextender>
|
||||
<cc1:ConfirmButtonExtender ID="ConfirmButtonExtender1" runat="server" ConfirmText='<%# traduci("confermaDel")%>'
|
||||
TargetControlID="imgDelete"></cc1:ConfirmButtonExtender>
|
||||
</ItemTemplate>
|
||||
<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
|
||||
<ItemStyle HorizontalAlign="Center"></ItemStyle>
|
||||
@@ -136,27 +132,18 @@
|
||||
</asp:GridView>
|
||||
<asp:Label ID="lblNumRec" runat="server" CssClass="txtMini" />
|
||||
<asp:Label ID="lblWarning" runat="server" Visible="false" CssClass="erroreMid" />
|
||||
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="original_{0}"
|
||||
SelectMethod="GetData" TypeName="MapoDb.DS_ProdTempiTableAdapters.ODLTableAdapter"
|
||||
OnInserting="recuperaFooter" FilterExpression="CodArticolo LIKE '%{0}%'" OnInserted="ods_Updated"
|
||||
OnUpdated="ods_Updated" DeleteMethod="DeleteQuery" OnDeleted="ods_Updated" InsertMethod="Insert"
|
||||
UpdateMethod="updateQta">
|
||||
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="MapoDb.DS_ProdTempiTableAdapters.PromesseODLTableAdapter" OnInserting="recuperaFooter" FilterExpression="CodArticolo LIKE '%{0}%' OR DescArticolo LIKE '%{0}%' " OnInserted="ods_Updated" OnUpdated="ods_Updated" DeleteMethod="deleteQuery" OnDeleted="ods_Updated" UpdateMethod="updateQta">
|
||||
<FilterParameters>
|
||||
<asp:SessionParameter DefaultValue="*" Name="ricerca" SessionField="valoreCercato" />
|
||||
</FilterParameters>
|
||||
<DeleteParameters>
|
||||
<asp:Parameter Name="Original_IdxODL" Type="Int32" />
|
||||
<asp:Parameter Name="Original_idxPromessa" Type="Int32" />
|
||||
</DeleteParameters>
|
||||
<UpdateParameters>
|
||||
<asp:Parameter Name="NumPezzi" Type="Int32" />
|
||||
<asp:Parameter Name="Original_IdxODL" Type="Int32" />
|
||||
<asp:Parameter Name="PzPallet" Type="Int32" />
|
||||
<asp:Parameter Name="Original_idxPromessa" Type="Int32" />
|
||||
</UpdateParameters>
|
||||
<InsertParameters>
|
||||
<asp:Parameter Name="CodArticolo" Type="String" />
|
||||
<asp:Parameter Name="IdxMacchina" Type="String" />
|
||||
<asp:Parameter Name="NumPezzi" Type="Int32" />
|
||||
<asp:Parameter Name="TCAssegnato" Type="Decimal" />
|
||||
</InsertParameters>
|
||||
</asp:ObjectDataSource>
|
||||
<div style="text-align: center; margin: auto; vertical-align: middle; padding: 4px 2px; height: 1.5em;">
|
||||
<div style="float: right;">
|
||||
|
||||
@@ -303,38 +303,6 @@ namespace MoonProAdmin.WebUserControls
|
||||
{
|
||||
grView.PageSize = pageSize;
|
||||
}
|
||||
/// <summary>
|
||||
/// verifica se ODL sia current = aperto (iniziato, NON concluso)
|
||||
/// </summary>
|
||||
/// <param name="DataInizio"></param>
|
||||
/// <param name="DataFine"></param>
|
||||
/// <returns></returns>
|
||||
public bool OdlIsCurrent(object DataInizio, object DataFine)
|
||||
{
|
||||
bool answ = false;
|
||||
try
|
||||
{
|
||||
if ((DataInizio.ToString() == "") && (DataFine.ToString() == ""))
|
||||
{
|
||||
answ = true;
|
||||
}
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
if (!answ)
|
||||
{
|
||||
try
|
||||
{
|
||||
if ((Convert.ToDateTime(DataInizio) <= DateTime.Now) && (DataFine.ToString() == ""))
|
||||
{
|
||||
answ = true;
|
||||
}
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
Generated
+1533
File diff suppressed because it is too large
Load Diff
@@ -4,7 +4,7 @@
|
||||
<xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
|
||||
<DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
|
||||
<Connections>
|
||||
<Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="MoonPro_IS_ConnectionString" IsAppSettingsProperty="true" Modifier="Assembly" Name="MoonPro_IS_ConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.MapoDb.Properties.Settings.GlobalReference.Default.MoonPro_IS_ConnectionString" Provider="System.Data.SqlClient" />
|
||||
<Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="MoonPro_IS_ConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="MoonPro_IS_ConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.MapoDb.Properties.Settings.GlobalReference.Default.MoonPro_IS_ConnectionString" Provider="System.Data.SqlClient" />
|
||||
</Connections>
|
||||
<Tables>
|
||||
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="TransitoDatiTableAdapter" GeneratorDataComponentClassName="TransitoDatiTableAdapter" Name="TransitoDati" UserDataComponentName="TransitoDatiTableAdapter">
|
||||
@@ -66,7 +66,7 @@ SELECT IdxRequest, DtRequest, DataType, ValueIN, ValueOUT FROM TransitoDati WHER
|
||||
<Mapping SourceColumn="ValueOUT" DataSetColumn="ValueOUT" />
|
||||
</Mappings>
|
||||
<Sources>
|
||||
<DbSource ConnectionRef="MoonPro_IS_ColComConnectionString (Settings)" DbObjectName="MoonPro_IS_ColCom.dbo.stp_OrdiniByKey" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getOrdini" GetMethodModifier="Public" GetMethodName="getOrdini" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getOrdini" UserSourceName="getOrdini">
|
||||
<DbSource ConnectionRef="MoonPro_IS_ConnectionString (Settings)" DbObjectName="MoonPro_IS_ColCom.dbo.stp_OrdiniByKey" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getOrdini" GetMethodModifier="Public" GetMethodName="getOrdini" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getOrdini" UserSourceName="getOrdini">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_OrdiniByKey</CommandText>
|
||||
@@ -87,7 +87,7 @@ SELECT IdxRequest, DtRequest, DataType, ValueIN, ValueOUT FROM TransitoDati WHER
|
||||
<xs:element name="DS_IntServ" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DS_IntServ" msprop:Generator_UserDSName="DS_IntServ">
|
||||
<xs:complexType>
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="TransitoDati" msprop:Generator_TableClassName="TransitoDatiDataTable" msprop:Generator_TableVarName="tableTransitoDati" msprop:Generator_TablePropName="TransitoDati" msprop:Generator_RowDeletingName="TransitoDatiRowDeleting" msprop:Generator_RowChangingName="TransitoDatiRowChanging" msprop:Generator_RowEvHandlerName="TransitoDatiRowChangeEventHandler" msprop:Generator_RowDeletedName="TransitoDatiRowDeleted" msprop:Generator_UserTableName="TransitoDati" msprop:Generator_RowChangedName="TransitoDatiRowChanged" msprop:Generator_RowEvArgName="TransitoDatiRowChangeEvent" msprop:Generator_RowClassName="TransitoDatiRow">
|
||||
<xs:element name="TransitoDati" msprop:Generator_TableClassName="TransitoDatiDataTable" msprop:Generator_TableVarName="tableTransitoDati" msprop:Generator_RowChangedName="TransitoDatiRowChanged" msprop:Generator_TablePropName="TransitoDati" msprop:Generator_RowDeletingName="TransitoDatiRowDeleting" msprop:Generator_RowChangingName="TransitoDatiRowChanging" msprop:Generator_RowEvHandlerName="TransitoDatiRowChangeEventHandler" msprop:Generator_RowDeletedName="TransitoDatiRowDeleted" msprop:Generator_RowClassName="TransitoDatiRow" msprop:Generator_UserTableName="TransitoDati" msprop:Generator_RowEvArgName="TransitoDatiRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="IdxRequest" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnIdxRequest" msprop:Generator_ColumnPropNameInRow="IdxRequest" msprop:Generator_ColumnPropNameInTable="IdxRequestColumn" msprop:Generator_UserColumnName="IdxRequest" type="xs:int" />
|
||||
|
||||
Generated
+326
-335
@@ -9441,16 +9441,24 @@ namespace MapoDb {
|
||||
|
||||
private global::System.Data.DataColumn columnKeyRichiesta;
|
||||
|
||||
private global::System.Data.DataColumn columnKeyBCode;
|
||||
|
||||
private global::System.Data.DataColumn columnAttivabile;
|
||||
|
||||
private global::System.Data.DataColumn columnIdxODL;
|
||||
|
||||
private global::System.Data.DataColumn columnCodArticolo;
|
||||
|
||||
private global::System.Data.DataColumn columnDescArticolo;
|
||||
|
||||
private global::System.Data.DataColumn columnCodGruppo;
|
||||
|
||||
private global::System.Data.DataColumn columnIdxMacchina;
|
||||
|
||||
private global::System.Data.DataColumn columnCodMacchina;
|
||||
|
||||
private global::System.Data.DataColumn columnNome;
|
||||
|
||||
private global::System.Data.DataColumn columnNumPezzi;
|
||||
|
||||
private global::System.Data.DataColumn columnTCAssegnato;
|
||||
@@ -9459,6 +9467,8 @@ namespace MapoDb {
|
||||
|
||||
private global::System.Data.DataColumn columnPriorita;
|
||||
|
||||
private global::System.Data.DataColumn columnPzPallet;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public PromesseODLDataTable() {
|
||||
@@ -9508,6 +9518,14 @@ namespace MapoDb {
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public global::System.Data.DataColumn KeyBCodeColumn {
|
||||
get {
|
||||
return this.columnKeyBCode;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public global::System.Data.DataColumn AttivabileColumn {
|
||||
@@ -9532,6 +9550,14 @@ namespace MapoDb {
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public global::System.Data.DataColumn DescArticoloColumn {
|
||||
get {
|
||||
return this.columnDescArticolo;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public global::System.Data.DataColumn CodGruppoColumn {
|
||||
@@ -9548,6 +9574,22 @@ namespace MapoDb {
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public global::System.Data.DataColumn CodMacchinaColumn {
|
||||
get {
|
||||
return this.columnCodMacchina;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public global::System.Data.DataColumn NomeColumn {
|
||||
get {
|
||||
return this.columnNome;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public global::System.Data.DataColumn NumPezziColumn {
|
||||
@@ -9580,6 +9622,14 @@ namespace MapoDb {
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public global::System.Data.DataColumn PzPalletColumn {
|
||||
get {
|
||||
return this.columnPzPallet;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
[global::System.ComponentModel.Browsable(false)]
|
||||
@@ -9617,20 +9667,25 @@ namespace MapoDb {
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public PromesseODLRow AddPromesseODLRow(string KeyRichiesta, bool Attivabile, int IdxODL, string CodArticolo, string CodGruppo, string IdxMacchina, int NumPezzi, decimal TCAssegnato, System.DateTime DueDate, int Priorita) {
|
||||
public PromesseODLRow AddPromesseODLRow(string KeyRichiesta, string KeyBCode, bool Attivabile, int IdxODL, string CodArticolo, string DescArticolo, string CodGruppo, string IdxMacchina, string CodMacchina, string Nome, int NumPezzi, decimal TCAssegnato, System.DateTime DueDate, int Priorita, int PzPallet) {
|
||||
PromesseODLRow rowPromesseODLRow = ((PromesseODLRow)(this.NewRow()));
|
||||
object[] columnValuesArray = new object[] {
|
||||
null,
|
||||
KeyRichiesta,
|
||||
KeyBCode,
|
||||
Attivabile,
|
||||
IdxODL,
|
||||
CodArticolo,
|
||||
DescArticolo,
|
||||
CodGruppo,
|
||||
IdxMacchina,
|
||||
CodMacchina,
|
||||
Nome,
|
||||
NumPezzi,
|
||||
TCAssegnato,
|
||||
DueDate,
|
||||
Priorita};
|
||||
Priorita,
|
||||
PzPallet};
|
||||
rowPromesseODLRow.ItemArray = columnValuesArray;
|
||||
this.Rows.Add(rowPromesseODLRow);
|
||||
return rowPromesseODLRow;
|
||||
@@ -9662,15 +9717,20 @@ namespace MapoDb {
|
||||
internal void InitVars() {
|
||||
this.columnidxPromessa = base.Columns["idxPromessa"];
|
||||
this.columnKeyRichiesta = base.Columns["KeyRichiesta"];
|
||||
this.columnKeyBCode = base.Columns["KeyBCode"];
|
||||
this.columnAttivabile = base.Columns["Attivabile"];
|
||||
this.columnIdxODL = base.Columns["IdxODL"];
|
||||
this.columnCodArticolo = base.Columns["CodArticolo"];
|
||||
this.columnDescArticolo = base.Columns["DescArticolo"];
|
||||
this.columnCodGruppo = base.Columns["CodGruppo"];
|
||||
this.columnIdxMacchina = base.Columns["IdxMacchina"];
|
||||
this.columnCodMacchina = base.Columns["CodMacchina"];
|
||||
this.columnNome = base.Columns["Nome"];
|
||||
this.columnNumPezzi = base.Columns["NumPezzi"];
|
||||
this.columnTCAssegnato = base.Columns["TCAssegnato"];
|
||||
this.columnDueDate = base.Columns["DueDate"];
|
||||
this.columnPriorita = base.Columns["Priorita"];
|
||||
this.columnPzPallet = base.Columns["PzPallet"];
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -9680,16 +9740,24 @@ namespace MapoDb {
|
||||
base.Columns.Add(this.columnidxPromessa);
|
||||
this.columnKeyRichiesta = new global::System.Data.DataColumn("KeyRichiesta", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnKeyRichiesta);
|
||||
this.columnKeyBCode = new global::System.Data.DataColumn("KeyBCode", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnKeyBCode);
|
||||
this.columnAttivabile = new global::System.Data.DataColumn("Attivabile", typeof(bool), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnAttivabile);
|
||||
this.columnIdxODL = new global::System.Data.DataColumn("IdxODL", typeof(int), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnIdxODL);
|
||||
this.columnCodArticolo = new global::System.Data.DataColumn("CodArticolo", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnCodArticolo);
|
||||
this.columnDescArticolo = new global::System.Data.DataColumn("DescArticolo", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnDescArticolo);
|
||||
this.columnCodGruppo = new global::System.Data.DataColumn("CodGruppo", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnCodGruppo);
|
||||
this.columnIdxMacchina = new global::System.Data.DataColumn("IdxMacchina", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnIdxMacchina);
|
||||
this.columnCodMacchina = new global::System.Data.DataColumn("CodMacchina", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnCodMacchina);
|
||||
this.columnNome = new global::System.Data.DataColumn("Nome", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnNome);
|
||||
this.columnNumPezzi = new global::System.Data.DataColumn("NumPezzi", typeof(int), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnNumPezzi);
|
||||
this.columnTCAssegnato = new global::System.Data.DataColumn("TCAssegnato", typeof(decimal), null, global::System.Data.MappingType.Element);
|
||||
@@ -9698,6 +9766,8 @@ namespace MapoDb {
|
||||
base.Columns.Add(this.columnDueDate);
|
||||
this.columnPriorita = new global::System.Data.DataColumn("Priorita", typeof(int), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnPriorita);
|
||||
this.columnPzPallet = new global::System.Data.DataColumn("PzPallet", typeof(int), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnPzPallet);
|
||||
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
||||
this.columnidxPromessa}, true));
|
||||
this.columnidxPromessa.AutoIncrement = true;
|
||||
@@ -9708,18 +9778,26 @@ namespace MapoDb {
|
||||
this.columnidxPromessa.Unique = true;
|
||||
this.columnKeyRichiesta.AllowDBNull = false;
|
||||
this.columnKeyRichiesta.MaxLength = 50;
|
||||
this.columnKeyBCode.AllowDBNull = false;
|
||||
this.columnKeyBCode.MaxLength = 50;
|
||||
this.columnAttivabile.AllowDBNull = false;
|
||||
this.columnIdxODL.AllowDBNull = false;
|
||||
this.columnCodArticolo.AllowDBNull = false;
|
||||
this.columnCodArticolo.MaxLength = 50;
|
||||
this.columnDescArticolo.ReadOnly = true;
|
||||
this.columnDescArticolo.MaxLength = 250;
|
||||
this.columnCodGruppo.AllowDBNull = false;
|
||||
this.columnCodGruppo.MaxLength = 50;
|
||||
this.columnIdxMacchina.AllowDBNull = false;
|
||||
this.columnIdxMacchina.MaxLength = 50;
|
||||
this.columnCodMacchina.ReadOnly = true;
|
||||
this.columnCodMacchina.MaxLength = 50;
|
||||
this.columnNome.MaxLength = 50;
|
||||
this.columnNumPezzi.AllowDBNull = false;
|
||||
this.columnTCAssegnato.AllowDBNull = false;
|
||||
this.columnDueDate.AllowDBNull = false;
|
||||
this.columnPriorita.AllowDBNull = false;
|
||||
this.columnPzPallet.AllowDBNull = false;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -14795,6 +14873,17 @@ namespace MapoDb {
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public string KeyBCode {
|
||||
get {
|
||||
return ((string)(this[this.tablePromesseODL.KeyBCodeColumn]));
|
||||
}
|
||||
set {
|
||||
this[this.tablePromesseODL.KeyBCodeColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public bool Attivabile {
|
||||
@@ -14828,6 +14917,22 @@ namespace MapoDb {
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public string DescArticolo {
|
||||
get {
|
||||
try {
|
||||
return ((string)(this[this.tablePromesseODL.DescArticoloColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("Il valore della colonna \'DescArticolo\' nella tabella \'PromesseODL\' è DBNull.", e);
|
||||
}
|
||||
}
|
||||
set {
|
||||
this[this.tablePromesseODL.DescArticoloColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public string CodGruppo {
|
||||
@@ -14850,6 +14955,38 @@ namespace MapoDb {
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public string CodMacchina {
|
||||
get {
|
||||
try {
|
||||
return ((string)(this[this.tablePromesseODL.CodMacchinaColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("Il valore della colonna \'CodMacchina\' nella tabella \'PromesseODL\' è DBNull.", e);
|
||||
}
|
||||
}
|
||||
set {
|
||||
this[this.tablePromesseODL.CodMacchinaColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public string Nome {
|
||||
get {
|
||||
try {
|
||||
return ((string)(this[this.tablePromesseODL.NomeColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("Il valore della colonna \'Nome\' nella tabella \'PromesseODL\' è DBNull.", e);
|
||||
}
|
||||
}
|
||||
set {
|
||||
this[this.tablePromesseODL.NomeColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public int NumPezzi {
|
||||
@@ -14893,6 +15030,53 @@ namespace MapoDb {
|
||||
this[this.tablePromesseODL.PrioritaColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public int PzPallet {
|
||||
get {
|
||||
return ((int)(this[this.tablePromesseODL.PzPalletColumn]));
|
||||
}
|
||||
set {
|
||||
this[this.tablePromesseODL.PzPalletColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public bool IsDescArticoloNull() {
|
||||
return this.IsNull(this.tablePromesseODL.DescArticoloColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public void SetDescArticoloNull() {
|
||||
this[this.tablePromesseODL.DescArticoloColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public bool IsCodMacchinaNull() {
|
||||
return this.IsNull(this.tablePromesseODL.CodMacchinaColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public void SetCodMacchinaNull() {
|
||||
this[this.tablePromesseODL.CodMacchinaColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public bool IsNomeNull() {
|
||||
return this.IsNull(this.tablePromesseODL.NomeColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public void SetNomeNull() {
|
||||
this[this.tablePromesseODL.NomeColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -16448,9 +16632,10 @@ SELECT IdxMacchina, CodArticolo, DataOraRif, TCMedio, PzProd FROM TempiCicloRile
|
||||
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Approvato", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 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 = "DELETE FROM [dbo].[ODL] WHERE ([IdxODL] = @Original_IdxODL)";
|
||||
this._commandCollection[2].CommandType = global::System.Data.CommandType.Text;
|
||||
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxODL", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "IdxODL", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._commandCollection[2].CommandText = "dbo.stp_ODL_deleteQuery";
|
||||
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("@Original_IdxODL", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[3].Connection = this.Connection;
|
||||
this._commandCollection[3].CommandText = "dbo.stp_ODL_fineProd";
|
||||
@@ -16847,9 +17032,14 @@ SELECT IdxMacchina, CodArticolo, DataOraRif, TCMedio, PzProd FROM TempiCicloRile
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, false)]
|
||||
public virtual int DeleteQuery(int Original_IdxODL) {
|
||||
public virtual int DeleteQuery(global::System.Nullable<int> Original_IdxODL) {
|
||||
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2];
|
||||
command.Parameters[0].Value = ((int)(Original_IdxODL));
|
||||
if ((Original_IdxODL.HasValue == true)) {
|
||||
command.Parameters[1].Value = ((int)(Original_IdxODL.Value));
|
||||
}
|
||||
else {
|
||||
command.Parameters[1].Value = global::System.DBNull.Value;
|
||||
}
|
||||
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
||||
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
||||
!= global::System.Data.ConnectionState.Open)) {
|
||||
@@ -26705,73 +26895,21 @@ FROM MappaStatoExpl";
|
||||
tableMapping.DataSetTable = "PromesseODL";
|
||||
tableMapping.ColumnMappings.Add("idxPromessa", "idxPromessa");
|
||||
tableMapping.ColumnMappings.Add("KeyRichiesta", "KeyRichiesta");
|
||||
tableMapping.ColumnMappings.Add("KeyBCode", "KeyBCode");
|
||||
tableMapping.ColumnMappings.Add("Attivabile", "Attivabile");
|
||||
tableMapping.ColumnMappings.Add("IdxODL", "IdxODL");
|
||||
tableMapping.ColumnMappings.Add("CodArticolo", "CodArticolo");
|
||||
tableMapping.ColumnMappings.Add("DescArticolo", "DescArticolo");
|
||||
tableMapping.ColumnMappings.Add("CodGruppo", "CodGruppo");
|
||||
tableMapping.ColumnMappings.Add("IdxMacchina", "IdxMacchina");
|
||||
tableMapping.ColumnMappings.Add("CodMacchina", "CodMacchina");
|
||||
tableMapping.ColumnMappings.Add("Nome", "Nome");
|
||||
tableMapping.ColumnMappings.Add("NumPezzi", "NumPezzi");
|
||||
tableMapping.ColumnMappings.Add("TCAssegnato", "TCAssegnato");
|
||||
tableMapping.ColumnMappings.Add("DueDate", "DueDate");
|
||||
tableMapping.ColumnMappings.Add("Priorita", "Priorita");
|
||||
tableMapping.ColumnMappings.Add("PzPallet", "PzPallet");
|
||||
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].[PromesseODL] WHERE (([idxPromessa] = @Original_idxPromessa) AND ([KeyRichiesta] = @Original_KeyRichiesta) AND ([Attivabile] = @Original_Attivabile) AND ([IdxODL] = @Original_IdxODL) AND ([CodArticolo] = @Original_CodArticolo) AND ([CodGruppo] = @Original_CodGruppo) AND ([IdxMacchina] = @Original_IdxMacchina) AND ([NumPezzi] = @Original_NumPezzi) AND ([TCAssegnato] = @Original_TCAssegnato) AND ([DueDate] = @Original_DueDate) AND ([Priorita] = @Original_Priorita))";
|
||||
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxPromessa", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxPromessa", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_KeyRichiesta", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KeyRichiesta", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Attivabile", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Attivabile", 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_CodArticolo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodArticolo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodGruppo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodGruppo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxMacchina", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxMacchina", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NumPezzi", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumPezzi", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TCAssegnato", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TCAssegnato", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DueDate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DueDate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Priorita", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Priorita", 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].[PromesseODL] ([KeyRichiesta], [Attivabile], [IdxODL], [CodArticolo], [CodGruppo], [IdxMacchina], [NumPezzi], [TCAssegnato], [DueDate], [Priorita]) VALUES (@KeyRichiesta, @Attivabile, @IdxODL, @CodArticolo, @CodGruppo, @IdxMacchina, @NumPezzi, @TCAssegnato, @DueDate, @Priorita);
|
||||
SELECT idxPromessa, KeyRichiesta, Attivabile, IdxODL, CodArticolo, CodGruppo, IdxMacchina, NumPezzi, TCAssegnato, DueDate, Priorita FROM PromesseODL WHERE (idxPromessa = SCOPE_IDENTITY())";
|
||||
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@KeyRichiesta", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KeyRichiesta", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Attivabile", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Attivabile", 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("@CodArticolo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodArticolo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodGruppo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodGruppo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxMacchina", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxMacchina", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumPezzi", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumPezzi", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TCAssegnato", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TCAssegnato", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DueDate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DueDate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Priorita", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Priorita", 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].[PromesseODL] SET [KeyRichiesta] = @KeyRichiesta, [Attivabile] = @Attivabile, [IdxODL] = @IdxODL, [CodArticolo] = @CodArticolo, [CodGruppo] = @CodGruppo, [IdxMacchina] = @IdxMacchina, [NumPezzi] = @NumPezzi, [TCAssegnato] = @TCAssegnato, [DueDate] = @DueDate, [Priorita] = @Priorita WHERE (([idxPromessa] = @Original_idxPromessa) AND ([KeyRichiesta] = @Original_KeyRichiesta) AND ([Attivabile] = @Original_Attivabile) AND ([IdxODL] = @Original_IdxODL) AND ([CodArticolo] = @Original_CodArticolo) AND ([CodGruppo] = @Original_CodGruppo) AND ([IdxMacchina] = @Original_IdxMacchina) AND ([NumPezzi] = @Original_NumPezzi) AND ([TCAssegnato] = @Original_TCAssegnato) AND ([DueDate] = @Original_DueDate) AND ([Priorita] = @Original_Priorita));
|
||||
SELECT idxPromessa, KeyRichiesta, Attivabile, IdxODL, CodArticolo, CodGruppo, IdxMacchina, NumPezzi, TCAssegnato, DueDate, Priorita FROM PromesseODL WHERE (idxPromessa = @idxPromessa)";
|
||||
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@KeyRichiesta", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KeyRichiesta", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Attivabile", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Attivabile", 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("@CodArticolo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodArticolo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodGruppo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodGruppo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxMacchina", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxMacchina", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumPezzi", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumPezzi", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TCAssegnato", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TCAssegnato", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DueDate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DueDate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Priorita", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Priorita", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxPromessa", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxPromessa", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_KeyRichiesta", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KeyRichiesta", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Attivabile", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Attivabile", 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_CodArticolo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodArticolo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodGruppo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodGruppo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxMacchina", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxMacchina", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NumPezzi", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumPezzi", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TCAssegnato", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 8, "TCAssegnato", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DueDate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DueDate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Priorita", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Priorita", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxPromessa", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idxPromessa", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -26784,18 +26922,47 @@ SELECT idxPromessa, KeyRichiesta, Attivabile, IdxODL, CodArticolo, CodGruppo, Id
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
private void InitCommandCollection() {
|
||||
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2];
|
||||
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[5];
|
||||
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[0].Connection = this.Connection;
|
||||
this._commandCollection[0].CommandText = "SELECT idxPromessa, KeyRichiesta, Attivabile, IdxODL, CodArticolo, CodGruppo, Idx" +
|
||||
"Macchina, NumPezzi, TCAssegnato, DueDate, Priorita FROM dbo.PromesseODL";
|
||||
this._commandCollection[0].CommandText = "SELECT *\r\nFROM v_PODL_exp";
|
||||
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_PODL_getByIdx";
|
||||
this._commandCollection[1].CommandText = "dbo.stp_PODL_deleteQuery";
|
||||
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("@IdxPromessa", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxPromessa", 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_PODL_getByIdx";
|
||||
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("@IdxPromessa", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[3].Connection = this.Connection;
|
||||
this._commandCollection[3].CommandText = "dbo.stp_PODL_insertQuery";
|
||||
this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure;
|
||||
this._commandCollection[3].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[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@KeyRichiesta", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@KeyBCode", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Attivabile", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[3].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[3].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[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxMacchina", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumPezzi", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TCAssegnato", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 8, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DueDate", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Priorita", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PzPallet", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[4].Connection = this.Connection;
|
||||
this._commandCollection[4].CommandText = "dbo.stp_PODL_updateQta";
|
||||
this._commandCollection[4].CommandType = global::System.Data.CommandType.StoredProcedure;
|
||||
this._commandCollection[4].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[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumPezzi", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PzPallet", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxPromessa", 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()]
|
||||
@@ -26827,7 +26994,7 @@ SELECT idxPromessa, KeyRichiesta, Attivabile, IdxODL, CodArticolo, CodGruppo, Id
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
||||
public virtual DS_ProdTempi.PromesseODLDataTable getByKey(global::System.Nullable<int> IdxPromessa) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[1];
|
||||
this.Adapter.SelectCommand = this.CommandCollection[2];
|
||||
if ((IdxPromessa.HasValue == true)) {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(IdxPromessa.Value));
|
||||
}
|
||||
@@ -26842,267 +27009,157 @@ SELECT idxPromessa, KeyRichiesta, Attivabile, IdxODL, CodArticolo, CodGruppo, Id
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
public virtual int Update(DS_ProdTempi.PromesseODLDataTable dataTable) {
|
||||
return this.Adapter.Update(dataTable);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
public virtual int Update(DS_ProdTempi dataSet) {
|
||||
return this.Adapter.Update(dataSet, "PromesseODL");
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
public virtual int Update(global::System.Data.DataRow dataRow) {
|
||||
return this.Adapter.Update(new global::System.Data.DataRow[] {
|
||||
dataRow});
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
public virtual int Update(global::System.Data.DataRow[] dataRows) {
|
||||
return this.Adapter.Update(dataRows);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.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(int Original_idxPromessa, string Original_KeyRichiesta, bool Original_Attivabile, int Original_IdxODL, string Original_CodArticolo, string Original_CodGruppo, string Original_IdxMacchina, int Original_NumPezzi, decimal Original_TCAssegnato, System.DateTime Original_DueDate, int Original_Priorita) {
|
||||
this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idxPromessa));
|
||||
if ((Original_KeyRichiesta == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_KeyRichiesta");
|
||||
public virtual int deleteQuery(global::System.Nullable<int> Original_idxPromessa) {
|
||||
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
|
||||
if ((Original_idxPromessa.HasValue == true)) {
|
||||
command.Parameters[1].Value = ((int)(Original_idxPromessa.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_KeyRichiesta));
|
||||
command.Parameters[1].Value = global::System.DBNull.Value;
|
||||
}
|
||||
this.Adapter.DeleteCommand.Parameters[2].Value = ((bool)(Original_Attivabile));
|
||||
this.Adapter.DeleteCommand.Parameters[3].Value = ((int)(Original_IdxODL));
|
||||
if ((Original_CodArticolo == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_CodArticolo");
|
||||
}
|
||||
else {
|
||||
this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_CodArticolo));
|
||||
}
|
||||
if ((Original_CodGruppo == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_CodGruppo");
|
||||
}
|
||||
else {
|
||||
this.Adapter.DeleteCommand.Parameters[5].Value = ((string)(Original_CodGruppo));
|
||||
}
|
||||
if ((Original_IdxMacchina == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_IdxMacchina");
|
||||
}
|
||||
else {
|
||||
this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_IdxMacchina));
|
||||
}
|
||||
this.Adapter.DeleteCommand.Parameters[7].Value = ((int)(Original_NumPezzi));
|
||||
this.Adapter.DeleteCommand.Parameters[8].Value = ((decimal)(Original_TCAssegnato));
|
||||
this.Adapter.DeleteCommand.Parameters[9].Value = ((System.DateTime)(Original_DueDate));
|
||||
this.Adapter.DeleteCommand.Parameters[10].Value = ((int)(Original_Priorita));
|
||||
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 previousConnectionState = command.Connection.State;
|
||||
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
||||
!= global::System.Data.ConnectionState.Open)) {
|
||||
this.Adapter.DeleteCommand.Connection.Open();
|
||||
command.Connection.Open();
|
||||
}
|
||||
int returnValue;
|
||||
try {
|
||||
int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
|
||||
return returnValue;
|
||||
returnValue = command.ExecuteNonQuery();
|
||||
}
|
||||
finally {
|
||||
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
||||
this.Adapter.DeleteCommand.Connection.Close();
|
||||
command.Connection.Close();
|
||||
}
|
||||
}
|
||||
return returnValue;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.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(string KeyRichiesta, bool Attivabile, int IdxODL, string CodArticolo, string CodGruppo, string IdxMacchina, int NumPezzi, decimal TCAssegnato, System.DateTime DueDate, int Priorita) {
|
||||
public virtual int insertQuery(string KeyRichiesta, string KeyBCode, global::System.Nullable<bool> Attivabile, string CodArticolo, string CodGruppo, string IdxMacchina, global::System.Nullable<int> NumPezzi, global::System.Nullable<decimal> TCAssegnato, global::System.Nullable<global::System.DateTime> DueDate, global::System.Nullable<int> Priorita, global::System.Nullable<int> PzPallet) {
|
||||
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3];
|
||||
if ((KeyRichiesta == null)) {
|
||||
throw new global::System.ArgumentNullException("KeyRichiesta");
|
||||
command.Parameters[1].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.InsertCommand.Parameters[0].Value = ((string)(KeyRichiesta));
|
||||
command.Parameters[1].Value = ((string)(KeyRichiesta));
|
||||
}
|
||||
if ((KeyBCode == null)) {
|
||||
command.Parameters[2].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
command.Parameters[2].Value = ((string)(KeyBCode));
|
||||
}
|
||||
if ((Attivabile.HasValue == true)) {
|
||||
command.Parameters[3].Value = ((bool)(Attivabile.Value));
|
||||
}
|
||||
else {
|
||||
command.Parameters[3].Value = global::System.DBNull.Value;
|
||||
}
|
||||
this.Adapter.InsertCommand.Parameters[1].Value = ((bool)(Attivabile));
|
||||
this.Adapter.InsertCommand.Parameters[2].Value = ((int)(IdxODL));
|
||||
if ((CodArticolo == null)) {
|
||||
throw new global::System.ArgumentNullException("CodArticolo");
|
||||
command.Parameters[4].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.InsertCommand.Parameters[3].Value = ((string)(CodArticolo));
|
||||
command.Parameters[4].Value = ((string)(CodArticolo));
|
||||
}
|
||||
if ((CodGruppo == null)) {
|
||||
throw new global::System.ArgumentNullException("CodGruppo");
|
||||
command.Parameters[5].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.InsertCommand.Parameters[4].Value = ((string)(CodGruppo));
|
||||
command.Parameters[5].Value = ((string)(CodGruppo));
|
||||
}
|
||||
if ((IdxMacchina == null)) {
|
||||
throw new global::System.ArgumentNullException("IdxMacchina");
|
||||
command.Parameters[6].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.InsertCommand.Parameters[5].Value = ((string)(IdxMacchina));
|
||||
command.Parameters[6].Value = ((string)(IdxMacchina));
|
||||
}
|
||||
this.Adapter.InsertCommand.Parameters[6].Value = ((int)(NumPezzi));
|
||||
this.Adapter.InsertCommand.Parameters[7].Value = ((decimal)(TCAssegnato));
|
||||
this.Adapter.InsertCommand.Parameters[8].Value = ((System.DateTime)(DueDate));
|
||||
this.Adapter.InsertCommand.Parameters[9].Value = ((int)(Priorita));
|
||||
global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
|
||||
if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
|
||||
if ((NumPezzi.HasValue == true)) {
|
||||
command.Parameters[7].Value = ((int)(NumPezzi.Value));
|
||||
}
|
||||
else {
|
||||
command.Parameters[7].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((TCAssegnato.HasValue == true)) {
|
||||
command.Parameters[8].Value = ((decimal)(TCAssegnato.Value));
|
||||
}
|
||||
else {
|
||||
command.Parameters[8].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((DueDate.HasValue == true)) {
|
||||
command.Parameters[9].Value = ((System.DateTime)(DueDate.Value));
|
||||
}
|
||||
else {
|
||||
command.Parameters[9].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((Priorita.HasValue == true)) {
|
||||
command.Parameters[10].Value = ((int)(Priorita.Value));
|
||||
}
|
||||
else {
|
||||
command.Parameters[10].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((PzPallet.HasValue == true)) {
|
||||
command.Parameters[11].Value = ((int)(PzPallet.Value));
|
||||
}
|
||||
else {
|
||||
command.Parameters[11].Value = global::System.DBNull.Value;
|
||||
}
|
||||
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();
|
||||
}
|
||||
}
|
||||
return returnValue;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.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 KeyRichiesta,
|
||||
bool Attivabile,
|
||||
int IdxODL,
|
||||
string CodArticolo,
|
||||
string CodGruppo,
|
||||
string IdxMacchina,
|
||||
int NumPezzi,
|
||||
decimal TCAssegnato,
|
||||
System.DateTime DueDate,
|
||||
int Priorita,
|
||||
int Original_idxPromessa,
|
||||
string Original_KeyRichiesta,
|
||||
bool Original_Attivabile,
|
||||
int Original_IdxODL,
|
||||
string Original_CodArticolo,
|
||||
string Original_CodGruppo,
|
||||
string Original_IdxMacchina,
|
||||
int Original_NumPezzi,
|
||||
decimal Original_TCAssegnato,
|
||||
System.DateTime Original_DueDate,
|
||||
int Original_Priorita,
|
||||
int idxPromessa) {
|
||||
if ((KeyRichiesta == null)) {
|
||||
throw new global::System.ArgumentNullException("KeyRichiesta");
|
||||
public virtual int updateQta(global::System.Nullable<int> NumPezzi, global::System.Nullable<int> PzPallet, global::System.Nullable<int> Original_idxPromessa) {
|
||||
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[4];
|
||||
if ((NumPezzi.HasValue == true)) {
|
||||
command.Parameters[1].Value = ((int)(NumPezzi.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(KeyRichiesta));
|
||||
command.Parameters[1].Value = global::System.DBNull.Value;
|
||||
}
|
||||
this.Adapter.UpdateCommand.Parameters[1].Value = ((bool)(Attivabile));
|
||||
this.Adapter.UpdateCommand.Parameters[2].Value = ((int)(IdxODL));
|
||||
if ((CodArticolo == null)) {
|
||||
throw new global::System.ArgumentNullException("CodArticolo");
|
||||
if ((PzPallet.HasValue == true)) {
|
||||
command.Parameters[2].Value = ((int)(PzPallet.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(CodArticolo));
|
||||
command.Parameters[2].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((CodGruppo == null)) {
|
||||
throw new global::System.ArgumentNullException("CodGruppo");
|
||||
if ((Original_idxPromessa.HasValue == true)) {
|
||||
command.Parameters[3].Value = ((int)(Original_idxPromessa.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(CodGruppo));
|
||||
command.Parameters[3].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((IdxMacchina == null)) {
|
||||
throw new global::System.ArgumentNullException("IdxMacchina");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(IdxMacchina));
|
||||
}
|
||||
this.Adapter.UpdateCommand.Parameters[6].Value = ((int)(NumPezzi));
|
||||
this.Adapter.UpdateCommand.Parameters[7].Value = ((decimal)(TCAssegnato));
|
||||
this.Adapter.UpdateCommand.Parameters[8].Value = ((System.DateTime)(DueDate));
|
||||
this.Adapter.UpdateCommand.Parameters[9].Value = ((int)(Priorita));
|
||||
this.Adapter.UpdateCommand.Parameters[10].Value = ((int)(Original_idxPromessa));
|
||||
if ((Original_KeyRichiesta == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_KeyRichiesta");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(Original_KeyRichiesta));
|
||||
}
|
||||
this.Adapter.UpdateCommand.Parameters[12].Value = ((bool)(Original_Attivabile));
|
||||
this.Adapter.UpdateCommand.Parameters[13].Value = ((int)(Original_IdxODL));
|
||||
if ((Original_CodArticolo == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_CodArticolo");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(Original_CodArticolo));
|
||||
}
|
||||
if ((Original_CodGruppo == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_CodGruppo");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(Original_CodGruppo));
|
||||
}
|
||||
if ((Original_IdxMacchina == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_IdxMacchina");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[16].Value = ((string)(Original_IdxMacchina));
|
||||
}
|
||||
this.Adapter.UpdateCommand.Parameters[17].Value = ((int)(Original_NumPezzi));
|
||||
this.Adapter.UpdateCommand.Parameters[18].Value = ((decimal)(Original_TCAssegnato));
|
||||
this.Adapter.UpdateCommand.Parameters[19].Value = ((System.DateTime)(Original_DueDate));
|
||||
this.Adapter.UpdateCommand.Parameters[20].Value = ((int)(Original_Priorita));
|
||||
this.Adapter.UpdateCommand.Parameters[21].Value = ((int)(idxPromessa));
|
||||
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 previousConnectionState = command.Connection.State;
|
||||
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
||||
!= global::System.Data.ConnectionState.Open)) {
|
||||
this.Adapter.UpdateCommand.Connection.Open();
|
||||
command.Connection.Open();
|
||||
}
|
||||
int returnValue;
|
||||
try {
|
||||
int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
|
||||
return returnValue;
|
||||
returnValue = command.ExecuteNonQuery();
|
||||
}
|
||||
finally {
|
||||
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
||||
this.Adapter.UpdateCommand.Connection.Close();
|
||||
command.Connection.Close();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.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 KeyRichiesta,
|
||||
bool Attivabile,
|
||||
int IdxODL,
|
||||
string CodArticolo,
|
||||
string CodGruppo,
|
||||
string IdxMacchina,
|
||||
int NumPezzi,
|
||||
decimal TCAssegnato,
|
||||
System.DateTime DueDate,
|
||||
int Priorita,
|
||||
int Original_idxPromessa,
|
||||
string Original_KeyRichiesta,
|
||||
bool Original_Attivabile,
|
||||
int Original_IdxODL,
|
||||
string Original_CodArticolo,
|
||||
string Original_CodGruppo,
|
||||
string Original_IdxMacchina,
|
||||
int Original_NumPezzi,
|
||||
decimal Original_TCAssegnato,
|
||||
System.DateTime Original_DueDate,
|
||||
int Original_Priorita) {
|
||||
return this.Update(KeyRichiesta, Attivabile, IdxODL, CodArticolo, CodGruppo, IdxMacchina, NumPezzi, TCAssegnato, DueDate, Priorita, Original_idxPromessa, Original_KeyRichiesta, Original_Attivabile, Original_IdxODL, Original_CodArticolo, Original_CodGruppo, Original_IdxMacchina, Original_NumPezzi, Original_TCAssegnato, Original_DueDate, Original_Priorita, Original_idxPromessa);
|
||||
return returnValue;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -27134,8 +27191,6 @@ SELECT idxPromessa, KeyRichiesta, Attivabile, IdxODL, CodArticolo, CodGruppo, Id
|
||||
|
||||
private MappaStatoExplTableAdapter _mappaStatoExplTableAdapter;
|
||||
|
||||
private PromesseODLTableAdapter _promesseODLTableAdapter;
|
||||
|
||||
private bool _backupDataSetBeforeUpdate;
|
||||
|
||||
private global::System.Data.IDbConnection _connection;
|
||||
@@ -27263,20 +27318,6 @@ SELECT idxPromessa, KeyRichiesta, Attivabile, IdxODL, CodArticolo, CodGruppo, Id
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
[global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
|
||||
"ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
|
||||
"a", "System.Drawing.Design.UITypeEditor")]
|
||||
public PromesseODLTableAdapter PromesseODLTableAdapter {
|
||||
get {
|
||||
return this._promesseODLTableAdapter;
|
||||
}
|
||||
set {
|
||||
this._promesseODLTableAdapter = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public bool BackupDataSetBeforeUpdate {
|
||||
@@ -27328,10 +27369,6 @@ SELECT idxPromessa, KeyRichiesta, Attivabile, IdxODL, CodArticolo, CodGruppo, Id
|
||||
&& (this._mappaStatoExplTableAdapter.Connection != null))) {
|
||||
return this._mappaStatoExplTableAdapter.Connection;
|
||||
}
|
||||
if (((this._promesseODLTableAdapter != null)
|
||||
&& (this._promesseODLTableAdapter.Connection != null))) {
|
||||
return this._promesseODLTableAdapter.Connection;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
set {
|
||||
@@ -27369,9 +27406,6 @@ SELECT idxPromessa, KeyRichiesta, Attivabile, IdxODL, CodArticolo, CodGruppo, Id
|
||||
if ((this._mappaStatoExplTableAdapter != null)) {
|
||||
count = (count + 1);
|
||||
}
|
||||
if ((this._promesseODLTableAdapter != null)) {
|
||||
count = (count + 1);
|
||||
}
|
||||
return count;
|
||||
}
|
||||
}
|
||||
@@ -27455,15 +27489,6 @@ SELECT idxPromessa, KeyRichiesta, Attivabile, IdxODL, CodArticolo, CodGruppo, Id
|
||||
allChangedRows.AddRange(updatedRows);
|
||||
}
|
||||
}
|
||||
if ((this._promesseODLTableAdapter != null)) {
|
||||
global::System.Data.DataRow[] updatedRows = dataSet.PromesseODL.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
|
||||
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
|
||||
if (((updatedRows != null)
|
||||
&& (0 < updatedRows.Length))) {
|
||||
result = (result + this._promesseODLTableAdapter.Update(updatedRows));
|
||||
allChangedRows.AddRange(updatedRows);
|
||||
}
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -27538,14 +27563,6 @@ SELECT idxPromessa, KeyRichiesta, Attivabile, IdxODL, CodArticolo, CodGruppo, Id
|
||||
allAddedRows.AddRange(addedRows);
|
||||
}
|
||||
}
|
||||
if ((this._promesseODLTableAdapter != null)) {
|
||||
global::System.Data.DataRow[] addedRows = dataSet.PromesseODL.Select(null, null, global::System.Data.DataViewRowState.Added);
|
||||
if (((addedRows != null)
|
||||
&& (0 < addedRows.Length))) {
|
||||
result = (result + this._promesseODLTableAdapter.Update(addedRows));
|
||||
allAddedRows.AddRange(addedRows);
|
||||
}
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -27556,14 +27573,6 @@ SELECT idxPromessa, KeyRichiesta, Attivabile, IdxODL, CodArticolo, CodGruppo, Id
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
private int UpdateDeletedRows(DS_ProdTempi dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows) {
|
||||
int result = 0;
|
||||
if ((this._promesseODLTableAdapter != null)) {
|
||||
global::System.Data.DataRow[] deletedRows = dataSet.PromesseODL.Select(null, null, global::System.Data.DataViewRowState.Deleted);
|
||||
if (((deletedRows != null)
|
||||
&& (0 < deletedRows.Length))) {
|
||||
result = (result + this._promesseODLTableAdapter.Update(deletedRows));
|
||||
allChangedRows.AddRange(deletedRows);
|
||||
}
|
||||
}
|
||||
if ((this._anagArticoliTableAdapter != null)) {
|
||||
global::System.Data.DataRow[] deletedRows = dataSet.AnagArticoli.Select(null, null, global::System.Data.DataViewRowState.Deleted);
|
||||
if (((deletedRows != null)
|
||||
@@ -27707,11 +27716,6 @@ SELECT idxPromessa, KeyRichiesta, Attivabile, IdxODL, CodArticolo, CodGruppo, Id
|
||||
throw new global::System.ArgumentException("Tutti gli oggetti TableAdapter gestiti da TableAdapterManager devono utilizzare l" +
|
||||
"a stessa stringa di connessione.");
|
||||
}
|
||||
if (((this._promesseODLTableAdapter != null)
|
||||
&& (this.MatchTableAdapterConnection(this._promesseODLTableAdapter.Connection) == false))) {
|
||||
throw new global::System.ArgumentException("Tutti gli oggetti TableAdapter gestiti da TableAdapterManager devono utilizzare l" +
|
||||
"a stessa stringa di connessione.");
|
||||
}
|
||||
global::System.Data.IDbConnection workConnection = this.Connection;
|
||||
if ((workConnection == null)) {
|
||||
throw new global::System.ApplicationException("TableAdapterManager non contiene informazioni di connessione. Impostare la propri" +
|
||||
@@ -27817,15 +27821,6 @@ SELECT idxPromessa, KeyRichiesta, Attivabile, IdxODL, CodArticolo, CodGruppo, Id
|
||||
adaptersWithAcceptChangesDuringUpdate.Add(this._mappaStatoExplTableAdapter.Adapter);
|
||||
}
|
||||
}
|
||||
if ((this._promesseODLTableAdapter != null)) {
|
||||
revertConnections.Add(this._promesseODLTableAdapter, this._promesseODLTableAdapter.Connection);
|
||||
this._promesseODLTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
|
||||
this._promesseODLTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
|
||||
if (this._promesseODLTableAdapter.Adapter.AcceptChangesDuringUpdate) {
|
||||
this._promesseODLTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
|
||||
adaptersWithAcceptChangesDuringUpdate.Add(this._promesseODLTableAdapter.Adapter);
|
||||
}
|
||||
}
|
||||
//
|
||||
//---- Perform updates -----------
|
||||
//
|
||||
@@ -27916,10 +27911,6 @@ SELECT idxPromessa, KeyRichiesta, Attivabile, IdxODL, CodArticolo, CodGruppo, Id
|
||||
this._mappaStatoExplTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._mappaStatoExplTableAdapter]));
|
||||
this._mappaStatoExplTableAdapter.Transaction = null;
|
||||
}
|
||||
if ((this._promesseODLTableAdapter != null)) {
|
||||
this._promesseODLTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._promesseODLTableAdapter]));
|
||||
this._promesseODLTableAdapter.Transaction = null;
|
||||
}
|
||||
if ((0 < adaptersWithAcceptChangesDuringUpdate.Count)) {
|
||||
global::System.Data.Common.DataAdapter[] adapters = new System.Data.Common.DataAdapter[adaptersWithAcceptChangesDuringUpdate.Count];
|
||||
adaptersWithAcceptChangesDuringUpdate.CopyTo(adapters);
|
||||
|
||||
+87
-72
@@ -200,10 +200,11 @@ ORDER BY idxODL DESC</CommandText>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="MoonProConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="DeleteQuery" Modifier="Public" Name="DeleteQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="DeleteQuery">
|
||||
<DeleteCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
||||
<CommandText>DELETE FROM [dbo].[ODL] WHERE ([IdxODL] = @Original_IdxODL)</CommandText>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_ODL_deleteQuery</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="Original_IdxODL" ColumnName="IdxODL" DataSourceName="MoonPro.dbo.ODL" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_IdxODL" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="IdxODL" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<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="@Original_IdxODL" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</DeleteCommand>
|
||||
@@ -2057,95 +2058,46 @@ FROM dbo.v_RegistroScarti</CommandText>
|
||||
</TableAdapter>
|
||||
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="PromesseODLTableAdapter" GeneratorDataComponentClassName="PromesseODLTableAdapter" Name="PromesseODL" UserDataComponentName="PromesseODLTableAdapter">
|
||||
<MainSource>
|
||||
<DbSource ConnectionRef="MoonProConnectionString (Settings)" DbObjectName="MoonPro.dbo.PromesseODL" 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">
|
||||
<DeleteCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>DELETE FROM [dbo].[PromesseODL] WHERE (([idxPromessa] = @Original_idxPromessa) AND ([KeyRichiesta] = @Original_KeyRichiesta) AND ([Attivabile] = @Original_Attivabile) AND ([IdxODL] = @Original_IdxODL) AND ([CodArticolo] = @Original_CodArticolo) AND ([CodGruppo] = @Original_CodGruppo) AND ([IdxMacchina] = @Original_IdxMacchina) AND ([NumPezzi] = @Original_NumPezzi) AND ([TCAssegnato] = @Original_TCAssegnato) AND ([DueDate] = @Original_DueDate) AND ([Priorita] = @Original_Priorita))</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idxPromessa" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idxPromessa" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_KeyRichiesta" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="KeyRichiesta" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_Attivabile" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Attivabile" 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="String" Direction="Input" ParameterName="@Original_CodArticolo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodArticolo" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodGruppo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodGruppo" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_IdxMacchina" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="IdxMacchina" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_NumPezzi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NumPezzi" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_TCAssegnato" Precision="18" ProviderType="Decimal" Scale="8" Size="0" SourceColumn="TCAssegnato" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_DueDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DueDate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Priorita" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Priorita" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</DeleteCommand>
|
||||
<InsertCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>INSERT INTO [dbo].[PromesseODL] ([KeyRichiesta], [Attivabile], [IdxODL], [CodArticolo], [CodGruppo], [IdxMacchina], [NumPezzi], [TCAssegnato], [DueDate], [Priorita]) VALUES (@KeyRichiesta, @Attivabile, @IdxODL, @CodArticolo, @CodGruppo, @IdxMacchina, @NumPezzi, @TCAssegnato, @DueDate, @Priorita);
|
||||
SELECT idxPromessa, KeyRichiesta, Attivabile, IdxODL, CodArticolo, CodGruppo, IdxMacchina, NumPezzi, TCAssegnato, DueDate, Priorita FROM PromesseODL WHERE (idxPromessa = SCOPE_IDENTITY())</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@KeyRichiesta" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="KeyRichiesta" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Attivabile" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Attivabile" 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="String" Direction="Input" ParameterName="@CodArticolo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodArticolo" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodGruppo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodGruppo" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@IdxMacchina" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="IdxMacchina" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@NumPezzi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NumPezzi" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@TCAssegnato" Precision="18" ProviderType="Decimal" Scale="8" Size="0" SourceColumn="TCAssegnato" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DueDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DueDate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Priorita" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Priorita" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</InsertCommand>
|
||||
<DbSource ConnectionRef="MoonProConnectionString (Settings)" DbObjectName="MoonPro.dbo.v_PODL_exp" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>SELECT idxPromessa, KeyRichiesta, Attivabile, IdxODL, CodArticolo, CodGruppo, IdxMacchina, NumPezzi, TCAssegnato, DueDate, Priorita FROM dbo.PromesseODL</CommandText>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
||||
<CommandText>SELECT *
|
||||
FROM v_PODL_exp</CommandText>
|
||||
<Parameters />
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
<UpdateCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>UPDATE [dbo].[PromesseODL] SET [KeyRichiesta] = @KeyRichiesta, [Attivabile] = @Attivabile, [IdxODL] = @IdxODL, [CodArticolo] = @CodArticolo, [CodGruppo] = @CodGruppo, [IdxMacchina] = @IdxMacchina, [NumPezzi] = @NumPezzi, [TCAssegnato] = @TCAssegnato, [DueDate] = @DueDate, [Priorita] = @Priorita WHERE (([idxPromessa] = @Original_idxPromessa) AND ([KeyRichiesta] = @Original_KeyRichiesta) AND ([Attivabile] = @Original_Attivabile) AND ([IdxODL] = @Original_IdxODL) AND ([CodArticolo] = @Original_CodArticolo) AND ([CodGruppo] = @Original_CodGruppo) AND ([IdxMacchina] = @Original_IdxMacchina) AND ([NumPezzi] = @Original_NumPezzi) AND ([TCAssegnato] = @Original_TCAssegnato) AND ([DueDate] = @Original_DueDate) AND ([Priorita] = @Original_Priorita));
|
||||
SELECT idxPromessa, KeyRichiesta, Attivabile, IdxODL, CodArticolo, CodGruppo, IdxMacchina, NumPezzi, TCAssegnato, DueDate, Priorita FROM PromesseODL WHERE (idxPromessa = @idxPromessa)</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@KeyRichiesta" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="KeyRichiesta" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Attivabile" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Attivabile" 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="String" Direction="Input" ParameterName="@CodArticolo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodArticolo" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodGruppo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodGruppo" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@IdxMacchina" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="IdxMacchina" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@NumPezzi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NumPezzi" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@TCAssegnato" Precision="18" ProviderType="Decimal" Scale="8" Size="0" SourceColumn="TCAssegnato" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DueDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DueDate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Priorita" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Priorita" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idxPromessa" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idxPromessa" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_KeyRichiesta" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="KeyRichiesta" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_Attivabile" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Attivabile" 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="String" Direction="Input" ParameterName="@Original_CodArticolo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodArticolo" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodGruppo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodGruppo" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_IdxMacchina" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="IdxMacchina" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_NumPezzi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NumPezzi" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_TCAssegnato" Precision="18" ProviderType="Decimal" Scale="8" Size="0" SourceColumn="TCAssegnato" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_DueDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DueDate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Priorita" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Priorita" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="idxPromessa" ColumnName="idxPromessa" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idxPromessa" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idxPromessa" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</UpdateCommand>
|
||||
</DbSource>
|
||||
</MainSource>
|
||||
<Mappings>
|
||||
<Mapping SourceColumn="idxPromessa" DataSetColumn="idxPromessa" />
|
||||
<Mapping SourceColumn="KeyRichiesta" DataSetColumn="KeyRichiesta" />
|
||||
<Mapping SourceColumn="KeyBCode" DataSetColumn="KeyBCode" />
|
||||
<Mapping SourceColumn="Attivabile" DataSetColumn="Attivabile" />
|
||||
<Mapping SourceColumn="IdxODL" DataSetColumn="IdxODL" />
|
||||
<Mapping SourceColumn="CodArticolo" DataSetColumn="CodArticolo" />
|
||||
<Mapping SourceColumn="DescArticolo" DataSetColumn="DescArticolo" />
|
||||
<Mapping SourceColumn="CodGruppo" DataSetColumn="CodGruppo" />
|
||||
<Mapping SourceColumn="IdxMacchina" DataSetColumn="IdxMacchina" />
|
||||
<Mapping SourceColumn="CodMacchina" DataSetColumn="CodMacchina" />
|
||||
<Mapping SourceColumn="Nome" DataSetColumn="Nome" />
|
||||
<Mapping SourceColumn="NumPezzi" DataSetColumn="NumPezzi" />
|
||||
<Mapping SourceColumn="TCAssegnato" DataSetColumn="TCAssegnato" />
|
||||
<Mapping SourceColumn="DueDate" DataSetColumn="DueDate" />
|
||||
<Mapping SourceColumn="Priorita" DataSetColumn="Priorita" />
|
||||
<Mapping SourceColumn="PzPallet" DataSetColumn="PzPallet" />
|
||||
</Mappings>
|
||||
<Sources>
|
||||
<DbSource ConnectionRef="MoonProConnectionString (Settings)" DbObjectName="MoonPro.dbo.stp_PODL_deleteQuery" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="deleteQuery" Modifier="Public" Name="deleteQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="deleteQuery">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_PODL_deleteQuery</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="@Original_idxPromessa" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="MoonProConnectionString (Settings)" DbObjectName="MoonPro.dbo.stp_PODL_getByIdx" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByKey" GeneratorSourceName="getByIdx" GetMethodModifier="Public" GetMethodName="getByKey" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByKey" UserSourceName="getByKey">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
@@ -2157,6 +2109,40 @@ SELECT idxPromessa, KeyRichiesta, Attivabile, IdxODL, CodArticolo, CodGruppo, Id
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="MoonProConnectionString (Settings)" DbObjectName="MoonPro.dbo.stp_PODL_insertQuery" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorGetMethodName="GetDataBy1" GeneratorSourceName="insertQuery" Modifier="Public" Name="insertQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="insertQuery">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_PODL_insertQuery</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="@KeyRichiesta" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@KeyBCode" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@Attivabile" Precision="1" ProviderType="Bit" Scale="0" Size="1" 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="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="@IdxMacchina" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@NumPezzi" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@TCAssegnato" Precision="18" ProviderType="Decimal" Scale="8" Size="9" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@DueDate" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Priorita" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@PzPallet" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="MoonProConnectionString (Settings)" DbObjectName="MoonPro.dbo.stp_PODL_updateQta" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="updateQta" Modifier="Public" Name="updateQta" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="updateQta">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_PODL_updateQta</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="@NumPezzi" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@PzPallet" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_idxPromessa" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
</Sources>
|
||||
</TableAdapter>
|
||||
</Tables>
|
||||
@@ -2896,6 +2882,13 @@ SELECT idxPromessa, KeyRichiesta, Attivabile, IdxODL, CodArticolo, CodGruppo, Id
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="KeyBCode" msprop:Generator_ColumnVarNameInTable="columnKeyBCode" msprop:Generator_ColumnPropNameInRow="KeyBCode" msprop:Generator_ColumnPropNameInTable="KeyBCodeColumn" msprop:Generator_UserColumnName="KeyBCode">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="Attivabile" msprop:Generator_ColumnVarNameInTable="columnAttivabile" msprop:Generator_ColumnPropNameInRow="Attivabile" msprop:Generator_ColumnPropNameInTable="AttivabileColumn" msprop:Generator_UserColumnName="Attivabile" type="xs:boolean" />
|
||||
<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="CodArticolo" msprop:Generator_ColumnVarNameInTable="columnCodArticolo" msprop:Generator_ColumnPropNameInRow="CodArticolo" msprop:Generator_ColumnPropNameInTable="CodArticoloColumn" msprop:Generator_UserColumnName="CodArticolo">
|
||||
@@ -2905,6 +2898,13 @@ SELECT idxPromessa, KeyRichiesta, Attivabile, IdxODL, CodArticolo, CodGruppo, Id
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="DescArticolo" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnDescArticolo" msprop:Generator_ColumnPropNameInRow="DescArticolo" msprop:Generator_ColumnPropNameInTable="DescArticoloColumn" msprop:Generator_UserColumnName="DescArticolo" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="250" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="CodGruppo" msprop:Generator_ColumnVarNameInTable="columnCodGruppo" msprop:Generator_ColumnPropNameInRow="CodGruppo" msprop:Generator_ColumnPropNameInTable="CodGruppoColumn" msprop:Generator_UserColumnName="CodGruppo">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
@@ -2919,10 +2919,25 @@ SELECT idxPromessa, KeyRichiesta, Attivabile, IdxODL, CodArticolo, CodGruppo, Id
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="CodMacchina" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnCodMacchina" msprop:Generator_ColumnPropNameInRow="CodMacchina" msprop:Generator_ColumnPropNameInTable="CodMacchinaColumn" msprop:Generator_UserColumnName="CodMacchina" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="Nome" msprop:Generator_ColumnVarNameInTable="columnNome" msprop:Generator_ColumnPropNameInRow="Nome" msprop:Generator_ColumnPropNameInTable="NomeColumn" msprop:Generator_UserColumnName="Nome" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="NumPezzi" msprop:Generator_ColumnVarNameInTable="columnNumPezzi" msprop:Generator_ColumnPropNameInRow="NumPezzi" msprop:Generator_ColumnPropNameInTable="NumPezziColumn" msprop:Generator_UserColumnName="NumPezzi" type="xs:int" />
|
||||
<xs:element name="TCAssegnato" msprop:Generator_ColumnVarNameInTable="columnTCAssegnato" msprop:Generator_ColumnPropNameInRow="TCAssegnato" msprop:Generator_ColumnPropNameInTable="TCAssegnatoColumn" msprop:Generator_UserColumnName="TCAssegnato" type="xs:decimal" />
|
||||
<xs:element name="DueDate" msprop:Generator_ColumnVarNameInTable="columnDueDate" msprop:Generator_ColumnPropNameInRow="DueDate" msprop:Generator_ColumnPropNameInTable="DueDateColumn" msprop:Generator_UserColumnName="DueDate" type="xs:dateTime" />
|
||||
<xs:element name="Priorita" msprop:Generator_ColumnVarNameInTable="columnPriorita" msprop:Generator_ColumnPropNameInRow="Priorita" msprop:Generator_ColumnPropNameInTable="PrioritaColumn" msprop:Generator_UserColumnName="Priorita" type="xs:int" />
|
||||
<xs:element name="PzPallet" msprop:Generator_ColumnVarNameInTable="columnPzPallet" msprop:Generator_ColumnPropNameInRow="PzPallet" msprop:Generator_ColumnPropNameInTable="PzPalletColumn" msprop:Generator_UserColumnName="PzPallet" type="xs:int" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
@@ -4,23 +4,23 @@
|
||||
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="-10" ViewPortY="227" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="278" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||
<Shapes>
|
||||
<Shape ID="DesignTable:TempiCicloRilevati" ZOrder="5" X="266" Y="244" Height="296" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="145" />
|
||||
<Shape ID="DesignTable:ODL" ZOrder="1" X="590" Y="407" Height="457" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="306" />
|
||||
<Shape ID="DesignTable:ODL" ZOrder="2" X="590" Y="407" Height="457" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="306" />
|
||||
<Shape ID="DesignTable:AnagArticoli" ZOrder="3" X="261" Y="516" Height="319" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="168" />
|
||||
<Shape ID="DesignTable:DatiMacchine" ZOrder="10" X="985" Y="402" Height="319" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="214" />
|
||||
<Shape ID="DesignTable:PostazioniMapo" ZOrder="23" X="950" Y="39" Height="296" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="168" />
|
||||
<Shape ID="DesignTable:stp_PzProd_getByMacchina" ZOrder="11" X="181" Y="769" Height="250" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="122" />
|
||||
<Shape ID="DesignTable:DatiConfermati" ZOrder="21" X="585" Y="50" Height="411" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="306" />
|
||||
<Shape ID="DesignTable:CalendFesteFerie" ZOrder="22" X="13" Y="736" Height="135" Width="287" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="76" />
|
||||
<Shape ID="DesignTable:stp_TempoByIdxMaccPeriodClass" ZOrder="20" X="154" Y="988" Height="113" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="54" />
|
||||
<Shape ID="DesignTable:stp_TempoByIdxMaccPeriodClass" ZOrder="20" X="154" Y="986" Height="113" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="54" />
|
||||
<Shape ID="DesignTable:DatiProduzione" ZOrder="9" X="554" Y="922" Height="457" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="306" />
|
||||
<Shape ID="DesignTable:stp_repDonati_getDatiProdMacchina" ZOrder="19" X="1005" Y="771" Height="365" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="306" />
|
||||
<Shape ID="DesignTable:stp_repDonati_getLastStatoDurataMacchina" ZOrder="18" X="1003" Y="1118" Height="135" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="76" />
|
||||
<Shape ID="DesignTable:stp_repDonati_getDatiProdMacchinaPeriodo" ZOrder="17" X="166" Y="1132" Height="204" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="145" />
|
||||
<Shape ID="DesignTable:TurniMacchina" ZOrder="16" X="13" Y="455" Height="227" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="122" />
|
||||
<Shape ID="DesignTable:MappaStatoExpl" ZOrder="4" X="891" Y="1267" Height="434" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="306" />
|
||||
<Shape ID="DesignTable:MappaStatoExpl" ZOrder="4" X="907" Y="1262" Height="434" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="306" />
|
||||
<Shape ID="DesignTable:ProduzioneAs400" ZOrder="15" X="177" Y="1342" Height="227" Width="292" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="145" />
|
||||
<Shape ID="DesignTable:ResProdDett_splitODL" ZOrder="13" X="27" Y="15" Height="227" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="168" />
|
||||
<Shape ID="DesignTable:ResProdDett_splitGG" ZOrder="12" X="31" Y="224" Height="250" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="191" />
|
||||
@@ -28,7 +28,7 @@
|
||||
<Shape ID="DesignTable:RegistroControlli" ZOrder="8" X="536" Y="1403" Height="365" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="237" />
|
||||
<Shape ID="DesignTable:RegistroScarti" ZOrder="7" X="172" Y="1581" Height="457" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="306" />
|
||||
<Shape ID="DesignTable:StatoProd" ZOrder="6" X="539" Y="1784" Height="319" Width="295" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="260" />
|
||||
<Shape ID="DesignTable:PromesseODL" ZOrder="2" X="927" Y="1720" Height="365" Width="266" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="283" />
|
||||
<Shape ID="DesignTable:PromesseODL" ZOrder="1" X="927" Y="1708" Height="457" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="306" />
|
||||
</Shapes>
|
||||
<Connectors />
|
||||
</DiagramLayout>
|
||||
@@ -89,6 +89,11 @@
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>DS_applicazione.xsd</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="DS_IntServ.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>DS_IntServ.xsd</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="DS_ProdTempi.cs">
|
||||
<DependentUpon>DS_ProdTempi.xsd</DependentUpon>
|
||||
</Compile>
|
||||
@@ -137,6 +142,7 @@
|
||||
<None Include="DS_IntServ.xsd">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSDataSetGenerator</Generator>
|
||||
<LastGenOutput>DS_IntServ.Designer.cs</LastGenOutput>
|
||||
</None>
|
||||
<None Include="DS_IntServ.xss">
|
||||
<DependentUpon>DS_IntServ.xsd</DependentUpon>
|
||||
|
||||
Reference in New Issue
Block a user