fix x non riassociare 2 volte parent/child (se trova associazioen NON LA RICREA
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -415,9 +415,20 @@ namespace GMW.WebUserControls
|
||||
{
|
||||
// controllo SE esista già UDC in AL dest... altrimenti CREO!!!
|
||||
udcDest = checkCreaUDC();
|
||||
// associo UDC con quello di destinazione SE NECESSARIO
|
||||
MagClass.magazzino.associaUdcParent(udcDest, barcodeIn, true);
|
||||
|
||||
// verifico che NON SIA GIA' associato...
|
||||
bool udcGiaAssociato = false;
|
||||
try
|
||||
{
|
||||
udcGiaAssociato = MagClass.magazzino.checkAssociazioneUdcParent(udcDest, barcodeIn);
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
if (!udcGiaAssociato)
|
||||
{
|
||||
// associo UDC con quello di destinazione SE NECESSARIO
|
||||
MagClass.magazzino.associaUdcParent(udcDest, barcodeIn, true);
|
||||
}
|
||||
// controllo se UDC non sia già stato spostato in posizione... ds magazzino, posiz udc corrente, get By udc
|
||||
if (idxCellaCurr == Postazione.currIdxCella)
|
||||
{
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Generated
+130
-22
@@ -1811,6 +1811,8 @@ namespace GMW_data {
|
||||
|
||||
private global::System.Data.DataColumn columnUDC_child;
|
||||
|
||||
private global::System.Data.DataColumn columndataMod;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public RelazUDCDataTable() {
|
||||
@@ -1860,6 +1862,14 @@ namespace GMW_data {
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public global::System.Data.DataColumn dataModColumn {
|
||||
get {
|
||||
return this.columndataMod;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Browsable(false)]
|
||||
@@ -1897,11 +1907,12 @@ namespace GMW_data {
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public RelazUDCRow AddRelazUDCRow(string UDC_parent, string UDC_child) {
|
||||
public RelazUDCRow AddRelazUDCRow(string UDC_parent, string UDC_child, System.DateTime dataMod) {
|
||||
RelazUDCRow rowRelazUDCRow = ((RelazUDCRow)(this.NewRow()));
|
||||
object[] columnValuesArray = new object[] {
|
||||
UDC_parent,
|
||||
UDC_child};
|
||||
UDC_child,
|
||||
dataMod};
|
||||
rowRelazUDCRow.ItemArray = columnValuesArray;
|
||||
this.Rows.Add(rowRelazUDCRow);
|
||||
return rowRelazUDCRow;
|
||||
@@ -1934,6 +1945,7 @@ namespace GMW_data {
|
||||
internal void InitVars() {
|
||||
this.columnUDC_parent = base.Columns["UDC_parent"];
|
||||
this.columnUDC_child = base.Columns["UDC_child"];
|
||||
this.columndataMod = base.Columns["dataMod"];
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -1943,6 +1955,8 @@ namespace GMW_data {
|
||||
base.Columns.Add(this.columnUDC_parent);
|
||||
this.columnUDC_child = new global::System.Data.DataColumn("UDC_child", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnUDC_child);
|
||||
this.columndataMod = new global::System.Data.DataColumn("dataMod", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columndataMod);
|
||||
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
||||
this.columnUDC_parent,
|
||||
this.columnUDC_child}, true));
|
||||
@@ -8937,6 +8951,34 @@ namespace GMW_data {
|
||||
this[this.tableRelazUDC.UDC_childColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public System.DateTime dataMod {
|
||||
get {
|
||||
try {
|
||||
return ((global::System.DateTime)(this[this.tableRelazUDC.dataModColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("The value for column \'dataMod\' in table \'RelazUDC\' is DBNull.", e);
|
||||
}
|
||||
}
|
||||
set {
|
||||
this[this.tableRelazUDC.dataModColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public bool IsdataModNull() {
|
||||
return this.IsNull(this.tableRelazUDC.dataModColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public void SetdataModNull() {
|
||||
this[this.tableRelazUDC.dataModColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -15317,31 +15359,39 @@ SELECT CodStato, DescStato FROM AnagStatiProdotto WHERE (CodStato = @CodStato)";
|
||||
tableMapping.DataSetTable = "RelazUDC";
|
||||
tableMapping.ColumnMappings.Add("UDC_parent", "UDC_parent");
|
||||
tableMapping.ColumnMappings.Add("UDC_child", "UDC_child");
|
||||
tableMapping.ColumnMappings.Add("dataMod", "dataMod");
|
||||
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].[RelazUDC] WHERE (([UDC_parent] = @Original_UDC_parent) AND ([U" +
|
||||
"DC_child] = @Original_UDC_child))";
|
||||
"DC_child] = @Original_UDC_child) AND ((@IsNull_dataMod = 1 AND [dataMod] IS NULL" +
|
||||
") OR ([dataMod] = @Original_dataMod)))";
|
||||
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UDC_parent", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UDC_parent", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UDC_child", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UDC_child", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_dataMod", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dataMod", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_dataMod", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dataMod", 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].[RelazUDC] ([UDC_parent], [UDC_child]) VALUES (@UDC_parent, @UD" +
|
||||
"C_child);\r\nSELECT UDC_parent, UDC_child FROM RelazUDC WHERE (UDC_child = @UDC_ch" +
|
||||
"ild) AND (UDC_parent = @UDC_parent)";
|
||||
this._adapter.InsertCommand.CommandText = "INSERT INTO [dbo].[RelazUDC] ([UDC_parent], [UDC_child], [dataMod]) VALUES (@UDC_" +
|
||||
"parent, @UDC_child, @dataMod);\r\nSELECT UDC_parent, UDC_child, dataMod FROM Relaz" +
|
||||
"UDC WHERE (UDC_child = @UDC_child) AND (UDC_parent = @UDC_parent)";
|
||||
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC_parent", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UDC_parent", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC_child", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UDC_child", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataMod", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dataMod", 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].[RelazUDC] SET [UDC_parent] = @UDC_parent, [UDC_child] = @UDC_child WHERE (([UDC_parent] = @Original_UDC_parent) AND ([UDC_child] = @Original_UDC_child));
|
||||
SELECT UDC_parent, UDC_child FROM RelazUDC WHERE (UDC_child = @UDC_child) AND (UDC_parent = @UDC_parent)";
|
||||
this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[RelazUDC] SET [UDC_parent] = @UDC_parent, [UDC_child] = @UDC_child, [dataMod] = @dataMod WHERE (([UDC_parent] = @Original_UDC_parent) AND ([UDC_child] = @Original_UDC_child) AND ((@IsNull_dataMod = 1 AND [dataMod] IS NULL) OR ([dataMod] = @Original_dataMod)));
|
||||
SELECT UDC_parent, UDC_child, dataMod FROM RelazUDC WHERE (UDC_child = @UDC_child) AND (UDC_parent = @UDC_parent)";
|
||||
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC_parent", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UDC_parent", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC_child", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UDC_child", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataMod", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dataMod", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UDC_parent", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UDC_parent", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UDC_child", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UDC_child", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_dataMod", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dataMod", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_dataMod", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dataMod", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -15354,10 +15404,10 @@ SELECT UDC_parent, UDC_child FROM RelazUDC WHERE (UDC_child = @UDC_child) AND (U
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
private void InitCommandCollection() {
|
||||
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[4];
|
||||
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 UDC_parent, UDC_child FROM dbo.RelazUDC";
|
||||
this._commandCollection[0].CommandText = "SELECT * FROM dbo.RelazUDC";
|
||||
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
|
||||
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[1].Connection = this.Connection;
|
||||
@@ -15367,16 +15417,23 @@ SELECT UDC_parent, UDC_child FROM RelazUDC WHERE (UDC_child = @UDC_child) AND (U
|
||||
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 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_getUDC_Child";
|
||||
this._commandCollection[2].CommandText = "dbo.stp_RelUdc_check";
|
||||
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("@UDC", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC_child", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC_parent", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 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_getUDC_parent";
|
||||
this._commandCollection[3].CommandText = "dbo.stp_getUDC_Child";
|
||||
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("@UDC", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 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_getUDC_parent";
|
||||
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("@UDC", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -15407,8 +15464,31 @@ SELECT UDC_parent, UDC_child FROM RelazUDC WHERE (UDC_child = @UDC_child) AND (U
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
||||
public virtual DS_Applicazione.RelazUDCDataTable stp_getChild(string UDC) {
|
||||
public virtual DS_Applicazione.RelazUDCDataTable getByParentChild(string UDC_child, string UDC_parent) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[2];
|
||||
if ((UDC_child == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(UDC_child));
|
||||
}
|
||||
if ((UDC_parent == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[2].Value = ((string)(UDC_parent));
|
||||
}
|
||||
DS_Applicazione.RelazUDCDataTable dataTable = new DS_Applicazione.RelazUDCDataTable();
|
||||
this.Adapter.Fill(dataTable);
|
||||
return dataTable;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
||||
public virtual DS_Applicazione.RelazUDCDataTable stp_getChild(string UDC) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[3];
|
||||
if ((UDC == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
||||
}
|
||||
@@ -15425,7 +15505,7 @@ SELECT UDC_parent, UDC_child FROM RelazUDC WHERE (UDC_child = @UDC_child) AND (U
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
||||
public virtual DS_Applicazione.RelazUDCDataTable stp_getParent(string UDC) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[3];
|
||||
this.Adapter.SelectCommand = this.CommandCollection[4];
|
||||
if ((UDC == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
||||
}
|
||||
@@ -15470,7 +15550,7 @@ SELECT UDC_parent, UDC_child FROM RelazUDC WHERE (UDC_child = @UDC_child) AND (U
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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(string Original_UDC_parent, string Original_UDC_child) {
|
||||
public virtual int Delete(string Original_UDC_parent, string Original_UDC_child, global::System.Nullable<global::System.DateTime> Original_dataMod) {
|
||||
if ((Original_UDC_parent == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_UDC_parent");
|
||||
}
|
||||
@@ -15483,6 +15563,14 @@ SELECT UDC_parent, UDC_child FROM RelazUDC WHERE (UDC_child = @UDC_child) AND (U
|
||||
else {
|
||||
this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_UDC_child));
|
||||
}
|
||||
if ((Original_dataMod.HasValue == true)) {
|
||||
this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(0));
|
||||
this.Adapter.DeleteCommand.Parameters[3].Value = ((System.DateTime)(Original_dataMod.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(1));
|
||||
this.Adapter.DeleteCommand.Parameters[3].Value = global::System.DBNull.Value;
|
||||
}
|
||||
global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
|
||||
if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
|
||||
!= global::System.Data.ConnectionState.Open)) {
|
||||
@@ -15503,7 +15591,7 @@ SELECT UDC_parent, UDC_child FROM RelazUDC WHERE (UDC_child = @UDC_child) AND (U
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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 UDC_parent, string UDC_child) {
|
||||
public virtual int Insert(string UDC_parent, string UDC_child, global::System.Nullable<global::System.DateTime> dataMod) {
|
||||
if ((UDC_parent == null)) {
|
||||
throw new global::System.ArgumentNullException("UDC_parent");
|
||||
}
|
||||
@@ -15516,6 +15604,12 @@ SELECT UDC_parent, UDC_child FROM RelazUDC WHERE (UDC_child = @UDC_child) AND (U
|
||||
else {
|
||||
this.Adapter.InsertCommand.Parameters[1].Value = ((string)(UDC_child));
|
||||
}
|
||||
if ((dataMod.HasValue == true)) {
|
||||
this.Adapter.InsertCommand.Parameters[2].Value = ((System.DateTime)(dataMod.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
|
||||
}
|
||||
global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
|
||||
if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
|
||||
!= global::System.Data.ConnectionState.Open)) {
|
||||
@@ -15536,7 +15630,7 @@ SELECT UDC_parent, UDC_child FROM RelazUDC WHERE (UDC_child = @UDC_child) AND (U
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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 UDC_parent, string UDC_child, string Original_UDC_parent, string Original_UDC_child) {
|
||||
public virtual int Update(string UDC_parent, string UDC_child, global::System.Nullable<global::System.DateTime> dataMod, string Original_UDC_parent, string Original_UDC_child, global::System.Nullable<global::System.DateTime> Original_dataMod) {
|
||||
if ((UDC_parent == null)) {
|
||||
throw new global::System.ArgumentNullException("UDC_parent");
|
||||
}
|
||||
@@ -15549,17 +15643,31 @@ SELECT UDC_parent, UDC_child FROM RelazUDC WHERE (UDC_child = @UDC_child) AND (U
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(UDC_child));
|
||||
}
|
||||
if ((dataMod.HasValue == true)) {
|
||||
this.Adapter.UpdateCommand.Parameters[2].Value = ((System.DateTime)(dataMod.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((Original_UDC_parent == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_UDC_parent");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(Original_UDC_parent));
|
||||
this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(Original_UDC_parent));
|
||||
}
|
||||
if ((Original_UDC_child == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_UDC_child");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(Original_UDC_child));
|
||||
this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Original_UDC_child));
|
||||
}
|
||||
if ((Original_dataMod.HasValue == true)) {
|
||||
this.Adapter.UpdateCommand.Parameters[5].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[6].Value = ((System.DateTime)(Original_dataMod.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[5].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value;
|
||||
}
|
||||
global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
|
||||
if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
|
||||
@@ -15581,8 +15689,8 @@ SELECT UDC_parent, UDC_child FROM RelazUDC WHERE (UDC_child = @UDC_child) AND (U
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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 Original_UDC_parent, string Original_UDC_child) {
|
||||
return this.Update(Original_UDC_parent, Original_UDC_child, Original_UDC_parent, Original_UDC_child);
|
||||
public virtual int Update(global::System.Nullable<global::System.DateTime> dataMod, string Original_UDC_parent, string Original_UDC_child, global::System.Nullable<global::System.DateTime> Original_dataMod) {
|
||||
return this.Update(Original_UDC_parent, Original_UDC_child, dataMod, Original_UDC_parent, Original_UDC_child, Original_dataMod);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
|
||||
@@ -171,41 +171,47 @@ where CodStato=@CodStato</CommandText>
|
||||
</TableAdapter>
|
||||
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="RelazUDCTableAdapter" GeneratorDataComponentClassName="RelazUDCTableAdapter" Name="RelazUDC" UserDataComponentName="RelazUDCTableAdapter">
|
||||
<MainSource>
|
||||
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="GMW.dbo.RelazUDC" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
|
||||
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="TK_GMW.dbo.RelazUDC" 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].[RelazUDC] WHERE (([UDC_parent] = @Original_UDC_parent) AND ([UDC_child] = @Original_UDC_child))</CommandText>
|
||||
<CommandText>DELETE FROM [dbo].[RelazUDC] WHERE (([UDC_parent] = @Original_UDC_parent) AND ([UDC_child] = @Original_UDC_child) AND ((@IsNull_dataMod = 1 AND [dataMod] IS NULL) OR ([dataMod] = @Original_dataMod)))</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_UDC_parent" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UDC_parent" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_UDC_child" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UDC_child" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dataMod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dataMod" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_dataMod" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="dataMod" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</DeleteCommand>
|
||||
<InsertCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>INSERT INTO [dbo].[RelazUDC] ([UDC_parent], [UDC_child]) VALUES (@UDC_parent, @UDC_child);
|
||||
SELECT UDC_parent, UDC_child FROM RelazUDC WHERE (UDC_child = @UDC_child) AND (UDC_parent = @UDC_parent)</CommandText>
|
||||
<CommandText>INSERT INTO [dbo].[RelazUDC] ([UDC_parent], [UDC_child], [dataMod]) VALUES (@UDC_parent, @UDC_child, @dataMod);
|
||||
SELECT UDC_parent, UDC_child, dataMod FROM RelazUDC WHERE (UDC_child = @UDC_child) AND (UDC_parent = @UDC_parent)</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@UDC_parent" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UDC_parent" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@UDC_child" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UDC_child" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@dataMod" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="dataMod" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</InsertCommand>
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>SELECT UDC_parent, UDC_child FROM dbo.RelazUDC</CommandText>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
||||
<CommandText>SELECT * FROM dbo.RelazUDC</CommandText>
|
||||
<Parameters />
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
<UpdateCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>UPDATE [dbo].[RelazUDC] SET [UDC_parent] = @UDC_parent, [UDC_child] = @UDC_child WHERE (([UDC_parent] = @Original_UDC_parent) AND ([UDC_child] = @Original_UDC_child));
|
||||
SELECT UDC_parent, UDC_child FROM RelazUDC WHERE (UDC_child = @UDC_child) AND (UDC_parent = @UDC_parent)</CommandText>
|
||||
<CommandText>UPDATE [dbo].[RelazUDC] SET [UDC_parent] = @UDC_parent, [UDC_child] = @UDC_child, [dataMod] = @dataMod WHERE (([UDC_parent] = @Original_UDC_parent) AND ([UDC_child] = @Original_UDC_child) AND ((@IsNull_dataMod = 1 AND [dataMod] IS NULL) OR ([dataMod] = @Original_dataMod)));
|
||||
SELECT UDC_parent, UDC_child, dataMod FROM RelazUDC WHERE (UDC_child = @UDC_child) AND (UDC_parent = @UDC_parent)</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@UDC_parent" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UDC_parent" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@UDC_child" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UDC_child" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@dataMod" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="dataMod" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_UDC_parent" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UDC_parent" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_UDC_child" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UDC_child" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dataMod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dataMod" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_dataMod" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="dataMod" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</UpdateCommand>
|
||||
@@ -214,6 +220,7 @@ SELECT UDC_parent, UDC_child FROM RelazUDC WHERE (UDC_child = @UDC_child) AND (U
|
||||
<Mappings>
|
||||
<Mapping SourceColumn="UDC_parent" DataSetColumn="UDC_parent" />
|
||||
<Mapping SourceColumn="UDC_child" DataSetColumn="UDC_child" />
|
||||
<Mapping SourceColumn="dataMod" DataSetColumn="dataMod" />
|
||||
</Mappings>
|
||||
<Sources>
|
||||
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="TK_GMW.dbo.stp_RelUdc_deleteChilds" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="deleteChilds" Modifier="Public" Name="deleteChilds" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="deleteChilds">
|
||||
@@ -227,6 +234,18 @@ SELECT UDC_parent, UDC_child FROM RelazUDC WHERE (UDC_child = @UDC_child) AND (U
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="TK_GMW.dbo.stp_RelUdc_check" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByParentChild" GetMethodModifier="Public" GetMethodName="getByParentChild" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByParentChild" UserSourceName="getByParentChild">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_RelUdc_check</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@UDC_child" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@UDC_parent" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="GMW.dbo.stp_getUDC_Child" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="stp_getChild" GetMethodModifier="Public" GetMethodName="stp_getChild" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="stp_getChild" UserSourceName="stp_getChild">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
@@ -757,7 +776,7 @@ SELECT UDC, CodCS, CodCliente, RagSociale, Particolare, DescParticolare, Disegno
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="TK_GMW.dbo.stp_UDC_sbloccaFusoDaPost" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="sbloccaFusoDaPost" Modifier="Public" Name="sbloccaFusoDaPost" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy5" UserSourceName="sbloccaFusoDaPost">
|
||||
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="TK_GMW.dbo.stp_UDC_sbloccaFusoDaPost" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="sbloccaFusoDaPost" Modifier="Public" Name="sbloccaFusoDaPost" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="sbloccaFusoDaPost">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_UDC_sbloccaFusoDaPost</CommandText>
|
||||
@@ -891,7 +910,7 @@ SELECT UDC, CodCS, CodCliente, RagSociale, Particolare, DescParticolare, Disegno
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="SP_GMWTest.dbo.stp_riattivaUdc" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorGetMethodName="GetDataBy3" GeneratorSourceName="stp_riattivaUdc" Modifier="Public" Name="stp_riattivaUdc" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="stp_riattivaUdc">
|
||||
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="SP_GMWTest.dbo.stp_riattivaUdc" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorGetMethodName="GetDataBy3" GeneratorSourceName="stp_riattivaUdc" Modifier="Public" Name="stp_riattivaUdc" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="stp_riattivaUdc">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_riattivaUdc</CommandText>
|
||||
@@ -903,7 +922,7 @@ SELECT UDC, CodCS, CodCliente, RagSociale, Particolare, DescParticolare, Disegno
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="SP_GMW.dbo.stp_sbloccaUdc" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="stp_sbloccaUdc" Modifier="Public" Name="stp_sbloccaUdc" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="stp_sbloccaUdc">
|
||||
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="SP_GMW.dbo.stp_sbloccaUdc" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="stp_sbloccaUdc" Modifier="Public" Name="stp_sbloccaUdc" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="stp_sbloccaUdc">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_sbloccaUdc</CommandText>
|
||||
@@ -915,7 +934,7 @@ SELECT UDC, CodCS, CodCliente, RagSociale, Particolare, DescParticolare, Disegno
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="TK_GMW.dbo.stp_UDC_associaParent" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="stp_UDC_associaParent" Modifier="Public" Name="stp_UDC_associaParent" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="stp_UDC_associaParent">
|
||||
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="TK_GMW.dbo.stp_UDC_associaParent" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="stp_UDC_associaParent" Modifier="Public" Name="stp_UDC_associaParent" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy3" UserSourceName="stp_UDC_associaParent">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_UDC_associaParent</CommandText>
|
||||
@@ -929,7 +948,7 @@ SELECT UDC, CodCS, CodCliente, RagSociale, Particolare, DescParticolare, Disegno
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="SP_GMW.dbo.stp_UDC_delete_byRdQ" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="stp_UDC_delete_byRdQ" Modifier="Public" Name="stp_UDC_delete_byRdQ" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy3" UserSourceName="stp_UDC_delete_byRdQ">
|
||||
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="SP_GMW.dbo.stp_UDC_delete_byRdQ" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="stp_UDC_delete_byRdQ" Modifier="Public" Name="stp_UDC_delete_byRdQ" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy4" UserSourceName="stp_UDC_delete_byRdQ">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_UDC_delete_byRdQ</CommandText>
|
||||
@@ -941,7 +960,7 @@ SELECT UDC, CodCS, CodCliente, RagSociale, Particolare, DescParticolare, Disegno
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="TK_GMW.dbo.stp_UDC_updateNote" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="stp_updateNote" Modifier="Public" Name="stp_updateNote" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy4" UserSourceName="stp_updateNote">
|
||||
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="TK_GMW.dbo.stp_UDC_updateNote" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="stp_updateNote" Modifier="Public" Name="stp_updateNote" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy5" UserSourceName="stp_updateNote">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_UDC_updateNote</CommandText>
|
||||
@@ -1841,6 +1860,7 @@ SELECT codPostazione, stampante FROM ElencoPostazioni WHERE (codPostazione = @co
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="dataMod" msprop:Generator_ColumnVarNameInTable="columndataMod" msprop:Generator_ColumnPropNameInRow="dataMod" msprop:Generator_ColumnPropNameInTable="dataModColumn" msprop:Generator_UserColumnName="dataMod" type="xs:dateTime" minOccurs="0" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
@@ -2996,12 +3016,12 @@ SELECT codPostazione, stampante FROM ElencoPostazioni WHERE (codPostazione = @co
|
||||
</xs:element>
|
||||
<xs:annotation>
|
||||
<xs:appinfo>
|
||||
<msdata:Relationship name="FK_AnagImpianti_AnagCompanySito" msdata:parent="AnagCompanySito" msdata:child="AnagImpianti" msdata:parentkey="CodCS" msdata:childkey="CodCS" msprop:Generator_UserChildTable="AnagImpianti" msprop:Generator_ChildPropName="GetAnagImpiantiRows" msprop:Generator_UserRelationName="FK_AnagImpianti_AnagCompanySito" msprop:Generator_RelationVarName="relationFK_AnagImpianti_AnagCompanySito" msprop:Generator_UserParentTable="AnagCompanySito" msprop:Generator_ParentPropName="AnagCompanySitoRow" />
|
||||
<msdata:Relationship name="FK_ElencoCartellini_AnagCompanySito" msdata:parent="AnagCompanySito" msdata:child="ElencoCartellini" msdata:parentkey="CodCS" msdata:childkey="CodCS" msprop:Generator_UserChildTable="ElencoCartellini" msprop:Generator_ChildPropName="GetElencoCartelliniRows" msprop:Generator_UserRelationName="FK_ElencoCartellini_AnagCompanySito" msprop:Generator_RelationVarName="relationFK_ElencoCartellini_AnagCompanySito" msprop:Generator_UserParentTable="AnagCompanySito" msprop:Generator_ParentPropName="AnagCompanySitoRow" />
|
||||
<msdata:Relationship name="FK_ElencoCartellini_AnagStatiProdotto" msdata:parent="AnagStatiProdotto" msdata:child="ElencoCartellini" msdata:parentkey="CodStato" msdata:childkey="CodStato" msprop:Generator_UserChildTable="ElencoCartellini" msprop:Generator_ChildPropName="GetElencoCartelliniRows" msprop:Generator_UserRelationName="FK_ElencoCartellini_AnagStatiProdotto" msprop:Generator_RelationVarName="relationFK_ElencoCartellini_AnagStatiProdotto" msprop:Generator_UserParentTable="AnagStatiProdotto" msprop:Generator_ParentPropName="AnagStatiProdottoRow" />
|
||||
<msdata:Relationship name="FK_AnagOperatori_AnagCompanySito" msdata:parent="AnagCompanySito" msdata:child="AnagOperatori" msdata:parentkey="CodCS" msdata:childkey="CodCS" msprop:Generator_UserChildTable="AnagOperatori" msprop:Generator_ChildPropName="GetAnagOperatoriRows" msprop:Generator_UserRelationName="FK_AnagOperatori_AnagCompanySito" msprop:Generator_RelationVarName="relationFK_AnagOperatori_AnagCompanySito" msprop:Generator_UserParentTable="AnagCompanySito" msprop:Generator_ParentPropName="AnagCompanySitoRow" />
|
||||
<msdata:Relationship name="FK_AnagParticolari_AnagCompanySito" msdata:parent="AnagCompanySito" msdata:child="AnagParticolari" msdata:parentkey="CodCS" msdata:childkey="CodCS" msprop:Generator_UserChildTable="AnagParticolari" msprop:Generator_ChildPropName="GetAnagParticolariRows" msprop:Generator_UserRelationName="FK_AnagParticolari_AnagCompanySito" msprop:Generator_RelationVarName="relationFK_AnagParticolari_AnagCompanySito" msprop:Generator_UserParentTable="AnagCompanySito" msprop:Generator_ParentPropName="AnagCompanySitoRow" />
|
||||
<msdata:Relationship name="FK_Soggetti2Utente_AnagOperatori" msdata:parent="AnagOperatori" msdata:child="Soggetti2Utente" msdata:parentkey="CodSoggetto" msdata:childkey="CodSoggetto" msprop:Generator_UserChildTable="Soggetti2Utente" msprop:Generator_ChildPropName="GetSoggetti2UtenteRows" msprop:Generator_UserRelationName="FK_Soggetti2Utente_AnagOperatori" msprop:Generator_RelationVarName="relationFK_Soggetti2Utente_AnagOperatori" msprop:Generator_UserParentTable="AnagOperatori" msprop:Generator_ParentPropName="AnagOperatoriRow" />
|
||||
<msdata:Relationship name="FK_AnagImpianti_AnagCompanySito" msdata:parent="AnagCompanySito" msdata:child="AnagImpianti" msdata:parentkey="CodCS" msdata:childkey="CodCS" msprop:Generator_UserChildTable="AnagImpianti" msprop:Generator_ChildPropName="GetAnagImpiantiRows" msprop:Generator_UserRelationName="FK_AnagImpianti_AnagCompanySito" msprop:Generator_ParentPropName="AnagCompanySitoRow" msprop:Generator_RelationVarName="relationFK_AnagImpianti_AnagCompanySito" msprop:Generator_UserParentTable="AnagCompanySito" />
|
||||
<msdata:Relationship name="FK_ElencoCartellini_AnagCompanySito" msdata:parent="AnagCompanySito" msdata:child="ElencoCartellini" msdata:parentkey="CodCS" msdata:childkey="CodCS" msprop:Generator_UserChildTable="ElencoCartellini" msprop:Generator_ChildPropName="GetElencoCartelliniRows" msprop:Generator_UserRelationName="FK_ElencoCartellini_AnagCompanySito" msprop:Generator_ParentPropName="AnagCompanySitoRow" msprop:Generator_RelationVarName="relationFK_ElencoCartellini_AnagCompanySito" msprop:Generator_UserParentTable="AnagCompanySito" />
|
||||
<msdata:Relationship name="FK_ElencoCartellini_AnagStatiProdotto" msdata:parent="AnagStatiProdotto" msdata:child="ElencoCartellini" msdata:parentkey="CodStato" msdata:childkey="CodStato" msprop:Generator_UserChildTable="ElencoCartellini" msprop:Generator_ChildPropName="GetElencoCartelliniRows" msprop:Generator_UserRelationName="FK_ElencoCartellini_AnagStatiProdotto" msprop:Generator_ParentPropName="AnagStatiProdottoRow" msprop:Generator_RelationVarName="relationFK_ElencoCartellini_AnagStatiProdotto" msprop:Generator_UserParentTable="AnagStatiProdotto" />
|
||||
<msdata:Relationship name="FK_AnagOperatori_AnagCompanySito" msdata:parent="AnagCompanySito" msdata:child="AnagOperatori" msdata:parentkey="CodCS" msdata:childkey="CodCS" msprop:Generator_UserChildTable="AnagOperatori" msprop:Generator_ChildPropName="GetAnagOperatoriRows" msprop:Generator_UserRelationName="FK_AnagOperatori_AnagCompanySito" msprop:Generator_ParentPropName="AnagCompanySitoRow" msprop:Generator_RelationVarName="relationFK_AnagOperatori_AnagCompanySito" msprop:Generator_UserParentTable="AnagCompanySito" />
|
||||
<msdata:Relationship name="FK_AnagParticolari_AnagCompanySito" msdata:parent="AnagCompanySito" msdata:child="AnagParticolari" msdata:parentkey="CodCS" msdata:childkey="CodCS" msprop:Generator_UserChildTable="AnagParticolari" msprop:Generator_ChildPropName="GetAnagParticolariRows" msprop:Generator_UserRelationName="FK_AnagParticolari_AnagCompanySito" msprop:Generator_ParentPropName="AnagCompanySitoRow" msprop:Generator_RelationVarName="relationFK_AnagParticolari_AnagCompanySito" msprop:Generator_UserParentTable="AnagCompanySito" />
|
||||
<msdata:Relationship name="FK_Soggetti2Utente_AnagOperatori" msdata:parent="AnagOperatori" msdata:child="Soggetti2Utente" msdata:parentkey="CodSoggetto" msdata:childkey="CodSoggetto" msprop:Generator_UserChildTable="Soggetti2Utente" msprop:Generator_ChildPropName="GetSoggetti2UtenteRows" msprop:Generator_UserRelationName="FK_Soggetti2Utente_AnagOperatori" msprop:Generator_ParentPropName="AnagOperatoriRow" msprop:Generator_RelationVarName="relationFK_Soggetti2Utente_AnagOperatori" msprop:Generator_UserParentTable="AnagOperatori" />
|
||||
</xs:appinfo>
|
||||
</xs:annotation>
|
||||
</xs:schema>
|
||||
@@ -4,31 +4,31 @@
|
||||
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="4" 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="-47" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||
<Shapes>
|
||||
<Shape ID="DesignTable:AnagStati" ZOrder="26" X="867" Y="533" Height="115" Width="201" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:AnagTipoDichiaraz" ZOrder="10" X="828" Y="719" Height="115" Width="254" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:AnagStatiProdotto" ZOrder="17" X="157" Y="722" Height="134" Width="196" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:RelazUDC" ZOrder="25" X="27" Y="249" Height="172" Width="201" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:AnagImpianti" ZOrder="23" X="853" Y="19" Height="191" Width="224" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:AnagCompanySito" ZOrder="22" X="1129" Y="83" Height="172" Width="184" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:AnagBilance" ZOrder="21" X="858" Y="224" Height="172" Width="227" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:ElencoCartellini" ZOrder="1" X="464" Y="4" Height="761" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="520" />
|
||||
<Shape ID="DesignTable:AnagImballi" ZOrder="19" X="72" Y="488" Height="153" Width="225" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:v_ArtInProd" ZOrder="13" X="1181" Y="757" Height="324" Width="198" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:AnagOperatori" ZOrder="9" X="488" Y="821" Height="267" Width="237" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
|
||||
<Shape ID="DesignTable:AnagClienti" ZOrder="18" X="792" Y="995" Height="153" Width="269" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:AnagParticolari" ZOrder="16" X="1190" Y="331" Height="210" Width="234" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
|
||||
<Shape ID="DesignTable:AnagFamiglie" ZOrder="14" X="1193" Y="567" Height="134" Width="231" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:Soggetti2Utente" ZOrder="11" X="89" Y="880" Height="172" Width="216" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:v_specParticolari" ZOrder="3" X="30" Y="-23" Height="267" Width="217" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
|
||||
<Shape ID="DesignTable:ElencoPostazioni" ZOrder="6" X="1167" Y="1106" Height="134" Width="242" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:stp_prtCartLiquidiF10ByUDC" ZOrder="5" X="289" Y="22" Height="148" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="80" />
|
||||
<Shape ID="DesignTable:stp_prtCartLiquidiF18ByUDC" ZOrder="4" X="291" Y="196" Height="147" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="79" />
|
||||
<Shape ID="DesignTable:v_RapQualNote" ZOrder="2" X="85" Y="1082" Height="343" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:AnagTipoDichiaraz" ZOrder="11" X="828" Y="719" Height="115" Width="254" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:AnagStatiProdotto" ZOrder="18" X="157" Y="722" Height="134" Width="196" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:RelazUDC" ZOrder="1" X="27" Y="249" Height="210" Width="239" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:AnagImpianti" ZOrder="24" X="853" Y="19" Height="191" Width="224" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:AnagCompanySito" ZOrder="23" X="1129" Y="83" Height="172" Width="184" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:AnagBilance" ZOrder="22" X="858" Y="224" Height="172" Width="227" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:ElencoCartellini" ZOrder="2" X="464" Y="4" Height="761" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="520" />
|
||||
<Shape ID="DesignTable:AnagImballi" ZOrder="20" X="72" Y="488" Height="153" Width="225" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:v_ArtInProd" ZOrder="14" X="1181" Y="757" Height="324" Width="198" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:AnagOperatori" ZOrder="10" X="488" Y="821" Height="267" Width="237" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
|
||||
<Shape ID="DesignTable:AnagClienti" ZOrder="19" X="792" Y="995" Height="153" Width="269" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:AnagParticolari" ZOrder="17" X="1190" Y="331" Height="210" Width="234" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
|
||||
<Shape ID="DesignTable:AnagFamiglie" ZOrder="15" X="1193" Y="567" Height="134" Width="231" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:Soggetti2Utente" ZOrder="12" X="89" Y="880" Height="172" Width="216" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:v_specParticolari" ZOrder="4" X="30" Y="-23" Height="267" Width="217" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
|
||||
<Shape ID="DesignTable:ElencoPostazioni" ZOrder="7" X="1167" Y="1106" Height="134" Width="242" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:stp_prtCartLiquidiF10ByUDC" ZOrder="6" X="289" Y="22" Height="148" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="80" />
|
||||
<Shape ID="DesignTable:stp_prtCartLiquidiF18ByUDC" ZOrder="5" X="291" Y="196" Height="147" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="79" />
|
||||
<Shape ID="DesignTable:v_RapQualNote" ZOrder="3" X="85" Y="1082" Height="343" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
</Shapes>
|
||||
<Connectors>
|
||||
<Connector ID="DesignRelation:FK_AnagImpianti_AnagCompanySito" ZOrder="24" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_AnagImpianti_AnagCompanySito" ZOrder="25" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>1129</X>
|
||||
@@ -40,7 +40,7 @@
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_ElencoCartellini_AnagCompanySito" ZOrder="8" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_ElencoCartellini_AnagCompanySito" ZOrder="9" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>1170</X>
|
||||
@@ -56,7 +56,7 @@
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_ElencoCartellini_AnagStatiProdotto" ZOrder="20" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_ElencoCartellini_AnagStatiProdotto" ZOrder="21" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>336</X>
|
||||
@@ -72,7 +72,7 @@
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_AnagOperatori_AnagCompanySito" ZOrder="7" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_AnagOperatori_AnagCompanySito" ZOrder="8" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>1154</X>
|
||||
@@ -88,7 +88,7 @@
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_AnagParticolari_AnagCompanySito" ZOrder="15" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_AnagParticolari_AnagCompanySito" ZOrder="16" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>1248</X>
|
||||
@@ -100,7 +100,7 @@
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_Soggetti2Utente_AnagOperatori" ZOrder="12" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_Soggetti2Utente_AnagOperatori" ZOrder="13" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>488</X>
|
||||
|
||||
+19
-2
@@ -1098,7 +1098,7 @@ namespace GMW_data
|
||||
try
|
||||
{
|
||||
// salvo associazione parent-child tra UDC!
|
||||
DataProxy.obj.taRelazUDC.Insert(UDC_parentTrim, answ);
|
||||
DataProxy.obj.taRelazUDC.Insert(UDC_parentTrim, answ, DateTime.Now);
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
@@ -1232,7 +1232,7 @@ namespace GMW_data
|
||||
try
|
||||
{
|
||||
// salvo associazione parent-child tra UDC!
|
||||
DataProxy.obj.taRelazUDC.Insert(UDC_parentTrim, answ);
|
||||
DataProxy.obj.taRelazUDC.Insert(UDC_parentTrim, answ, DateTime.Now);
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
@@ -1262,6 +1262,23 @@ namespace GMW_data
|
||||
return answ;
|
||||
}
|
||||
/// <summary>
|
||||
/// VERIFICA se ci sia associazione tra udc e l'UDCParent e restituisce TRUE se sia già associato
|
||||
/// </summary>
|
||||
/// <param name="codUdc">UDC destinazione</param>
|
||||
/// <param name="codParent">UDC parent</param>
|
||||
/// <returns></returns>
|
||||
public bool checkAssociazioneUdcParent(string codUdc, string codParent)
|
||||
{
|
||||
bool answ = false;
|
||||
try
|
||||
{
|
||||
answ = DataProxy.obj.taRelazUDC.getByParentChild(codUdc, codParent).Rows.Count > 0;
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
return answ;
|
||||
}
|
||||
/// <summary>
|
||||
/// associa udc all'UDCParent
|
||||
/// </summary>
|
||||
/// <param name="codUdc">UDC destinazione</param>
|
||||
|
||||
+2
-2
@@ -5,7 +5,7 @@
|
||||
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: AssemblyVersion("2.8.769.1897")]
|
||||
[assembly: AssemblyFileVersion("2.8.769.1897")]
|
||||
[assembly: AssemblyVersion("2.8.770.1897")]
|
||||
[assembly: AssemblyFileVersion("2.8.770.1897")]
|
||||
[assembly: AssemblyCopyright("Steamware © 2007-2015")]
|
||||
[assembly: AssemblyCompany("Steamware")]
|
||||
|
||||
+2
-2
@@ -6,8 +6,8 @@
|
||||
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: AssemblyVersion("2.8.769.<#= this.RevisionNumber #>")]
|
||||
[assembly: AssemblyFileVersion("2.8.769.<#= this.RevisionNumber #>")]
|
||||
[assembly: AssemblyVersion("2.8.770.<#= this.RevisionNumber #>")]
|
||||
[assembly: AssemblyFileVersion("2.8.770.<#= this.RevisionNumber #>")]
|
||||
[assembly: AssemblyCopyright("Steamware © 2007-<#= DateTime.Now.Year #>")]
|
||||
[assembly: AssemblyCompany("Steamware")]
|
||||
<#+
|
||||
|
||||
Reference in New Issue
Block a user