Aggancia chaive x editing/detail GrView!!!
This commit is contained in:
+2
-2
@@ -41,8 +41,8 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<uc1:mod_newQuote ID="mod_newQuote1" runat="server" />
|
||||
<uc2:mod_QuoteList ID="mod_QuoteList1" runat="server" />
|
||||
<%--<uc1:mod_newQuote ID="mod_newQuote1" runat="server" />
|
||||
<uc2:mod_QuoteList ID="mod_QuoteList1" runat="server" />--%>
|
||||
<br />
|
||||
<br />
|
||||
</asp:Content>
|
||||
|
||||
+6
-2
@@ -11,12 +11,15 @@ namespace C2P
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
#if false
|
||||
mod_newQuote1.eh_newSearchData += mod_newQuote1_eh_newSearchData;
|
||||
mod_newQuote1.eh_newQuote += mod_newQuote1_eh_newQuote;
|
||||
mod_newQuote1.eh_reset += mod_newQuote1_eh_reset;
|
||||
mod_QuoteList1.eh_loadReq += mod_QuoteList1_eh_loadReq;
|
||||
mod_QuoteList1.eh_loadReq += mod_QuoteList1_eh_loadReq;
|
||||
#endif
|
||||
}
|
||||
|
||||
#if false
|
||||
void mod_newQuote1_eh_reset(object sender, EventArgs e)
|
||||
{
|
||||
mod_QuoteList1.reset();
|
||||
@@ -39,6 +42,7 @@ namespace C2P
|
||||
void mod_newQuote1_eh_newSearchData(object sender, EventArgs e)
|
||||
{
|
||||
mod_QuoteList1.doUpdate();
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
Generated
-18
@@ -38,23 +38,5 @@ namespace C2P {
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.HyperLink HyperLink3;
|
||||
|
||||
/// <summary>
|
||||
/// mod_newQuote1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::C2P.WebUserControls.mod_newQuote mod_newQuote1;
|
||||
|
||||
/// <summary>
|
||||
/// mod_QuoteList1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::C2P.WebUserControls.mod_QuoteList mod_QuoteList1;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10,16 +10,16 @@
|
||||
<div class="col-sm-8 col-sm-offset-4">
|
||||
<div class="row">
|
||||
<div class="col-sm-3">
|
||||
<asp:LinkButton runat="server" Width="100%" ID="lbOpen" CssClass="btn btn-success"><i class="fa fa-search"></i> <%:traduci("Open") %></asp:LinkButton>
|
||||
<asp:LinkButton runat="server" Width="100%" ID="lbOpen" CssClass="btn btn-success" OnClick="lbOpen_Click"><i class="fa fa-search"></i> <%:traduci("Open") %></asp:LinkButton>
|
||||
</div>
|
||||
<div class="col-sm-3">
|
||||
<asp:LinkButton runat="server" Width="100%" ID="lbDuplicate" CssClass="btn btn-warning"><i class="fa fa-code-fork"></i> <%:traduci("Duplicate") %></asp:LinkButton>
|
||||
<asp:LinkButton runat="server" Width="100%" ID="lbDuplicate" CssClass="btn btn-warning" OnClick="lbDuplicate_Click"><i class="fa fa-code-fork"></i> <%:traduci("Duplicate") %></asp:LinkButton>
|
||||
</div>
|
||||
<div class="col-sm-3">
|
||||
<asp:LinkButton runat="server" Width="100%" ID="lbSimulate" CssClass="btn btn-danger"><i class="fa fa-flask"></i> <%:traduci("Simulate") %></asp:LinkButton>
|
||||
<asp:LinkButton runat="server" Width="100%" ID="lbSimulate" CssClass="btn btn-danger" OnClick="lbSimulate_Click"><i class="fa fa-flask"></i> <%:traduci("Simulate") %></asp:LinkButton>
|
||||
</div>
|
||||
<div class="col-sm-3">
|
||||
<asp:LinkButton runat="server" Width="100%" ID="lbPrint" CssClass="btn btn-info"><i class="fa fa-print"></i> <%:traduci("Print") %></asp:LinkButton>
|
||||
<asp:LinkButton runat="server" Width="100%" ID="lbPrint" CssClass="btn btn-info" OnClick="lbPrint_Click"><i class="fa fa-print"></i> <%:traduci("Print") %></asp:LinkButton>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -180,6 +180,7 @@
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>--%>
|
||||
<asp:BoundField DataField="CodQuote" HeaderText="Offer #" SortExpression="CodQuote" ReadOnly="true" />
|
||||
<asp:BoundField DataField="idxQState" HeaderText="QS" SortExpression="idxQState" ReadOnly="true" />
|
||||
<asp:BoundField DataField="ClientName" HeaderText="Customer" SortExpression="ClientName" ReadOnly="true" />
|
||||
<asp:BoundField DataField="RawMat" HeaderText="Alloy" SortExpression="RawMat" ReadOnly="true" />
|
||||
<asp:BoundField DataField="CodItem" HeaderText="Item" SortExpression="CodItem" ReadOnly="true" />
|
||||
|
||||
@@ -25,6 +25,7 @@ namespace C2P.WebUserControls
|
||||
if (!Page.IsPostBack)
|
||||
{
|
||||
grView.Visible = false;
|
||||
lblResults.Visible = false;
|
||||
numSel = 0;
|
||||
}
|
||||
setBtnVisib();
|
||||
@@ -99,9 +100,9 @@ namespace C2P.WebUserControls
|
||||
protected void grView_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
// verifico parametri riga scelta
|
||||
string QuoteType = grView.SelectedDataKey["QuoteType"].ToString();
|
||||
long CodQuote = Convert.ToInt64(grView.SelectedDataKey["CodQuote"]);
|
||||
int QuoteRev = Convert.ToInt16(grView.SelectedDataKey["QuoteRev"]);
|
||||
QuoteType = grView.SelectedDataKey["QuoteType"].ToString();
|
||||
CodQuote = grView.SelectedDataKey["CodQuote"].ToString();
|
||||
QuoteRev = grView.SelectedDataKey["QuoteRev"].ToString();
|
||||
// verifico tipo di caricamento...
|
||||
string _comando = "";
|
||||
if (SteamWare.memLayer.ML.isInSessionObject("nextObjCommand"))
|
||||
@@ -128,15 +129,6 @@ namespace C2P.WebUserControls
|
||||
default:
|
||||
break;
|
||||
}
|
||||
//if (_comando == "load")
|
||||
//{
|
||||
// memLayer.ML.setSessionVal("QuoteType", QuoteType);
|
||||
// memLayer.ML.setSessionVal("CodQuote", CodQuote);
|
||||
// memLayer.ML.setSessionVal("QuoteRev", QuoteRev);
|
||||
//}
|
||||
//else
|
||||
//{
|
||||
//}
|
||||
}
|
||||
/// <summary>
|
||||
/// Calcola css dato valore prezzo offerto vs importi full cost e min price
|
||||
@@ -180,7 +172,7 @@ namespace C2P.WebUserControls
|
||||
{
|
||||
get
|
||||
{
|
||||
return string.Format("{0} ({1})", grView.Rows.Count, grView.PageSize * grView.PageCount);
|
||||
return string.Format("{0} ({1})", grView.Rows.Count, grView.PageSize * (grView.PageCount - 1) + grView.Rows.Count);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -220,6 +212,7 @@ namespace C2P.WebUserControls
|
||||
{
|
||||
// mostro il gridview!
|
||||
grView.Visible = true;
|
||||
lblResults.Visible = true;
|
||||
}
|
||||
/// <summary>
|
||||
/// reset ricerca
|
||||
@@ -231,6 +224,7 @@ namespace C2P.WebUserControls
|
||||
Response.Redirect("OffersArchive");
|
||||
// nascondo il gridview!
|
||||
grView.Visible = false;
|
||||
lblResults.Visible = false;
|
||||
}
|
||||
/// <summary>
|
||||
/// seleziona/deseleziona le righe indicate...
|
||||
@@ -265,7 +259,6 @@ namespace C2P.WebUserControls
|
||||
/// <param name="e"></param>
|
||||
protected void btnSel_Click(object sender, EventArgs e)
|
||||
{
|
||||
// seleziono tutti i valori visibili nel datagrid
|
||||
CheckBox chkbox = ((CheckBox)sender);
|
||||
bool isChecked = chkbox.Checked;
|
||||
if (isChecked)
|
||||
@@ -276,7 +269,94 @@ namespace C2P.WebUserControls
|
||||
{
|
||||
numSel--;
|
||||
}
|
||||
// salvo riga attuale...
|
||||
GridViewRow riga = ((GridViewRow)chkbox.NamingContainer);
|
||||
grView.SelectedIndex = riga.DataItemIndex;
|
||||
QuoteType = grView.SelectedDataKey["QuoteType"].ToString();
|
||||
CodQuote = grView.SelectedDataKey["CodQuote"].ToString();
|
||||
QuoteRev = grView.SelectedDataKey["QuoteRev"].ToString();
|
||||
//grView.SelectedIndex = -1;
|
||||
// fix visibilità buttons
|
||||
setBtnVisib();
|
||||
}
|
||||
/// <summary>
|
||||
/// Tipo Quote
|
||||
/// </summary>
|
||||
protected string QuoteType
|
||||
{
|
||||
get
|
||||
{
|
||||
return memLayer.ML.StringSessionObj("LastQuoteType");
|
||||
}
|
||||
set
|
||||
{
|
||||
memLayer.ML.setSessionVal("LastQuoteType", value);
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// Codice Quote
|
||||
/// </summary>
|
||||
protected string CodQuote
|
||||
{
|
||||
get
|
||||
{
|
||||
return memLayer.ML.StringSessionObj("LastCodQuote");
|
||||
}
|
||||
set
|
||||
{
|
||||
memLayer.ML.setSessionVal("LastCodQuote", value);
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// Revisione
|
||||
/// </summary>
|
||||
protected string QuoteRev
|
||||
{
|
||||
get
|
||||
{
|
||||
return memLayer.ML.StringSessionObj("LastQuoteRev");
|
||||
}
|
||||
set
|
||||
{
|
||||
memLayer.ML.setSessionVal("LastQuoteRev", value);
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// Apre offerta selezionata!
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void lbOpen_Click(object sender, EventArgs e)
|
||||
{
|
||||
// apro con link nuova offerta!
|
||||
Response.Redirect(string.Format("Quote?QuoteType={0}&CodQuote={1}&QuoteRev={2}", QuoteType, CodQuote, QuoteRev));
|
||||
}
|
||||
/// <summary>
|
||||
/// duplica offerta selezionata
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void lbDuplicate_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
/// <summary>
|
||||
/// crea nuova simulazioen da offerta selezionata
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void lbSimulate_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
/// <summary>
|
||||
/// stampa offerta(e) selezionata(e)
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void lbPrint_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Generated
+145
-75
@@ -578,6 +578,8 @@ namespace C2P_Data {
|
||||
|
||||
private global::System.Data.DataColumn columnOrdPrice;
|
||||
|
||||
private global::System.Data.DataColumn columnIdxQState;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public QuoteListDataTable() {
|
||||
@@ -747,6 +749,14 @@ namespace C2P_Data {
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public global::System.Data.DataColumn IdxQStateColumn {
|
||||
get {
|
||||
return this.columnIdxQState;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Browsable(false)]
|
||||
@@ -801,7 +811,8 @@ namespace C2P_Data {
|
||||
System.DateTime OrdDate,
|
||||
string OrdNum,
|
||||
string OrdRow,
|
||||
decimal OrdPrice) {
|
||||
decimal OrdPrice,
|
||||
int IdxQState) {
|
||||
QuoteListRow rowQuoteListRow = ((QuoteListRow)(this.NewRow()));
|
||||
object[] columnValuesArray = new object[] {
|
||||
QuoteType,
|
||||
@@ -820,7 +831,8 @@ namespace C2P_Data {
|
||||
OrdDate,
|
||||
OrdNum,
|
||||
OrdRow,
|
||||
OrdPrice};
|
||||
OrdPrice,
|
||||
IdxQState};
|
||||
rowQuoteListRow.ItemArray = columnValuesArray;
|
||||
this.Rows.Add(rowQuoteListRow);
|
||||
return rowQuoteListRow;
|
||||
@@ -869,6 +881,7 @@ namespace C2P_Data {
|
||||
this.columnOrdNum = base.Columns["OrdNum"];
|
||||
this.columnOrdRow = base.Columns["OrdRow"];
|
||||
this.columnOrdPrice = base.Columns["OrdPrice"];
|
||||
this.columnIdxQState = base.Columns["IdxQState"];
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -908,6 +921,8 @@ namespace C2P_Data {
|
||||
base.Columns.Add(this.columnOrdRow);
|
||||
this.columnOrdPrice = new global::System.Data.DataColumn("OrdPrice", typeof(decimal), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnOrdPrice);
|
||||
this.columnIdxQState = new global::System.Data.DataColumn("IdxQState", typeof(int), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnIdxQState);
|
||||
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
||||
this.columnQuoteType,
|
||||
this.columnCodQuote,
|
||||
@@ -938,6 +953,7 @@ namespace C2P_Data {
|
||||
this.columnOrdRow.AllowDBNull = false;
|
||||
this.columnOrdRow.MaxLength = 50;
|
||||
this.columnOrdPrice.AllowDBNull = false;
|
||||
this.columnIdxQState.AllowDBNull = false;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -3558,6 +3574,8 @@ namespace C2P_Data {
|
||||
|
||||
private global::System.Data.DataColumn columnPckSur;
|
||||
|
||||
private global::System.Data.DataColumn columnIdxQState;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public QuoteFull_QDataTable() {
|
||||
@@ -4231,6 +4249,14 @@ namespace C2P_Data {
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public global::System.Data.DataColumn IdxQStateColumn {
|
||||
get {
|
||||
return this.columnIdxQState;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Browsable(false)]
|
||||
@@ -4348,7 +4374,8 @@ namespace C2P_Data {
|
||||
decimal P_PriceOff,
|
||||
decimal NetMar,
|
||||
decimal FCShield,
|
||||
decimal PckSur) {
|
||||
decimal PckSur,
|
||||
int IdxQState) {
|
||||
QuoteFull_QRow rowQuoteFull_QRow = ((QuoteFull_QRow)(this.NewRow()));
|
||||
object[] columnValuesArray = new object[] {
|
||||
Vers,
|
||||
@@ -4430,7 +4457,8 @@ namespace C2P_Data {
|
||||
P_PriceOff,
|
||||
NetMar,
|
||||
FCShield,
|
||||
PckSur};
|
||||
PckSur,
|
||||
IdxQState};
|
||||
rowQuoteFull_QRow.ItemArray = columnValuesArray;
|
||||
this.Rows.Add(rowQuoteFull_QRow);
|
||||
return rowQuoteFull_QRow;
|
||||
@@ -4542,6 +4570,7 @@ namespace C2P_Data {
|
||||
this.columnNetMar = base.Columns["NetMar"];
|
||||
this.columnFCShield = base.Columns["FCShield"];
|
||||
this.columnPckSur = base.Columns["PckSur"];
|
||||
this.columnIdxQState = base.Columns["IdxQState"];
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -4707,6 +4736,8 @@ namespace C2P_Data {
|
||||
base.Columns.Add(this.columnFCShield);
|
||||
this.columnPckSur = new global::System.Data.DataColumn("PckSur", typeof(decimal), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnPckSur);
|
||||
this.columnIdxQState = new global::System.Data.DataColumn("IdxQState", typeof(int), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnIdxQState);
|
||||
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
||||
this.columnQuoteType,
|
||||
this.columnCodQuote,
|
||||
@@ -4785,6 +4816,7 @@ namespace C2P_Data {
|
||||
this.columnNetMar.ReadOnly = true;
|
||||
this.columnFCShield.ReadOnly = true;
|
||||
this.columnPckSur.ReadOnly = true;
|
||||
this.columnIdxQState.AllowDBNull = false;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -5122,6 +5154,17 @@ namespace C2P_Data {
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public int IdxQState {
|
||||
get {
|
||||
return ((int)(this[this.tableQuoteList.IdxQStateColumn]));
|
||||
}
|
||||
set {
|
||||
this[this.tableQuoteList.IdxQStateColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public bool IsKeyAMNull() {
|
||||
@@ -7332,6 +7375,17 @@ namespace C2P_Data {
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public int IdxQState {
|
||||
get {
|
||||
return ((int)(this[this.tableQuoteFull_Q.IdxQStateColumn]));
|
||||
}
|
||||
set {
|
||||
this[this.tableQuoteFull_Q.IdxQStateColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public bool IsCodClientAssocNull() {
|
||||
@@ -8205,14 +8259,16 @@ namespace C2P_Data.DS_QuotesTableAdapters {
|
||||
tableMapping.ColumnMappings.Add("OrdNum", "OrdNum");
|
||||
tableMapping.ColumnMappings.Add("OrdRow", "OrdRow");
|
||||
tableMapping.ColumnMappings.Add("OrdPrice", "OrdPrice");
|
||||
tableMapping.ColumnMappings.Add("IdxQState", "IdxQState");
|
||||
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].[QuoteList] WHERE (([QuoteType] = @Original_QuoteType) AND ([CodQuote] = @Original_CodQuote) AND ([QuoteRev] = @Original_QuoteRev) AND ([CodClient] = @Original_CodClient) AND ([CodItem] = @Original_CodItem) AND ([CodItemGroup] = @Original_CodItemGroup) AND ([RawMat] = @Original_RawMat) AND ([UnitWeight] = @Original_UnitWeight) AND ([BatchQty] = @Original_BatchQty) AND ([CodInco] = @Original_CodInco) AND ([KeyAM] = @Original_KeyAM) AND ([Note] = @Original_Note) AND ([PriceOff] = @Original_PriceOff) AND ((@IsNull_OrdDate = 1 AND [OrdDate] IS NULL) OR ([OrdDate] = @Original_OrdDate)) AND ([OrdNum] = @Original_OrdNum) AND ([OrdRow] = @Original_OrdRow) AND ([OrdPrice] = @Original_OrdPrice))";
|
||||
this._adapter.DeleteCommand.CommandText = @"DELETE FROM [dbo].[QuoteList] WHERE (([QuoteType] = @Original_QuoteType) AND ([CodQuote] = @Original_CodQuote) AND ([QuoteRev] = @Original_QuoteRev) AND ([IdxQState] = @Original_IdxQState) AND ([CodClient] = @Original_CodClient) AND ([CodItem] = @Original_CodItem) AND ([CodItemGroup] = @Original_CodItemGroup) AND ([RawMat] = @Original_RawMat) AND ([UnitWeight] = @Original_UnitWeight) AND ([BatchQty] = @Original_BatchQty) AND ([CodInco] = @Original_CodInco) AND ([KeyAM] = @Original_KeyAM) AND ([Note] = @Original_Note) AND ([PriceOff] = @Original_PriceOff) AND ((@IsNull_OrdDate = 1 AND [OrdDate] IS NULL) OR ([OrdDate] = @Original_OrdDate)) AND ([OrdNum] = @Original_OrdNum) AND ([OrdRow] = @Original_OrdRow) AND ([OrdPrice] = @Original_OrdPrice))";
|
||||
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_QuoteType", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QuoteType", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodQuote", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodQuote", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_QuoteRev", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QuoteRev", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxQState", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxQState", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodClient", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodClient", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodItem", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodItem", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodItemGroup", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodItemGroup", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
@@ -8230,12 +8286,13 @@ namespace C2P_Data.DS_QuotesTableAdapters {
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_OrdPrice", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "OrdPrice", 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].[QuoteList] ([QuoteType], [CodQuote], [QuoteRev], [CodClient], [CodItem], [CodItemGroup], [RawMat], [UnitWeight], [BatchQty], [CodInco], [Note], [PriceOff], [OrdDate], [OrdNum], [OrdRow], [OrdPrice]) VALUES (@QuoteType, @CodQuote, @QuoteRev, @CodClient, @CodItem, @CodItemGroup, @RawMat, @UnitWeight, @BatchQty, @CodInco, @Note, @PriceOff, @OrdDate, @OrdNum, @OrdRow, @OrdPrice);
|
||||
SELECT QuoteType, CodQuote, QuoteRev, CodClient, CodItem, CodItemGroup, RawMat, UnitWeight, BatchQty, CodInco, KeyAM, Note, PriceOff, OrdDate, OrdNum, OrdRow, OrdPrice FROM QuoteList WHERE (CodQuote = @CodQuote) AND (QuoteRev = @QuoteRev) AND (QuoteType = @QuoteType)";
|
||||
this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[QuoteList] ([QuoteType], [CodQuote], [QuoteRev], [IdxQState], [CodClient], [CodItem], [CodItemGroup], [RawMat], [UnitWeight], [BatchQty], [CodInco], [Note], [PriceOff], [OrdDate], [OrdNum], [OrdRow], [OrdPrice]) VALUES (@QuoteType, @CodQuote, @QuoteRev, @IdxQState, @CodClient, @CodItem, @CodItemGroup, @RawMat, @UnitWeight, @BatchQty, @CodInco, @Note, @PriceOff, @OrdDate, @OrdNum, @OrdRow, @OrdPrice);
|
||||
SELECT QuoteType, CodQuote, QuoteRev, IdxQState, CodClient, CodItem, CodItemGroup, RawMat, UnitWeight, BatchQty, CodInco, KeyAM, Note, PriceOff, OrdDate, OrdNum, OrdRow, OrdPrice FROM QuoteList WHERE (CodQuote = @CodQuote) AND (QuoteRev = @QuoteRev) AND (QuoteType = @QuoteType)";
|
||||
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuoteType", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QuoteType", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodQuote", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodQuote", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuoteRev", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QuoteRev", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxQState", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxQState", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodClient", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodClient", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodItem", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodItem", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodItemGroup", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodItemGroup", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
@@ -8251,12 +8308,13 @@ SELECT QuoteType, CodQuote, QuoteRev, CodClient, CodItem, CodItemGroup, RawMat,
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@OrdPrice", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "OrdPrice", 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].[QuoteList] SET [QuoteType] = @QuoteType, [CodQuote] = @CodQuote, [QuoteRev] = @QuoteRev, [CodClient] = @CodClient, [CodItem] = @CodItem, [CodItemGroup] = @CodItemGroup, [RawMat] = @RawMat, [UnitWeight] = @UnitWeight, [BatchQty] = @BatchQty, [CodInco] = @CodInco, [Note] = @Note, [PriceOff] = @PriceOff, [OrdDate] = @OrdDate, [OrdNum] = @OrdNum, [OrdRow] = @OrdRow, [OrdPrice] = @OrdPrice WHERE (([QuoteType] = @Original_QuoteType) AND ([CodQuote] = @Original_CodQuote) AND ([QuoteRev] = @Original_QuoteRev) AND ([CodClient] = @Original_CodClient) AND ([CodItem] = @Original_CodItem) AND ([CodItemGroup] = @Original_CodItemGroup) AND ([RawMat] = @Original_RawMat) AND ([UnitWeight] = @Original_UnitWeight) AND ([BatchQty] = @Original_BatchQty) AND ([CodInco] = @Original_CodInco) AND ([KeyAM] = @Original_KeyAM) AND ([Note] = @Original_Note) AND ([PriceOff] = @Original_PriceOff) AND ((@IsNull_OrdDate = 1 AND [OrdDate] IS NULL) OR ([OrdDate] = @Original_OrdDate)) AND ([OrdNum] = @Original_OrdNum) AND ([OrdRow] = @Original_OrdRow) AND ([OrdPrice] = @Original_OrdPrice));
|
||||
SELECT QuoteType, CodQuote, QuoteRev, CodClient, CodItem, CodItemGroup, RawMat, UnitWeight, BatchQty, CodInco, KeyAM, Note, PriceOff, OrdDate, OrdNum, OrdRow, OrdPrice FROM QuoteList WHERE (CodQuote = @CodQuote) AND (QuoteRev = @QuoteRev) AND (QuoteType = @QuoteType)";
|
||||
this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[QuoteList] SET [QuoteType] = @QuoteType, [CodQuote] = @CodQuote, [QuoteRev] = @QuoteRev, [IdxQState] = @IdxQState, [CodClient] = @CodClient, [CodItem] = @CodItem, [CodItemGroup] = @CodItemGroup, [RawMat] = @RawMat, [UnitWeight] = @UnitWeight, [BatchQty] = @BatchQty, [CodInco] = @CodInco, [Note] = @Note, [PriceOff] = @PriceOff, [OrdDate] = @OrdDate, [OrdNum] = @OrdNum, [OrdRow] = @OrdRow, [OrdPrice] = @OrdPrice WHERE (([QuoteType] = @Original_QuoteType) AND ([CodQuote] = @Original_CodQuote) AND ([QuoteRev] = @Original_QuoteRev) AND ([IdxQState] = @Original_IdxQState) AND ([CodClient] = @Original_CodClient) AND ([CodItem] = @Original_CodItem) AND ([CodItemGroup] = @Original_CodItemGroup) AND ([RawMat] = @Original_RawMat) AND ([UnitWeight] = @Original_UnitWeight) AND ([BatchQty] = @Original_BatchQty) AND ([CodInco] = @Original_CodInco) AND ([KeyAM] = @Original_KeyAM) AND ([Note] = @Original_Note) AND ([PriceOff] = @Original_PriceOff) AND ((@IsNull_OrdDate = 1 AND [OrdDate] IS NULL) OR ([OrdDate] = @Original_OrdDate)) AND ([OrdNum] = @Original_OrdNum) AND ([OrdRow] = @Original_OrdRow) AND ([OrdPrice] = @Original_OrdPrice));
|
||||
SELECT QuoteType, CodQuote, QuoteRev, IdxQState, CodClient, CodItem, CodItemGroup, RawMat, UnitWeight, BatchQty, CodInco, KeyAM, Note, PriceOff, OrdDate, OrdNum, OrdRow, OrdPrice FROM QuoteList WHERE (CodQuote = @CodQuote) AND (QuoteRev = @QuoteRev) AND (QuoteType = @QuoteType)";
|
||||
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuoteType", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QuoteType", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodQuote", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodQuote", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuoteRev", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QuoteRev", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxQState", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxQState", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodClient", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodClient", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodItem", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodItem", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodItemGroup", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodItemGroup", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
@@ -8273,6 +8331,7 @@ SELECT QuoteType, CodQuote, QuoteRev, CodClient, CodItem, CodItemGroup, RawMat,
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_QuoteType", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QuoteType", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodQuote", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodQuote", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_QuoteRev", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QuoteRev", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxQState", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxQState", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodClient", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodClient", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodItem", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodItem", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodItemGroup", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodItemGroup", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
@@ -8492,6 +8551,7 @@ SELECT QuoteType, CodQuote, QuoteRev, CodClient, CodItem, CodItemGroup, RawMat,
|
||||
string Original_QuoteType,
|
||||
long Original_CodQuote,
|
||||
int Original_QuoteRev,
|
||||
int Original_IdxQState,
|
||||
string Original_CodClient,
|
||||
string Original_CodItem,
|
||||
string Original_CodItemGroup,
|
||||
@@ -8514,72 +8574,73 @@ SELECT QuoteType, CodQuote, QuoteRev, CodClient, CodItem, CodItemGroup, RawMat,
|
||||
}
|
||||
this.Adapter.DeleteCommand.Parameters[1].Value = ((long)(Original_CodQuote));
|
||||
this.Adapter.DeleteCommand.Parameters[2].Value = ((int)(Original_QuoteRev));
|
||||
this.Adapter.DeleteCommand.Parameters[3].Value = ((int)(Original_IdxQState));
|
||||
if ((Original_CodClient == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_CodClient");
|
||||
}
|
||||
else {
|
||||
this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(Original_CodClient));
|
||||
this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_CodClient));
|
||||
}
|
||||
if ((Original_CodItem == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_CodItem");
|
||||
}
|
||||
else {
|
||||
this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_CodItem));
|
||||
this.Adapter.DeleteCommand.Parameters[5].Value = ((string)(Original_CodItem));
|
||||
}
|
||||
if ((Original_CodItemGroup == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_CodItemGroup");
|
||||
}
|
||||
else {
|
||||
this.Adapter.DeleteCommand.Parameters[5].Value = ((string)(Original_CodItemGroup));
|
||||
this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_CodItemGroup));
|
||||
}
|
||||
if ((Original_RawMat == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_RawMat");
|
||||
}
|
||||
else {
|
||||
this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_RawMat));
|
||||
this.Adapter.DeleteCommand.Parameters[7].Value = ((string)(Original_RawMat));
|
||||
}
|
||||
this.Adapter.DeleteCommand.Parameters[7].Value = ((decimal)(Original_UnitWeight));
|
||||
this.Adapter.DeleteCommand.Parameters[8].Value = ((int)(Original_BatchQty));
|
||||
this.Adapter.DeleteCommand.Parameters[8].Value = ((decimal)(Original_UnitWeight));
|
||||
this.Adapter.DeleteCommand.Parameters[9].Value = ((int)(Original_BatchQty));
|
||||
if ((Original_CodInco == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_CodInco");
|
||||
}
|
||||
else {
|
||||
this.Adapter.DeleteCommand.Parameters[9].Value = ((string)(Original_CodInco));
|
||||
this.Adapter.DeleteCommand.Parameters[10].Value = ((string)(Original_CodInco));
|
||||
}
|
||||
if ((Original_KeyAM == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_KeyAM");
|
||||
}
|
||||
else {
|
||||
this.Adapter.DeleteCommand.Parameters[10].Value = ((string)(Original_KeyAM));
|
||||
this.Adapter.DeleteCommand.Parameters[11].Value = ((string)(Original_KeyAM));
|
||||
}
|
||||
if ((Original_Note == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_Note");
|
||||
}
|
||||
else {
|
||||
this.Adapter.DeleteCommand.Parameters[11].Value = ((string)(Original_Note));
|
||||
this.Adapter.DeleteCommand.Parameters[12].Value = ((string)(Original_Note));
|
||||
}
|
||||
this.Adapter.DeleteCommand.Parameters[12].Value = ((decimal)(Original_PriceOff));
|
||||
this.Adapter.DeleteCommand.Parameters[13].Value = ((decimal)(Original_PriceOff));
|
||||
if ((Original_OrdDate.HasValue == true)) {
|
||||
this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(0));
|
||||
this.Adapter.DeleteCommand.Parameters[14].Value = ((System.DateTime)(Original_OrdDate.Value));
|
||||
this.Adapter.DeleteCommand.Parameters[14].Value = ((object)(0));
|
||||
this.Adapter.DeleteCommand.Parameters[15].Value = ((System.DateTime)(Original_OrdDate.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(1));
|
||||
this.Adapter.DeleteCommand.Parameters[14].Value = global::System.DBNull.Value;
|
||||
this.Adapter.DeleteCommand.Parameters[14].Value = ((object)(1));
|
||||
this.Adapter.DeleteCommand.Parameters[15].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((Original_OrdNum == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_OrdNum");
|
||||
}
|
||||
else {
|
||||
this.Adapter.DeleteCommand.Parameters[15].Value = ((string)(Original_OrdNum));
|
||||
this.Adapter.DeleteCommand.Parameters[16].Value = ((string)(Original_OrdNum));
|
||||
}
|
||||
if ((Original_OrdRow == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_OrdRow");
|
||||
}
|
||||
else {
|
||||
this.Adapter.DeleteCommand.Parameters[16].Value = ((string)(Original_OrdRow));
|
||||
this.Adapter.DeleteCommand.Parameters[17].Value = ((string)(Original_OrdRow));
|
||||
}
|
||||
this.Adapter.DeleteCommand.Parameters[17].Value = ((decimal)(Original_OrdPrice));
|
||||
this.Adapter.DeleteCommand.Parameters[18].Value = ((decimal)(Original_OrdPrice));
|
||||
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)) {
|
||||
@@ -8604,6 +8665,7 @@ SELECT QuoteType, CodQuote, QuoteRev, CodClient, CodItem, CodItemGroup, RawMat,
|
||||
string QuoteType,
|
||||
long CodQuote,
|
||||
int QuoteRev,
|
||||
int IdxQState,
|
||||
string CodClient,
|
||||
string CodItem,
|
||||
string CodItemGroup,
|
||||
@@ -8625,64 +8687,65 @@ SELECT QuoteType, CodQuote, QuoteRev, CodClient, CodItem, CodItemGroup, RawMat,
|
||||
}
|
||||
this.Adapter.InsertCommand.Parameters[1].Value = ((long)(CodQuote));
|
||||
this.Adapter.InsertCommand.Parameters[2].Value = ((int)(QuoteRev));
|
||||
this.Adapter.InsertCommand.Parameters[3].Value = ((int)(IdxQState));
|
||||
if ((CodClient == null)) {
|
||||
throw new global::System.ArgumentNullException("CodClient");
|
||||
}
|
||||
else {
|
||||
this.Adapter.InsertCommand.Parameters[3].Value = ((string)(CodClient));
|
||||
this.Adapter.InsertCommand.Parameters[4].Value = ((string)(CodClient));
|
||||
}
|
||||
if ((CodItem == null)) {
|
||||
throw new global::System.ArgumentNullException("CodItem");
|
||||
}
|
||||
else {
|
||||
this.Adapter.InsertCommand.Parameters[4].Value = ((string)(CodItem));
|
||||
this.Adapter.InsertCommand.Parameters[5].Value = ((string)(CodItem));
|
||||
}
|
||||
if ((CodItemGroup == null)) {
|
||||
throw new global::System.ArgumentNullException("CodItemGroup");
|
||||
}
|
||||
else {
|
||||
this.Adapter.InsertCommand.Parameters[5].Value = ((string)(CodItemGroup));
|
||||
this.Adapter.InsertCommand.Parameters[6].Value = ((string)(CodItemGroup));
|
||||
}
|
||||
if ((RawMat == null)) {
|
||||
throw new global::System.ArgumentNullException("RawMat");
|
||||
}
|
||||
else {
|
||||
this.Adapter.InsertCommand.Parameters[6].Value = ((string)(RawMat));
|
||||
this.Adapter.InsertCommand.Parameters[7].Value = ((string)(RawMat));
|
||||
}
|
||||
this.Adapter.InsertCommand.Parameters[7].Value = ((decimal)(UnitWeight));
|
||||
this.Adapter.InsertCommand.Parameters[8].Value = ((int)(BatchQty));
|
||||
this.Adapter.InsertCommand.Parameters[8].Value = ((decimal)(UnitWeight));
|
||||
this.Adapter.InsertCommand.Parameters[9].Value = ((int)(BatchQty));
|
||||
if ((CodInco == null)) {
|
||||
throw new global::System.ArgumentNullException("CodInco");
|
||||
}
|
||||
else {
|
||||
this.Adapter.InsertCommand.Parameters[9].Value = ((string)(CodInco));
|
||||
this.Adapter.InsertCommand.Parameters[10].Value = ((string)(CodInco));
|
||||
}
|
||||
if ((Note == null)) {
|
||||
throw new global::System.ArgumentNullException("Note");
|
||||
}
|
||||
else {
|
||||
this.Adapter.InsertCommand.Parameters[10].Value = ((string)(Note));
|
||||
this.Adapter.InsertCommand.Parameters[11].Value = ((string)(Note));
|
||||
}
|
||||
this.Adapter.InsertCommand.Parameters[11].Value = ((decimal)(PriceOff));
|
||||
this.Adapter.InsertCommand.Parameters[12].Value = ((decimal)(PriceOff));
|
||||
if ((OrdDate.HasValue == true)) {
|
||||
this.Adapter.InsertCommand.Parameters[12].Value = ((System.DateTime)(OrdDate.Value));
|
||||
this.Adapter.InsertCommand.Parameters[13].Value = ((System.DateTime)(OrdDate.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.InsertCommand.Parameters[12].Value = global::System.DBNull.Value;
|
||||
this.Adapter.InsertCommand.Parameters[13].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((OrdNum == null)) {
|
||||
throw new global::System.ArgumentNullException("OrdNum");
|
||||
}
|
||||
else {
|
||||
this.Adapter.InsertCommand.Parameters[13].Value = ((string)(OrdNum));
|
||||
this.Adapter.InsertCommand.Parameters[14].Value = ((string)(OrdNum));
|
||||
}
|
||||
if ((OrdRow == null)) {
|
||||
throw new global::System.ArgumentNullException("OrdRow");
|
||||
}
|
||||
else {
|
||||
this.Adapter.InsertCommand.Parameters[14].Value = ((string)(OrdRow));
|
||||
this.Adapter.InsertCommand.Parameters[15].Value = ((string)(OrdRow));
|
||||
}
|
||||
this.Adapter.InsertCommand.Parameters[15].Value = ((decimal)(OrdPrice));
|
||||
this.Adapter.InsertCommand.Parameters[16].Value = ((decimal)(OrdPrice));
|
||||
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)) {
|
||||
@@ -8707,6 +8770,7 @@ SELECT QuoteType, CodQuote, QuoteRev, CodClient, CodItem, CodItemGroup, RawMat,
|
||||
string QuoteType,
|
||||
long CodQuote,
|
||||
int QuoteRev,
|
||||
int IdxQState,
|
||||
string CodClient,
|
||||
string CodItem,
|
||||
string CodItemGroup,
|
||||
@@ -8723,6 +8787,7 @@ SELECT QuoteType, CodQuote, QuoteRev, CodClient, CodItem, CodItemGroup, RawMat,
|
||||
string Original_QuoteType,
|
||||
long Original_CodQuote,
|
||||
int Original_QuoteRev,
|
||||
int Original_IdxQState,
|
||||
string Original_CodClient,
|
||||
string Original_CodItem,
|
||||
string Original_CodItemGroup,
|
||||
@@ -8745,138 +8810,140 @@ SELECT QuoteType, CodQuote, QuoteRev, CodClient, CodItem, CodItemGroup, RawMat,
|
||||
}
|
||||
this.Adapter.UpdateCommand.Parameters[1].Value = ((long)(CodQuote));
|
||||
this.Adapter.UpdateCommand.Parameters[2].Value = ((int)(QuoteRev));
|
||||
this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(IdxQState));
|
||||
if ((CodClient == null)) {
|
||||
throw new global::System.ArgumentNullException("CodClient");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(CodClient));
|
||||
this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(CodClient));
|
||||
}
|
||||
if ((CodItem == null)) {
|
||||
throw new global::System.ArgumentNullException("CodItem");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(CodItem));
|
||||
this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(CodItem));
|
||||
}
|
||||
if ((CodItemGroup == null)) {
|
||||
throw new global::System.ArgumentNullException("CodItemGroup");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(CodItemGroup));
|
||||
this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(CodItemGroup));
|
||||
}
|
||||
if ((RawMat == null)) {
|
||||
throw new global::System.ArgumentNullException("RawMat");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(RawMat));
|
||||
this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(RawMat));
|
||||
}
|
||||
this.Adapter.UpdateCommand.Parameters[7].Value = ((decimal)(UnitWeight));
|
||||
this.Adapter.UpdateCommand.Parameters[8].Value = ((int)(BatchQty));
|
||||
this.Adapter.UpdateCommand.Parameters[8].Value = ((decimal)(UnitWeight));
|
||||
this.Adapter.UpdateCommand.Parameters[9].Value = ((int)(BatchQty));
|
||||
if ((CodInco == null)) {
|
||||
throw new global::System.ArgumentNullException("CodInco");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(CodInco));
|
||||
this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(CodInco));
|
||||
}
|
||||
if ((Note == null)) {
|
||||
throw new global::System.ArgumentNullException("Note");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(Note));
|
||||
this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(Note));
|
||||
}
|
||||
this.Adapter.UpdateCommand.Parameters[11].Value = ((decimal)(PriceOff));
|
||||
this.Adapter.UpdateCommand.Parameters[12].Value = ((decimal)(PriceOff));
|
||||
if ((OrdDate.HasValue == true)) {
|
||||
this.Adapter.UpdateCommand.Parameters[12].Value = ((System.DateTime)(OrdDate.Value));
|
||||
this.Adapter.UpdateCommand.Parameters[13].Value = ((System.DateTime)(OrdDate.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value;
|
||||
this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((OrdNum == null)) {
|
||||
throw new global::System.ArgumentNullException("OrdNum");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(OrdNum));
|
||||
this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(OrdNum));
|
||||
}
|
||||
if ((OrdRow == null)) {
|
||||
throw new global::System.ArgumentNullException("OrdRow");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(OrdRow));
|
||||
this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(OrdRow));
|
||||
}
|
||||
this.Adapter.UpdateCommand.Parameters[15].Value = ((decimal)(OrdPrice));
|
||||
this.Adapter.UpdateCommand.Parameters[16].Value = ((decimal)(OrdPrice));
|
||||
if ((Original_QuoteType == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_QuoteType");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[16].Value = ((string)(Original_QuoteType));
|
||||
this.Adapter.UpdateCommand.Parameters[17].Value = ((string)(Original_QuoteType));
|
||||
}
|
||||
this.Adapter.UpdateCommand.Parameters[17].Value = ((long)(Original_CodQuote));
|
||||
this.Adapter.UpdateCommand.Parameters[18].Value = ((int)(Original_QuoteRev));
|
||||
this.Adapter.UpdateCommand.Parameters[18].Value = ((long)(Original_CodQuote));
|
||||
this.Adapter.UpdateCommand.Parameters[19].Value = ((int)(Original_QuoteRev));
|
||||
this.Adapter.UpdateCommand.Parameters[20].Value = ((int)(Original_IdxQState));
|
||||
if ((Original_CodClient == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_CodClient");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[19].Value = ((string)(Original_CodClient));
|
||||
this.Adapter.UpdateCommand.Parameters[21].Value = ((string)(Original_CodClient));
|
||||
}
|
||||
if ((Original_CodItem == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_CodItem");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[20].Value = ((string)(Original_CodItem));
|
||||
this.Adapter.UpdateCommand.Parameters[22].Value = ((string)(Original_CodItem));
|
||||
}
|
||||
if ((Original_CodItemGroup == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_CodItemGroup");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[21].Value = ((string)(Original_CodItemGroup));
|
||||
this.Adapter.UpdateCommand.Parameters[23].Value = ((string)(Original_CodItemGroup));
|
||||
}
|
||||
if ((Original_RawMat == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_RawMat");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[22].Value = ((string)(Original_RawMat));
|
||||
this.Adapter.UpdateCommand.Parameters[24].Value = ((string)(Original_RawMat));
|
||||
}
|
||||
this.Adapter.UpdateCommand.Parameters[23].Value = ((decimal)(Original_UnitWeight));
|
||||
this.Adapter.UpdateCommand.Parameters[24].Value = ((int)(Original_BatchQty));
|
||||
this.Adapter.UpdateCommand.Parameters[25].Value = ((decimal)(Original_UnitWeight));
|
||||
this.Adapter.UpdateCommand.Parameters[26].Value = ((int)(Original_BatchQty));
|
||||
if ((Original_CodInco == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_CodInco");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[25].Value = ((string)(Original_CodInco));
|
||||
this.Adapter.UpdateCommand.Parameters[27].Value = ((string)(Original_CodInco));
|
||||
}
|
||||
if ((Original_KeyAM == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_KeyAM");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[26].Value = ((string)(Original_KeyAM));
|
||||
this.Adapter.UpdateCommand.Parameters[28].Value = ((string)(Original_KeyAM));
|
||||
}
|
||||
if ((Original_Note == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_Note");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[27].Value = ((string)(Original_Note));
|
||||
this.Adapter.UpdateCommand.Parameters[29].Value = ((string)(Original_Note));
|
||||
}
|
||||
this.Adapter.UpdateCommand.Parameters[28].Value = ((decimal)(Original_PriceOff));
|
||||
this.Adapter.UpdateCommand.Parameters[30].Value = ((decimal)(Original_PriceOff));
|
||||
if ((Original_OrdDate.HasValue == true)) {
|
||||
this.Adapter.UpdateCommand.Parameters[29].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[30].Value = ((System.DateTime)(Original_OrdDate.Value));
|
||||
this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[32].Value = ((System.DateTime)(Original_OrdDate.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[29].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[30].Value = global::System.DBNull.Value;
|
||||
this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[32].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((Original_OrdNum == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_OrdNum");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[31].Value = ((string)(Original_OrdNum));
|
||||
this.Adapter.UpdateCommand.Parameters[33].Value = ((string)(Original_OrdNum));
|
||||
}
|
||||
if ((Original_OrdRow == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_OrdRow");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[32].Value = ((string)(Original_OrdRow));
|
||||
this.Adapter.UpdateCommand.Parameters[34].Value = ((string)(Original_OrdRow));
|
||||
}
|
||||
this.Adapter.UpdateCommand.Parameters[33].Value = ((decimal)(Original_OrdPrice));
|
||||
this.Adapter.UpdateCommand.Parameters[35].Value = ((decimal)(Original_OrdPrice));
|
||||
global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
|
||||
if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
|
||||
!= global::System.Data.ConnectionState.Open)) {
|
||||
@@ -8898,6 +8965,7 @@ SELECT QuoteType, CodQuote, QuoteRev, CodClient, CodItem, CodItemGroup, RawMat,
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
|
||||
public virtual int Update(
|
||||
int IdxQState,
|
||||
string CodClient,
|
||||
string CodItem,
|
||||
string CodItemGroup,
|
||||
@@ -8914,6 +8982,7 @@ SELECT QuoteType, CodQuote, QuoteRev, CodClient, CodItem, CodItemGroup, RawMat,
|
||||
string Original_QuoteType,
|
||||
long Original_CodQuote,
|
||||
int Original_QuoteRev,
|
||||
int Original_IdxQState,
|
||||
string Original_CodClient,
|
||||
string Original_CodItem,
|
||||
string Original_CodItemGroup,
|
||||
@@ -8928,7 +8997,7 @@ SELECT QuoteType, CodQuote, QuoteRev, CodClient, CodItem, CodItemGroup, RawMat,
|
||||
string Original_OrdNum,
|
||||
string Original_OrdRow,
|
||||
decimal Original_OrdPrice) {
|
||||
return this.Update(Original_QuoteType, Original_CodQuote, Original_QuoteRev, CodClient, CodItem, CodItemGroup, RawMat, UnitWeight, BatchQty, CodInco, Note, PriceOff, OrdDate, OrdNum, OrdRow, OrdPrice, Original_QuoteType, Original_CodQuote, Original_QuoteRev, Original_CodClient, Original_CodItem, Original_CodItemGroup, Original_RawMat, Original_UnitWeight, Original_BatchQty, Original_CodInco, Original_KeyAM, Original_Note, Original_PriceOff, Original_OrdDate, Original_OrdNum, Original_OrdRow, Original_OrdPrice);
|
||||
return this.Update(Original_QuoteType, Original_CodQuote, Original_QuoteRev, IdxQState, CodClient, CodItem, CodItemGroup, RawMat, UnitWeight, BatchQty, CodInco, Note, PriceOff, OrdDate, OrdNum, OrdRow, OrdPrice, Original_QuoteType, Original_CodQuote, Original_QuoteRev, Original_IdxQState, Original_CodClient, Original_CodItem, Original_CodItemGroup, Original_RawMat, Original_UnitWeight, Original_BatchQty, Original_CodInco, Original_KeyAM, Original_Note, Original_PriceOff, Original_OrdDate, Original_OrdNum, Original_OrdRow, Original_OrdPrice);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -12114,6 +12183,7 @@ SELECT QuoteType, CodQuote, QuoteRev, NumEx, ProcessNum, CodPlant, Class01, Clas
|
||||
tableMapping.ColumnMappings.Add("NetMar", "NetMar");
|
||||
tableMapping.ColumnMappings.Add("FCShield", "FCShield");
|
||||
tableMapping.ColumnMappings.Add("PckSur", "PckSur");
|
||||
tableMapping.ColumnMappings.Add("IdxQState", "IdxQState");
|
||||
this._adapter.TableMappings.Add(tableMapping);
|
||||
}
|
||||
|
||||
|
||||
+25
-17
@@ -12,11 +12,12 @@
|
||||
<DbSource ConnectionRef="Proxima_C2PConnectionString (Settings)" DbObjectName="Proxima_C2P.dbo.QuoteList" 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].[QuoteList] WHERE (([QuoteType] = @Original_QuoteType) AND ([CodQuote] = @Original_CodQuote) AND ([QuoteRev] = @Original_QuoteRev) AND ([CodClient] = @Original_CodClient) AND ([CodItem] = @Original_CodItem) AND ([CodItemGroup] = @Original_CodItemGroup) AND ([RawMat] = @Original_RawMat) AND ([UnitWeight] = @Original_UnitWeight) AND ([BatchQty] = @Original_BatchQty) AND ([CodInco] = @Original_CodInco) AND ([KeyAM] = @Original_KeyAM) AND ([Note] = @Original_Note) AND ([PriceOff] = @Original_PriceOff) AND ((@IsNull_OrdDate = 1 AND [OrdDate] IS NULL) OR ([OrdDate] = @Original_OrdDate)) AND ([OrdNum] = @Original_OrdNum) AND ([OrdRow] = @Original_OrdRow) AND ([OrdPrice] = @Original_OrdPrice))</CommandText>
|
||||
<CommandText>DELETE FROM [dbo].[QuoteList] WHERE (([QuoteType] = @Original_QuoteType) AND ([CodQuote] = @Original_CodQuote) AND ([QuoteRev] = @Original_QuoteRev) AND ([IdxQState] = @Original_IdxQState) AND ([CodClient] = @Original_CodClient) AND ([CodItem] = @Original_CodItem) AND ([CodItemGroup] = @Original_CodItemGroup) AND ([RawMat] = @Original_RawMat) AND ([UnitWeight] = @Original_UnitWeight) AND ([BatchQty] = @Original_BatchQty) AND ([CodInco] = @Original_CodInco) AND ([KeyAM] = @Original_KeyAM) AND ([Note] = @Original_Note) AND ([PriceOff] = @Original_PriceOff) AND ((@IsNull_OrdDate = 1 AND [OrdDate] IS NULL) OR ([OrdDate] = @Original_OrdDate)) AND ([OrdNum] = @Original_OrdNum) AND ([OrdRow] = @Original_OrdRow) AND ([OrdPrice] = @Original_OrdPrice))</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_QuoteType" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="QuoteType" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_CodQuote" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="CodQuote" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_QuoteRev" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QuoteRev" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdxQState" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxQState" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodClient" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodClient" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodItem" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodItem" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodItemGroup" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodItemGroup" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
@@ -37,12 +38,13 @@
|
||||
</DeleteCommand>
|
||||
<InsertCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>INSERT INTO [dbo].[QuoteList] ([QuoteType], [CodQuote], [QuoteRev], [CodClient], [CodItem], [CodItemGroup], [RawMat], [UnitWeight], [BatchQty], [CodInco], [Note], [PriceOff], [OrdDate], [OrdNum], [OrdRow], [OrdPrice]) VALUES (@QuoteType, @CodQuote, @QuoteRev, @CodClient, @CodItem, @CodItemGroup, @RawMat, @UnitWeight, @BatchQty, @CodInco, @Note, @PriceOff, @OrdDate, @OrdNum, @OrdRow, @OrdPrice);
|
||||
SELECT QuoteType, CodQuote, QuoteRev, CodClient, CodItem, CodItemGroup, RawMat, UnitWeight, BatchQty, CodInco, KeyAM, Note, PriceOff, OrdDate, OrdNum, OrdRow, OrdPrice FROM QuoteList WHERE (CodQuote = @CodQuote) AND (QuoteRev = @QuoteRev) AND (QuoteType = @QuoteType)</CommandText>
|
||||
<CommandText>INSERT INTO [dbo].[QuoteList] ([QuoteType], [CodQuote], [QuoteRev], [IdxQState], [CodClient], [CodItem], [CodItemGroup], [RawMat], [UnitWeight], [BatchQty], [CodInco], [Note], [PriceOff], [OrdDate], [OrdNum], [OrdRow], [OrdPrice]) VALUES (@QuoteType, @CodQuote, @QuoteRev, @IdxQState, @CodClient, @CodItem, @CodItemGroup, @RawMat, @UnitWeight, @BatchQty, @CodInco, @Note, @PriceOff, @OrdDate, @OrdNum, @OrdRow, @OrdPrice);
|
||||
SELECT QuoteType, CodQuote, QuoteRev, IdxQState, CodClient, CodItem, CodItemGroup, RawMat, UnitWeight, BatchQty, CodInco, KeyAM, Note, PriceOff, OrdDate, OrdNum, OrdRow, OrdPrice FROM QuoteList WHERE (CodQuote = @CodQuote) AND (QuoteRev = @QuoteRev) AND (QuoteType = @QuoteType)</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@QuoteType" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="QuoteType" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@CodQuote" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="CodQuote" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@QuoteRev" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QuoteRev" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IdxQState" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxQState" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodClient" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodClient" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodItem" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodItem" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodItemGroup" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodItemGroup" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
@@ -67,12 +69,13 @@ SELECT QuoteType, CodQuote, QuoteRev, CodClient, CodItem, CodItemGroup, RawMat,
|
||||
</SelectCommand>
|
||||
<UpdateCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>UPDATE [dbo].[QuoteList] SET [QuoteType] = @QuoteType, [CodQuote] = @CodQuote, [QuoteRev] = @QuoteRev, [CodClient] = @CodClient, [CodItem] = @CodItem, [CodItemGroup] = @CodItemGroup, [RawMat] = @RawMat, [UnitWeight] = @UnitWeight, [BatchQty] = @BatchQty, [CodInco] = @CodInco, [Note] = @Note, [PriceOff] = @PriceOff, [OrdDate] = @OrdDate, [OrdNum] = @OrdNum, [OrdRow] = @OrdRow, [OrdPrice] = @OrdPrice WHERE (([QuoteType] = @Original_QuoteType) AND ([CodQuote] = @Original_CodQuote) AND ([QuoteRev] = @Original_QuoteRev) AND ([CodClient] = @Original_CodClient) AND ([CodItem] = @Original_CodItem) AND ([CodItemGroup] = @Original_CodItemGroup) AND ([RawMat] = @Original_RawMat) AND ([UnitWeight] = @Original_UnitWeight) AND ([BatchQty] = @Original_BatchQty) AND ([CodInco] = @Original_CodInco) AND ([KeyAM] = @Original_KeyAM) AND ([Note] = @Original_Note) AND ([PriceOff] = @Original_PriceOff) AND ((@IsNull_OrdDate = 1 AND [OrdDate] IS NULL) OR ([OrdDate] = @Original_OrdDate)) AND ([OrdNum] = @Original_OrdNum) AND ([OrdRow] = @Original_OrdRow) AND ([OrdPrice] = @Original_OrdPrice));
|
||||
SELECT QuoteType, CodQuote, QuoteRev, CodClient, CodItem, CodItemGroup, RawMat, UnitWeight, BatchQty, CodInco, KeyAM, Note, PriceOff, OrdDate, OrdNum, OrdRow, OrdPrice FROM QuoteList WHERE (CodQuote = @CodQuote) AND (QuoteRev = @QuoteRev) AND (QuoteType = @QuoteType)</CommandText>
|
||||
<CommandText>UPDATE [dbo].[QuoteList] SET [QuoteType] = @QuoteType, [CodQuote] = @CodQuote, [QuoteRev] = @QuoteRev, [IdxQState] = @IdxQState, [CodClient] = @CodClient, [CodItem] = @CodItem, [CodItemGroup] = @CodItemGroup, [RawMat] = @RawMat, [UnitWeight] = @UnitWeight, [BatchQty] = @BatchQty, [CodInco] = @CodInco, [Note] = @Note, [PriceOff] = @PriceOff, [OrdDate] = @OrdDate, [OrdNum] = @OrdNum, [OrdRow] = @OrdRow, [OrdPrice] = @OrdPrice WHERE (([QuoteType] = @Original_QuoteType) AND ([CodQuote] = @Original_CodQuote) AND ([QuoteRev] = @Original_QuoteRev) AND ([IdxQState] = @Original_IdxQState) AND ([CodClient] = @Original_CodClient) AND ([CodItem] = @Original_CodItem) AND ([CodItemGroup] = @Original_CodItemGroup) AND ([RawMat] = @Original_RawMat) AND ([UnitWeight] = @Original_UnitWeight) AND ([BatchQty] = @Original_BatchQty) AND ([CodInco] = @Original_CodInco) AND ([KeyAM] = @Original_KeyAM) AND ([Note] = @Original_Note) AND ([PriceOff] = @Original_PriceOff) AND ((@IsNull_OrdDate = 1 AND [OrdDate] IS NULL) OR ([OrdDate] = @Original_OrdDate)) AND ([OrdNum] = @Original_OrdNum) AND ([OrdRow] = @Original_OrdRow) AND ([OrdPrice] = @Original_OrdPrice));
|
||||
SELECT QuoteType, CodQuote, QuoteRev, IdxQState, CodClient, CodItem, CodItemGroup, RawMat, UnitWeight, BatchQty, CodInco, KeyAM, Note, PriceOff, OrdDate, OrdNum, OrdRow, OrdPrice FROM QuoteList WHERE (CodQuote = @CodQuote) AND (QuoteRev = @QuoteRev) AND (QuoteType = @QuoteType)</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@QuoteType" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="QuoteType" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@CodQuote" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="CodQuote" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@QuoteRev" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QuoteRev" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IdxQState" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxQState" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodClient" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodClient" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodItem" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodItem" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodItemGroup" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodItemGroup" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
@@ -89,6 +92,7 @@ SELECT QuoteType, CodQuote, QuoteRev, CodClient, CodItem, CodItemGroup, RawMat,
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_QuoteType" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="QuoteType" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_CodQuote" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="CodQuote" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_QuoteRev" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QuoteRev" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdxQState" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxQState" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodClient" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodClient" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodItem" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodItem" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodItemGroup" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodItemGroup" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
@@ -127,6 +131,7 @@ SELECT QuoteType, CodQuote, QuoteRev, CodClient, CodItem, CodItemGroup, RawMat,
|
||||
<Mapping SourceColumn="OrdNum" DataSetColumn="OrdNum" />
|
||||
<Mapping SourceColumn="OrdRow" DataSetColumn="OrdRow" />
|
||||
<Mapping SourceColumn="OrdPrice" DataSetColumn="OrdPrice" />
|
||||
<Mapping SourceColumn="IdxQState" DataSetColumn="IdxQState" />
|
||||
</Mappings>
|
||||
<Sources>
|
||||
<DbSource ConnectionRef="Proxima_C2PConnectionString (Settings)" DbObjectName="Proxima_C2P.dbo.stp_QL_getByKey" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByKey" 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">
|
||||
@@ -815,6 +820,7 @@ SELECT QuoteType, CodQuote, QuoteRev, NumEx, ProcessNum, CodPlant, Class01, Clas
|
||||
<Mapping SourceColumn="NetMar" DataSetColumn="NetMar" />
|
||||
<Mapping SourceColumn="FCShield" DataSetColumn="FCShield" />
|
||||
<Mapping SourceColumn="PckSur" DataSetColumn="PckSur" />
|
||||
<Mapping SourceColumn="IdxQState" DataSetColumn="IdxQState" />
|
||||
</Mappings>
|
||||
<Sources>
|
||||
<DbSource ConnectionRef="Proxima_C2PConnectionString (Settings)" DbObjectName="Proxima_C2P.dbo.stp_QL_fullData" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByKey" 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">
|
||||
@@ -870,7 +876,7 @@ SELECT QuoteType, CodQuote, QuoteRev, NumEx, ProcessNum, CodPlant, Class01, Clas
|
||||
<xs:element name="DS_Quotes" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DS_Quotes" msprop:Generator_UserDSName="DS_Quotes">
|
||||
<xs:complexType>
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="QuoteList" msprop:Generator_TableClassName="QuoteListDataTable" msprop:Generator_TableVarName="tableQuoteList" msprop:Generator_TablePropName="QuoteList" msprop:Generator_RowDeletingName="QuoteListRowDeleting" msprop:Generator_RowChangingName="QuoteListRowChanging" msprop:Generator_RowEvHandlerName="QuoteListRowChangeEventHandler" msprop:Generator_RowDeletedName="QuoteListRowDeleted" msprop:Generator_UserTableName="QuoteList" msprop:Generator_RowChangedName="QuoteListRowChanged" msprop:Generator_RowEvArgName="QuoteListRowChangeEvent" msprop:Generator_RowClassName="QuoteListRow">
|
||||
<xs:element name="QuoteList" msprop:Generator_TableClassName="QuoteListDataTable" msprop:Generator_TableVarName="tableQuoteList" msprop:Generator_RowChangedName="QuoteListRowChanged" msprop:Generator_TablePropName="QuoteList" msprop:Generator_RowDeletingName="QuoteListRowDeleting" msprop:Generator_RowChangingName="QuoteListRowChanging" msprop:Generator_RowEvHandlerName="QuoteListRowChangeEventHandler" msprop:Generator_RowDeletedName="QuoteListRowDeleted" msprop:Generator_RowClassName="QuoteListRow" msprop:Generator_UserTableName="QuoteList" msprop:Generator_RowEvArgName="QuoteListRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="QuoteType" msprop:Generator_ColumnVarNameInTable="columnQuoteType" msprop:Generator_ColumnPropNameInRow="QuoteType" msprop:Generator_ColumnPropNameInTable="QuoteTypeColumn" msprop:Generator_UserColumnName="QuoteType">
|
||||
@@ -950,10 +956,11 @@ SELECT QuoteType, CodQuote, QuoteRev, NumEx, ProcessNum, CodPlant, Class01, Clas
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="OrdPrice" msprop:Generator_ColumnVarNameInTable="columnOrdPrice" msprop:Generator_ColumnPropNameInRow="OrdPrice" msprop:Generator_ColumnPropNameInTable="OrdPriceColumn" msprop:Generator_UserColumnName="OrdPrice" type="xs:decimal" />
|
||||
<xs:element name="IdxQState" msprop:Generator_ColumnVarNameInTable="columnIdxQState" msprop:Generator_ColumnPropNameInRow="IdxQState" msprop:Generator_ColumnPropNameInTable="IdxQStateColumn" msprop:Generator_UserColumnName="IdxQState" type="xs:int" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="QuoteRM" msprop:Generator_TableClassName="QuoteRMDataTable" msprop:Generator_TableVarName="tableQuoteRM" msprop:Generator_TablePropName="QuoteRM" msprop:Generator_RowDeletingName="QuoteRMRowDeleting" msprop:Generator_RowChangingName="QuoteRMRowChanging" msprop:Generator_RowEvHandlerName="QuoteRMRowChangeEventHandler" msprop:Generator_RowDeletedName="QuoteRMRowDeleted" msprop:Generator_UserTableName="QuoteRM" msprop:Generator_RowChangedName="QuoteRMRowChanged" msprop:Generator_RowEvArgName="QuoteRMRowChangeEvent" msprop:Generator_RowClassName="QuoteRMRow">
|
||||
<xs:element name="QuoteRM" msprop:Generator_TableClassName="QuoteRMDataTable" msprop:Generator_TableVarName="tableQuoteRM" msprop:Generator_RowChangedName="QuoteRMRowChanged" msprop:Generator_TablePropName="QuoteRM" msprop:Generator_RowDeletingName="QuoteRMRowDeleting" msprop:Generator_RowChangingName="QuoteRMRowChanging" msprop:Generator_RowEvHandlerName="QuoteRMRowChangeEventHandler" msprop:Generator_RowDeletedName="QuoteRMRowDeleted" msprop:Generator_RowClassName="QuoteRMRow" msprop:Generator_UserTableName="QuoteRM" msprop:Generator_RowEvArgName="QuoteRMRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="QuoteType" msprop:Generator_ColumnVarNameInTable="columnQuoteType" msprop:Generator_ColumnPropNameInRow="QuoteType" msprop:Generator_ColumnPropNameInTable="QuoteTypeColumn" msprop:Generator_UserColumnName="QuoteType">
|
||||
@@ -989,7 +996,7 @@ SELECT QuoteType, CodQuote, QuoteRev, NumEx, ProcessNum, CodPlant, Class01, Clas
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="QuoteWorkExt" msprop:Generator_TableClassName="QuoteWorkExtDataTable" msprop:Generator_TableVarName="tableQuoteWorkExt" msprop:Generator_TablePropName="QuoteWorkExt" msprop:Generator_RowDeletingName="QuoteWorkExtRowDeleting" msprop:Generator_RowChangingName="QuoteWorkExtRowChanging" msprop:Generator_RowEvHandlerName="QuoteWorkExtRowChangeEventHandler" msprop:Generator_RowDeletedName="QuoteWorkExtRowDeleted" msprop:Generator_UserTableName="QuoteWorkExt" msprop:Generator_RowChangedName="QuoteWorkExtRowChanged" msprop:Generator_RowEvArgName="QuoteWorkExtRowChangeEvent" msprop:Generator_RowClassName="QuoteWorkExtRow">
|
||||
<xs:element name="QuoteWorkExt" msprop:Generator_TableClassName="QuoteWorkExtDataTable" msprop:Generator_TableVarName="tableQuoteWorkExt" msprop:Generator_RowChangedName="QuoteWorkExtRowChanged" msprop:Generator_TablePropName="QuoteWorkExt" msprop:Generator_RowDeletingName="QuoteWorkExtRowDeleting" msprop:Generator_RowChangingName="QuoteWorkExtRowChanging" msprop:Generator_RowEvHandlerName="QuoteWorkExtRowChangeEventHandler" msprop:Generator_RowDeletedName="QuoteWorkExtRowDeleted" msprop:Generator_RowClassName="QuoteWorkExtRow" msprop:Generator_UserTableName="QuoteWorkExt" msprop:Generator_RowEvArgName="QuoteWorkExtRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="QuoteType" msprop:Generator_ColumnVarNameInTable="columnQuoteType" msprop:Generator_ColumnPropNameInRow="QuoteType" msprop:Generator_ColumnPropNameInTable="QuoteTypeColumn" msprop:Generator_UserColumnName="QuoteType">
|
||||
@@ -1014,7 +1021,7 @@ SELECT QuoteType, CodQuote, QuoteRev, NumEx, ProcessNum, CodPlant, Class01, Clas
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="QuoteWorkInt" msprop:Generator_TableClassName="QuoteWorkIntDataTable" msprop:Generator_TableVarName="tableQuoteWorkInt" msprop:Generator_TablePropName="QuoteWorkInt" msprop:Generator_RowDeletingName="QuoteWorkIntRowDeleting" msprop:Generator_RowChangingName="QuoteWorkIntRowChanging" msprop:Generator_RowEvHandlerName="QuoteWorkIntRowChangeEventHandler" msprop:Generator_RowDeletedName="QuoteWorkIntRowDeleted" msprop:Generator_UserTableName="QuoteWorkInt" msprop:Generator_RowChangedName="QuoteWorkIntRowChanged" msprop:Generator_RowEvArgName="QuoteWorkIntRowChangeEvent" msprop:Generator_RowClassName="QuoteWorkIntRow">
|
||||
<xs:element name="QuoteWorkInt" msprop:Generator_TableClassName="QuoteWorkIntDataTable" msprop:Generator_TableVarName="tableQuoteWorkInt" msprop:Generator_RowChangedName="QuoteWorkIntRowChanged" msprop:Generator_TablePropName="QuoteWorkInt" msprop:Generator_RowDeletingName="QuoteWorkIntRowDeleting" msprop:Generator_RowChangingName="QuoteWorkIntRowChanging" msprop:Generator_RowEvHandlerName="QuoteWorkIntRowChangeEventHandler" msprop:Generator_RowDeletedName="QuoteWorkIntRowDeleted" msprop:Generator_RowClassName="QuoteWorkIntRow" msprop:Generator_UserTableName="QuoteWorkInt" msprop:Generator_RowEvArgName="QuoteWorkIntRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="QuoteType" msprop:Generator_ColumnVarNameInTable="columnQuoteType" msprop:Generator_ColumnPropNameInRow="QuoteType" msprop:Generator_ColumnPropNameInTable="QuoteTypeColumn" msprop:Generator_UserColumnName="QuoteType">
|
||||
@@ -1094,7 +1101,7 @@ SELECT QuoteType, CodQuote, QuoteRev, NumEx, ProcessNum, CodPlant, Class01, Clas
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="QuoteParam" msprop:Generator_TableClassName="QuoteParamDataTable" msprop:Generator_TableVarName="tableQuoteParam" msprop:Generator_TablePropName="QuoteParam" msprop:Generator_RowDeletingName="QuoteParamRowDeleting" msprop:Generator_RowChangingName="QuoteParamRowChanging" msprop:Generator_RowEvHandlerName="QuoteParamRowChangeEventHandler" msprop:Generator_RowDeletedName="QuoteParamRowDeleted" msprop:Generator_UserTableName="QuoteParam" msprop:Generator_RowChangedName="QuoteParamRowChanged" msprop:Generator_RowEvArgName="QuoteParamRowChangeEvent" msprop:Generator_RowClassName="QuoteParamRow">
|
||||
<xs:element name="QuoteParam" msprop:Generator_TableClassName="QuoteParamDataTable" msprop:Generator_TableVarName="tableQuoteParam" msprop:Generator_RowChangedName="QuoteParamRowChanged" msprop:Generator_TablePropName="QuoteParam" msprop:Generator_RowDeletingName="QuoteParamRowDeleting" msprop:Generator_RowChangingName="QuoteParamRowChanging" msprop:Generator_RowEvHandlerName="QuoteParamRowChangeEventHandler" msprop:Generator_RowDeletedName="QuoteParamRowDeleted" msprop:Generator_RowClassName="QuoteParamRow" msprop:Generator_UserTableName="QuoteParam" msprop:Generator_RowEvArgName="QuoteParamRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="QuoteType" msprop:Generator_ColumnVarNameInTable="columnQuoteType" msprop:Generator_ColumnPropNameInRow="QuoteType" msprop:Generator_ColumnPropNameInTable="QuoteTypeColumn" msprop:Generator_UserColumnName="QuoteType">
|
||||
@@ -1131,7 +1138,7 @@ SELECT QuoteType, CodQuote, QuoteRev, NumEx, ProcessNum, CodPlant, Class01, Clas
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="QuoteOC" msprop:Generator_TableClassName="QuoteOCDataTable" msprop:Generator_TableVarName="tableQuoteOC" msprop:Generator_TablePropName="QuoteOC" msprop:Generator_RowDeletingName="QuoteOCRowDeleting" msprop:Generator_RowChangingName="QuoteOCRowChanging" msprop:Generator_RowEvHandlerName="QuoteOCRowChangeEventHandler" msprop:Generator_RowDeletedName="QuoteOCRowDeleted" msprop:Generator_UserTableName="QuoteOC" msprop:Generator_RowChangedName="QuoteOCRowChanged" msprop:Generator_RowEvArgName="QuoteOCRowChangeEvent" msprop:Generator_RowClassName="QuoteOCRow">
|
||||
<xs:element name="QuoteOC" msprop:Generator_TableClassName="QuoteOCDataTable" msprop:Generator_TableVarName="tableQuoteOC" msprop:Generator_RowChangedName="QuoteOCRowChanged" msprop:Generator_TablePropName="QuoteOC" msprop:Generator_RowDeletingName="QuoteOCRowDeleting" msprop:Generator_RowChangingName="QuoteOCRowChanging" msprop:Generator_RowEvHandlerName="QuoteOCRowChangeEventHandler" msprop:Generator_RowDeletedName="QuoteOCRowDeleted" msprop:Generator_RowClassName="QuoteOCRow" msprop:Generator_UserTableName="QuoteOC" msprop:Generator_RowEvArgName="QuoteOCRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="QuoteType" msprop:Generator_ColumnVarNameInTable="columnQuoteType" msprop:Generator_ColumnPropNameInRow="QuoteType" msprop:Generator_ColumnPropNameInTable="QuoteTypeColumn" msprop:Generator_UserColumnName="QuoteType">
|
||||
@@ -1201,7 +1208,7 @@ SELECT QuoteType, CodQuote, QuoteRev, NumEx, ProcessNum, CodPlant, Class01, Clas
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="QuoteFull_Q" msprop:Generator_TableClassName="QuoteFull_QDataTable" msprop:Generator_TableVarName="tableQuoteFull_Q" msprop:Generator_RowChangedName="QuoteFull_QRowChanged" msprop:Generator_TablePropName="QuoteFull_Q" msprop:Generator_RowDeletingName="QuoteFull_QRowDeleting" msprop:Generator_RowChangingName="QuoteFull_QRowChanging" msprop:Generator_RowEvHandlerName="QuoteFull_QRowChangeEventHandler" msprop:Generator_RowDeletedName="QuoteFull_QRowDeleted" msprop:Generator_RowClassName="QuoteFull_QRow" msprop:Generator_UserTableName="QuoteFull_Q" msprop:Generator_RowEvArgName="QuoteFull_QRowChangeEvent">
|
||||
<xs:element name="QuoteFull_Q" msprop:Generator_TableClassName="QuoteFull_QDataTable" msprop:Generator_TableVarName="tableQuoteFull_Q" msprop:Generator_TablePropName="QuoteFull_Q" msprop:Generator_RowDeletingName="QuoteFull_QRowDeleting" msprop:Generator_RowChangingName="QuoteFull_QRowChanging" msprop:Generator_RowEvHandlerName="QuoteFull_QRowChangeEventHandler" msprop:Generator_RowDeletedName="QuoteFull_QRowDeleted" msprop:Generator_UserTableName="QuoteFull_Q" msprop:Generator_RowChangedName="QuoteFull_QRowChanged" msprop:Generator_RowEvArgName="QuoteFull_QRowChangeEvent" msprop:Generator_RowClassName="QuoteFull_QRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Vers" msprop:Generator_ColumnVarNameInTable="columnVers" msprop:Generator_ColumnPropNameInRow="Vers" msprop:Generator_ColumnPropNameInTable="VersColumn" msprop:Generator_UserColumnName="Vers">
|
||||
@@ -1422,6 +1429,7 @@ SELECT QuoteType, CodQuote, QuoteRev, NumEx, ProcessNum, CodPlant, Class01, Clas
|
||||
<xs:element name="NetMar" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnNetMar" msprop:Generator_ColumnPropNameInRow="NetMar" msprop:Generator_ColumnPropNameInTable="NetMarColumn" msprop:Generator_UserColumnName="NetMar" type="xs:decimal" minOccurs="0" />
|
||||
<xs:element name="FCShield" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnFCShield" msprop:Generator_ColumnPropNameInRow="FCShield" msprop:Generator_ColumnPropNameInTable="FCShieldColumn" msprop:Generator_UserColumnName="FCShield" type="xs:decimal" minOccurs="0" />
|
||||
<xs:element name="PckSur" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnPckSur" msprop:Generator_ColumnPropNameInRow="PckSur" msprop:Generator_ColumnPropNameInTable="PckSurColumn" msprop:Generator_UserColumnName="PckSur" type="xs:decimal" minOccurs="0" />
|
||||
<xs:element name="IdxQState" msprop:Generator_ColumnVarNameInTable="columnIdxQState" msprop:Generator_ColumnPropNameInRow="IdxQState" msprop:Generator_ColumnPropNameInTable="IdxQStateColumn" msprop:Generator_UserColumnName="IdxQState" type="xs:int" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
@@ -1477,11 +1485,11 @@ SELECT QuoteType, CodQuote, QuoteRev, NumEx, ProcessNum, CodPlant, Class01, Clas
|
||||
</xs:element>
|
||||
<xs:annotation>
|
||||
<xs:appinfo>
|
||||
<msdata:Relationship name="FK_QuoteRM_QuoteList" msdata:parent="QuoteList" msdata:child="QuoteRM" msdata:parentkey="QuoteType CodQuote QuoteRev" msdata:childkey="QuoteType CodQuote QuoteRev" msprop:Generator_UserChildTable="QuoteRM" msprop:Generator_ChildPropName="GetQuoteRMRows" msprop:Generator_UserRelationName="FK_QuoteRM_QuoteList" msprop:Generator_ParentPropName="QuoteListRowParent" msprop:Generator_RelationVarName="relationFK_QuoteRM_QuoteList" msprop:Generator_UserParentTable="QuoteList" />
|
||||
<msdata:Relationship name="FK_QuoteWorkExt_QuoteList" msdata:parent="QuoteList" msdata:child="QuoteWorkExt" msdata:parentkey="QuoteType CodQuote QuoteRev" msdata:childkey="QuoteType CodQuote QuoteRev" msprop:Generator_UserChildTable="QuoteWorkExt" msprop:Generator_ChildPropName="GetQuoteWorkExtRows" msprop:Generator_UserRelationName="FK_QuoteWorkExt_QuoteList" msprop:Generator_ParentPropName="QuoteListRowParent" msprop:Generator_RelationVarName="relationFK_QuoteWorkExt_QuoteList" msprop:Generator_UserParentTable="QuoteList" />
|
||||
<msdata:Relationship name="FK_QuoteWorkInt_QuoteList" msdata:parent="QuoteList" msdata:child="QuoteWorkInt" msdata:parentkey="QuoteType CodQuote QuoteRev" msdata:childkey="QuoteType CodQuote QuoteRev" msprop:Generator_UserChildTable="QuoteWorkInt" msprop:Generator_ChildPropName="GetQuoteWorkIntRows" msprop:Generator_UserRelationName="FK_QuoteWorkInt_QuoteList" msprop:Generator_ParentPropName="QuoteListRowParent" msprop:Generator_RelationVarName="relationFK_QuoteWorkInt_QuoteList" msprop:Generator_UserParentTable="QuoteList" />
|
||||
<msdata:Relationship name="FK_QuoteParam_QuoteList" msdata:parent="QuoteList" msdata:child="QuoteParam" msdata:parentkey="QuoteType CodQuote QuoteRev" msdata:childkey="QuoteType CodQuote QuoteRev" msprop:Generator_UserChildTable="QuoteParam" msprop:Generator_ChildPropName="GetQuoteParamRows" msprop:Generator_UserRelationName="FK_QuoteParam_QuoteList" msprop:Generator_ParentPropName="QuoteListRowParent" msprop:Generator_RelationVarName="relationFK_QuoteParam_QuoteList" msprop:Generator_UserParentTable="QuoteList" />
|
||||
<msdata:Relationship name="FK_QuoteExtra_QuoteList" msdata:parent="QuoteList" msdata:child="QuoteOC" msdata:parentkey="QuoteType CodQuote QuoteRev" msdata:childkey="QuoteType CodQuote QuoteRev" msprop:Generator_UserChildTable="QuoteOC" msprop:Generator_ChildPropName="GetQuoteOCRows" msprop:Generator_UserRelationName="FK_QuoteExtra_QuoteList" msprop:Generator_ParentPropName="QuoteListRowParent" msprop:Generator_RelationVarName="relationFK_QuoteExtra_QuoteList" msprop:Generator_UserParentTable="QuoteList" />
|
||||
<msdata:Relationship name="FK_QuoteRM_QuoteList" msdata:parent="QuoteList" msdata:child="QuoteRM" msdata:parentkey="QuoteType CodQuote QuoteRev" msdata:childkey="QuoteType CodQuote QuoteRev" msprop:Generator_UserChildTable="QuoteRM" msprop:Generator_ChildPropName="GetQuoteRMRows" msprop:Generator_UserRelationName="FK_QuoteRM_QuoteList" msprop:Generator_RelationVarName="relationFK_QuoteRM_QuoteList" msprop:Generator_UserParentTable="QuoteList" msprop:Generator_ParentPropName="QuoteListRowParent" />
|
||||
<msdata:Relationship name="FK_QuoteWorkExt_QuoteList" msdata:parent="QuoteList" msdata:child="QuoteWorkExt" msdata:parentkey="QuoteType CodQuote QuoteRev" msdata:childkey="QuoteType CodQuote QuoteRev" msprop:Generator_UserChildTable="QuoteWorkExt" msprop:Generator_ChildPropName="GetQuoteWorkExtRows" msprop:Generator_UserRelationName="FK_QuoteWorkExt_QuoteList" msprop:Generator_RelationVarName="relationFK_QuoteWorkExt_QuoteList" msprop:Generator_UserParentTable="QuoteList" msprop:Generator_ParentPropName="QuoteListRowParent" />
|
||||
<msdata:Relationship name="FK_QuoteWorkInt_QuoteList" msdata:parent="QuoteList" msdata:child="QuoteWorkInt" msdata:parentkey="QuoteType CodQuote QuoteRev" msdata:childkey="QuoteType CodQuote QuoteRev" msprop:Generator_UserChildTable="QuoteWorkInt" msprop:Generator_ChildPropName="GetQuoteWorkIntRows" msprop:Generator_UserRelationName="FK_QuoteWorkInt_QuoteList" msprop:Generator_RelationVarName="relationFK_QuoteWorkInt_QuoteList" msprop:Generator_UserParentTable="QuoteList" msprop:Generator_ParentPropName="QuoteListRowParent" />
|
||||
<msdata:Relationship name="FK_QuoteParam_QuoteList" msdata:parent="QuoteList" msdata:child="QuoteParam" msdata:parentkey="QuoteType CodQuote QuoteRev" msdata:childkey="QuoteType CodQuote QuoteRev" msprop:Generator_UserChildTable="QuoteParam" msprop:Generator_ChildPropName="GetQuoteParamRows" msprop:Generator_UserRelationName="FK_QuoteParam_QuoteList" msprop:Generator_RelationVarName="relationFK_QuoteParam_QuoteList" msprop:Generator_UserParentTable="QuoteList" msprop:Generator_ParentPropName="QuoteListRowParent" />
|
||||
<msdata:Relationship name="FK_QuoteExtra_QuoteList" msdata:parent="QuoteList" msdata:child="QuoteOC" msdata:parentkey="QuoteType CodQuote QuoteRev" msdata:childkey="QuoteType CodQuote QuoteRev" msprop:Generator_UserChildTable="QuoteOC" msprop:Generator_ChildPropName="GetQuoteOCRows" msprop:Generator_UserRelationName="FK_QuoteExtra_QuoteList" msprop:Generator_RelationVarName="relationFK_QuoteExtra_QuoteList" msprop:Generator_UserParentTable="QuoteList" msprop:Generator_ParentPropName="QuoteListRowParent" />
|
||||
</xs:appinfo>
|
||||
</xs:annotation>
|
||||
</xs:schema>
|
||||
Reference in New Issue
Block a user