Fix bind --> eval
Sistemato/completato editing offerta x parte costo
This commit is contained in:
+1
-1
@@ -2,7 +2,7 @@
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<ProjectView>ShowAllFiles</ProjectView>
|
||||
<NameOfLastUsedPublishProfile>localhost</NameOfLastUsedPublishProfile>
|
||||
<NameOfLastUsedPublishProfile>218</NameOfLastUsedPublishProfile>
|
||||
</PropertyGroup>
|
||||
<ProjectExtensions>
|
||||
<VisualStudio>
|
||||
|
||||
+13
-11
@@ -6,17 +6,19 @@
|
||||
<asp:Content ID="Content2" ContentPlaceHolderID="FeaturedContent" runat="server">
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
|
||||
<div class="row">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title"><%: traduci("OffersArchive") %></h3>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<uc1:mod_OffersArchive ID="mod_OffersArchive1" runat="server" />
|
||||
<br />
|
||||
<br />
|
||||
<br />
|
||||
<asp:HyperLink runat="server" ID="HyperLink3" NavigateUrl="http://redmine.steamware.net/issues/321" Target="_blank"><img src="Images/scratch/08-ArchivioOfferte.jpg" class="img-responsive" /></asp:HyperLink>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title"><%: traduci("OffersArchive") %></h3>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<uc1:mod_OffersArchive ID="mod_OffersArchive1" runat="server" />
|
||||
<br />
|
||||
<br />
|
||||
<br />
|
||||
<asp:HyperLink runat="server" ID="HyperLink3" NavigateUrl="http://redmine.steamware.net/issues/321" Target="_blank"><img src="Images/scratch/08-ArchivioOfferte.jpg" class="img-responsive" /></asp:HyperLink>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -50,6 +50,20 @@ namespace C2P.WebUserControls
|
||||
lbDuplicate.CssClass = baseCss + "warning";
|
||||
lbSimulate.CssClass = baseCss + "danger";
|
||||
lbPrint.CssClass = baseCss + "info";
|
||||
|
||||
// cerco riga selezionata...
|
||||
CheckBox chkBox;
|
||||
for (int i = 0; i < grView.Rows.Count; i++)
|
||||
{
|
||||
grView.SelectedIndex = i;
|
||||
chkBox=((CheckBox)grView.SelectedRow.FindControl("chkSelect"));
|
||||
if (chkBox.Checked)
|
||||
{
|
||||
QuoteType = grView.SelectedDataKey["QuoteType"].ToString();
|
||||
CodQuote = grView.SelectedDataKey["CodQuote"].ToString();
|
||||
QuoteRev = grView.SelectedDataKey["QuoteRev"].ToString();
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -83,15 +97,6 @@ namespace C2P.WebUserControls
|
||||
{
|
||||
return user_std.UtSn.Traduci(lemma.ToString());
|
||||
}
|
||||
#if false
|
||||
private void ricalcolaQuote(string quoteType, long CodQuote, int Rev)
|
||||
{
|
||||
DateTime tick = DateTime.Now;
|
||||
// aggiorno dati!
|
||||
DtProxy.man.taQL.stp_QL_update(quoteType, CodQuote, Rev);
|
||||
lblOut.Text = string.Format("Tempo ricalcolo: {0} ms", DateTime.Now.Subtract(tick).TotalMilliseconds);
|
||||
}
|
||||
#endif
|
||||
/// <summary>
|
||||
/// salvo e vado a dettaglio!
|
||||
/// </summary>
|
||||
@@ -264,17 +269,19 @@ namespace C2P.WebUserControls
|
||||
if (isChecked)
|
||||
{
|
||||
numSel++;
|
||||
#if false
|
||||
// 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();
|
||||
#endif
|
||||
}
|
||||
else
|
||||
{
|
||||
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();
|
||||
|
||||
@@ -10,107 +10,107 @@
|
||||
<ItemTemplate>
|
||||
<div class="row bottomLine">
|
||||
<div class="col-xs-6 text-left">
|
||||
<uc1:mod_display ID="mod_display1" runat="server" etichetta='<%# traduci("RefCost01") %>' valore='<%# Bind("RefCost01", "{0:C3}") %>' />
|
||||
<uc1:mod_display ID="mod_display1" runat="server" etichetta='<%# traduci("RefCost01") %>' valore='<%# Eval("RefCost01", "{0:C3}") %>' />
|
||||
</div>
|
||||
<div class="col-xs-6 text-right">
|
||||
<uc1:mod_display ID="mod_display2" runat="server" etichetta='<%# traduci("SellCost01") %>' valore='<%# Bind("SellCost01", "{0:C3}") %>' />
|
||||
<uc1:mod_display ID="mod_display2" runat="server" etichetta='<%# traduci("SellCost01") %>' valore='<%# Eval("SellCost01", "{0:C3}") %>' />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row bottomLine">
|
||||
<div class="col-xs-6 text-left">
|
||||
<uc1:mod_display ID="mod_display10" runat="server" etichetta='<%# traduci("EECost") %>' valore='<%# Bind("EECost", "{0:C3}") %>' />
|
||||
<uc1:mod_display ID="mod_display10" runat="server" etichetta='<%# traduci("EECost") %>' valore='<%# Eval("EECost", "{0:C3}") %>' />
|
||||
</div>
|
||||
<div class="col-xs-6 text-right">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row bottomLine">
|
||||
<div class="col-xs-6 text-left">
|
||||
<uc1:mod_display ID="mod_display3" runat="server" etichetta='<%# traduci("GasCost") %>' valore='<%# Bind("GasCost", "{0:C3}") %>' />
|
||||
<uc1:mod_display ID="mod_display3" runat="server" etichetta='<%# traduci("GasCost") %>' valore='<%# Eval("GasCost", "{0:C3}") %>' />
|
||||
</div>
|
||||
<div class="col-xs-6 text-right">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row bottomLine">
|
||||
<div class="col-xs-6 text-left">
|
||||
<uc1:mod_display ID="mod_display5" runat="server" etichetta='<%# traduci("DiesCost") %>' valore='<%# Bind("DiesCost", "{0:C3}") %>' />
|
||||
<uc1:mod_display ID="mod_display5" runat="server" etichetta='<%# traduci("DiesCost") %>' valore='<%# Eval("DiesCost", "{0:C3}") %>' />
|
||||
</div>
|
||||
<div class="col-xs-6 text-right">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row bottomLine">
|
||||
<div class="col-xs-6 text-left">
|
||||
<uc1:mod_display ID="mod_display6" runat="server" etichetta='<%# traduci("RefCost04") %>' valore='<%# Bind("RefCost04", "{0:C3}") %>' />
|
||||
<uc1:mod_display ID="mod_display6" runat="server" etichetta='<%# traduci("RefCost04") %>' valore='<%# Eval("RefCost04", "{0:C3}") %>' />
|
||||
</div>
|
||||
<div class="col-xs-6 text-right">
|
||||
<uc1:mod_display ID="mod_display9" runat="server" etichetta='<%# traduci("SellCost04") %>' valore='<%# Bind("SellCost04", "{0:C3}") %>' />
|
||||
<uc1:mod_display ID="mod_display9" runat="server" etichetta='<%# traduci("SellCost04") %>' valore='<%# Eval("SellCost04", "{0:C3}") %>' />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row bottomLine">
|
||||
<div class="col-xs-6 text-left">
|
||||
<uc1:mod_display ID="mod_display7" runat="server" etichetta='<%# traduci("PackCost") %>' valore='<%# Bind("PackCost", "{0:C3}") %>' />
|
||||
<uc1:mod_display ID="mod_display7" runat="server" etichetta='<%# traduci("PackCost") %>' valore='<%# Eval("PackCost", "{0:C3}") %>' />
|
||||
</div>
|
||||
<div class="col-xs-6 text-right">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row bottomLine">
|
||||
<div class="col-xs-6 text-left">
|
||||
<uc1:mod_display ID="mod_display8" runat="server" etichetta='<%# traduci("ProvvCost") %>' valore='<%# Bind("ProvvCost", "{0:C3}") %>' />
|
||||
<uc1:mod_display ID="mod_display8" runat="server" etichetta='<%# traduci("ProvvCost") %>' valore='<%# Eval("ProvvCost", "{0:C3}") %>' />
|
||||
</div>
|
||||
<div class="col-xs-6 text-right">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row bottomLine">
|
||||
<div class="col-xs-6 text-left">
|
||||
<uc1:mod_display ID="mod_display11" runat="server" etichetta='<%# traduci("TranspCost") %>' valore='<%# Bind("TranspCost", "{0:C3}") %>' />
|
||||
<uc1:mod_display ID="mod_display11" runat="server" etichetta='<%# traduci("TranspCost") %>' valore='<%# Eval("TranspCost", "{0:C3}") %>' />
|
||||
</div>
|
||||
<div class="col-xs-6 text-right">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row bottomLine">
|
||||
<div class="col-xs-6 text-left">
|
||||
<uc1:mod_display ID="mod_display12" runat="server" etichetta='<%# traduci("VC4UG01") %>' valore='<%# Bind("VC4UG01", "{0:C3}") %>' />
|
||||
<uc1:mod_display ID="mod_display12" runat="server" etichetta='<%# traduci("VC4UG01") %>' valore='<%# Eval("VC4UG01", "{0:C3}") %>' />
|
||||
</div>
|
||||
<div class="col-xs-6 text-right">
|
||||
<uc1:mod_display ID="mod_display16" runat="server" etichetta='<%# traduci("VC4UG04") %>' valore='<%# Bind("VC4UG04", "{0:C3}") %>' />
|
||||
<uc1:mod_display ID="mod_display16" runat="server" etichetta='<%# traduci("VC4UG04") %>' valore='<%# Eval("VC4UG04", "{0:C3}") %>' />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row bottomLine">
|
||||
<div class="col-xs-6 text-left">
|
||||
<uc1:mod_display ID="mod_display13" runat="server" etichetta='<%# traduci("SC4UG01") %>' valore='<%# Bind("SC4UG01", "{0:C3}") %>' />
|
||||
<uc1:mod_display ID="mod_display13" runat="server" etichetta='<%# traduci("SC4UG01") %>' valore='<%# Eval("SC4UG01", "{0:C3}") %>' />
|
||||
</div>
|
||||
<div class="col-xs-6 text-right">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row bottomLine">
|
||||
<div class="col-xs-6 text-left">
|
||||
<uc1:mod_display ID="mod_display14" runat="server" etichetta='<%# traduci("FVC") %>' valore='<%# Bind("FVC", "{0:C3}") %>' />
|
||||
<uc1:mod_display ID="mod_display14" runat="server" etichetta='<%# traduci("FVC") %>' valore='<%# Eval("FVC", "{0:C3}") %>' />
|
||||
</div>
|
||||
<div class="col-xs-6 text-right">
|
||||
<uc1:mod_display ID="mod_display20" runat="server" etichetta='<%# traduci("P_FVC") %>' valore='<%# Bind("P_FVC", "{0:C3}") %>' />
|
||||
<uc1:mod_display ID="mod_display20" runat="server" etichetta='<%# traduci("P_FVC") %>' valore='<%# Eval("P_FVC", "{0:C3}") %>' />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row bottomLine">
|
||||
<div class="col-xs-6 text-left">
|
||||
<uc1:mod_display ID="mod_display18" runat="server" etichetta='<%# traduci("CPS") %>' valore='<%# Bind("CPS", "{0:C3}") %>' />
|
||||
<uc1:mod_display ID="mod_display18" runat="server" etichetta='<%# traduci("CPS") %>' valore='<%# Eval("CPS", "{0:C3}") %>' />
|
||||
</div>
|
||||
<div class="col-xs-6 text-right">
|
||||
<uc1:mod_display ID="mod_display21" runat="server" etichetta='<%# traduci("P_CPS") %>' valore='<%# Bind("P_CPS", "{0:C3}") %>' />
|
||||
<uc1:mod_display ID="mod_display21" runat="server" etichetta='<%# traduci("P_CPS") %>' valore='<%# Eval("P_CPS", "{0:C3}") %>' />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row bottomLine">
|
||||
<div class="col-xs-6 text-left">
|
||||
<uc1:mod_display ID="mod_display22" runat="server" etichetta='<%# traduci("FC4UG04") %>' valore='<%# Bind("FC4UG04", "{0:C3}") %>' />
|
||||
<uc1:mod_display ID="mod_display22" runat="server" etichetta='<%# traduci("FC4UG04") %>' valore='<%# Eval("FC4UG04", "{0:C3}") %>' />
|
||||
</div>
|
||||
<div class="col-xs-6 text-right">
|
||||
<uc1:mod_display ID="mod_display23" runat="server" etichetta='<%# traduci("P_FC4UG04") %>' valore='<%# Bind("P_FC4UG04", "{0:C3}") %>' />
|
||||
<uc1:mod_display ID="mod_display23" runat="server" etichetta='<%# traduci("P_FC4UG04") %>' valore='<%# Eval("P_FC4UG04", "{0:C3}") %>' />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-6 text-left">
|
||||
<uc1:mod_display ID="mod_display19" runat="server" etichetta='<%# traduci("FullCost") %>' valore='<%# Bind("FullCost", "{0:C3}") %>' />
|
||||
<uc1:mod_display ID="mod_display19" runat="server" etichetta='<%# traduci("FullCost") %>' valore='<%# Eval("FullCost", "{0:C3}") %>' />
|
||||
</div>
|
||||
<div class="col-xs-6 text-right">
|
||||
<uc1:mod_display ID="mod_display24" runat="server" etichetta='<%# traduci("P_FullCost") %>' valore='<%# Bind("P_FullCost", "{0:C3}") %>' />
|
||||
<uc1:mod_display ID="mod_display24" runat="server" etichetta='<%# traduci("P_FullCost") %>' valore='<%# Eval("P_FullCost", "{0:C3}") %>' />
|
||||
</div>
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
|
||||
@@ -9,58 +9,58 @@
|
||||
<ItemTemplate>
|
||||
<div class="row bottomLine">
|
||||
<div class="col-xs-2 text-left">
|
||||
<uc1:mod_display ID="mod_display1" runat="server" etichetta='<%# traduci("TipoDies") %>' valore='<%# Bind("TipoDies") %>' />
|
||||
<uc1:mod_display ID="mod_display1" runat="server" etichetta='<%# traduci("TipoDies") %>' valore='<%# Eval("TipoDies") %>' />
|
||||
</div>
|
||||
<div class="col-xs-2 text-left">
|
||||
<uc1:mod_display ID="mod_display10" runat="server" etichetta='<%# traduci("DiamDies") %>' valore='<%# Bind("DiamDies", "{0:N2}") %>' />
|
||||
<uc1:mod_display ID="mod_display10" runat="server" etichetta='<%# traduci("DiamDies") %>' valore='<%# Eval("DiamDies", "{0:N2}") %>' />
|
||||
</div>
|
||||
<div class="col-xs-2 text-left">
|
||||
<uc1:mod_display ID="mod_display11" runat="server" etichetta='<%# traduci("HoleNumDies") %>' valore='<%# Bind("HoleNumDies") %>' />
|
||||
<uc1:mod_display ID="mod_display11" runat="server" etichetta='<%# traduci("HoleNumDies") %>' valore='<%# Eval("HoleNumDies") %>' />
|
||||
</div>
|
||||
<div class="col-xs-2 text-left">
|
||||
<uc1:mod_display ID="mod_display4" runat="server" etichetta='<%# traduci("NumDiesInList") %>' valore='<%# Bind("NumDiesInList", "{0:N0}") %>' />
|
||||
<uc1:mod_display ID="mod_display4" runat="server" etichetta='<%# traduci("NumDiesInList") %>' valore='<%# Eval("NumDiesInList", "{0:N0}") %>' />
|
||||
</div>
|
||||
<div class="col-xs-4 text-right">
|
||||
<uc1:mod_display ID="mod_display2" runat="server" etichetta='<%# traduci("CodDiesGroup") %>' valore='<%# Bind("CodDiesGroup") %>' />
|
||||
<uc1:mod_display ID="mod_display2" runat="server" etichetta='<%# traduci("CodDiesGroup") %>' valore='<%# Eval("CodDiesGroup") %>' />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row bottomLine">
|
||||
<div class="col-xs-2 text-left">
|
||||
<uc1:mod_display ID="mod_display3" runat="server" etichetta='<%# traduci("DiesEOLife") %>' valore='<%# Bind("DiesEOLife", "{0:N2}") %>' />
|
||||
<uc1:mod_display ID="mod_display3" runat="server" etichetta='<%# traduci("DiesEOLife") %>' valore='<%# Eval("DiesEOLife", "{0:N2}") %>' />
|
||||
</div>
|
||||
<div class="col-xs-2 text-left">
|
||||
<uc1:mod_display ID="mod_display7" runat="server" etichetta='<%# traduci("DiesExpLife") %>' valore='<%# Bind("DiesExpLife", "{0:N2}") %>' />
|
||||
<uc1:mod_display ID="mod_display7" runat="server" etichetta='<%# traduci("DiesExpLife") %>' valore='<%# Eval("DiesExpLife", "{0:N2}") %>' />
|
||||
</div>
|
||||
<div class="col-xs-2 text-left">
|
||||
<uc1:mod_display ID="mod_display5" runat="server" etichetta='<%# traduci("NumDiesExaust") %>' valore='<%# Bind("NumDiesExaust", "{0:N0}") %>' />
|
||||
<uc1:mod_display ID="mod_display5" runat="server" etichetta='<%# traduci("NumDiesExaust") %>' valore='<%# Eval("NumDiesExaust", "{0:N0}") %>' />
|
||||
</div>
|
||||
<div class="col-xs-6 text-right">
|
||||
<uc1:mod_display ID="mod_display6" runat="server" etichetta='<%# traduci("DiesPrice") %>' valore='<%# Bind("DiesPrice", "{0:C3}") %>' />
|
||||
<uc1:mod_display ID="mod_display6" runat="server" etichetta='<%# traduci("DiesPrice") %>' valore='<%# Eval("DiesPrice", "{0:C3}") %>' />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row bottomLine">
|
||||
<div class="col-xs-2 text-left">
|
||||
<uc1:mod_display ID="mod_display9" runat="server" etichetta='<%# traduci("CodPlant") %>' valore='<%# Bind("CodPlant") %>' />
|
||||
<uc1:mod_display ID="mod_display9" runat="server" etichetta='<%# traduci("CodPlant") %>' valore='<%# Eval("CodPlant") %>' />
|
||||
</div>
|
||||
<div class="col-xs-2 text-left">
|
||||
<uc1:mod_display ID="mod_display8" runat="server" etichetta='<%# traduci("KgTeo") %>' valore='<%# Bind("KgTeo", "{0:N2}") %>' />
|
||||
<uc1:mod_display ID="mod_display8" runat="server" etichetta='<%# traduci("KgTeo") %>' valore='<%# Eval("KgTeo", "{0:N2}") %>' />
|
||||
</div>
|
||||
<div class="col-xs-2 text-left">
|
||||
<uc1:mod_display ID="mod_display12" runat="server" etichetta='<%# traduci("NumSMED") %>' valore='<%# Bind("NumSMED", "{0:N0}") %>' />
|
||||
<uc1:mod_display ID="mod_display12" runat="server" etichetta='<%# traduci("NumSMED") %>' valore='<%# Eval("NumSMED", "{0:N0}") %>' />
|
||||
</div>
|
||||
<div class="col-xs-6 text-right">
|
||||
<uc1:mod_display ID="mod_display13" runat="server" etichetta='<%# traduci("KeyAMIL") %>' valore='<%# Bind("KeyAMIL") %>' />
|
||||
<uc1:mod_display ID="mod_display13" runat="server" etichetta='<%# traduci("KeyAMIL") %>' valore='<%# Eval("KeyAMIL") %>' />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-2 text-left">
|
||||
<uc1:mod_display ID="mod_display14" runat="server" etichetta='<%# traduci("WSR01") %>' valore='<%# Bind("WSR01", "{0:P2}") %>' />
|
||||
<uc1:mod_display ID="mod_display14" runat="server" etichetta='<%# traduci("WSR01") %>' valore='<%# Eval("WSR01", "{0:P2}") %>' />
|
||||
</div>
|
||||
<div class="col-xs-2 text-left">
|
||||
<uc1:mod_display ID="mod_display15" runat="server" etichetta='<%# traduci("MSR01") %>' valore='<%# Bind("MSR01", "{0:P2}") %>' />
|
||||
<uc1:mod_display ID="mod_display15" runat="server" etichetta='<%# traduci("MSR01") %>' valore='<%# Eval("MSR01", "{0:P2}") %>' />
|
||||
</div>
|
||||
<div class="col-xs-8 text-right">
|
||||
<uc1:mod_display ID="mod_display17" runat="server" etichetta='<%# traduci("NetProd01") %>' valore='<%# Bind("NetProd01", "{0:N2} kg/h") %>' />
|
||||
<uc1:mod_display ID="mod_display17" runat="server" etichetta='<%# traduci("NetProd01") %>' valore='<%# Eval("NetProd01", "{0:N2} kg/h") %>' />
|
||||
</div>
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
|
||||
@@ -102,6 +102,7 @@
|
||||
<asp:LinkButton runat="server" ID="LinkButton2" class="btn btn-danger" Width="100%" CausesValidation="false" CommandName="Cancel"><i class="fa fa-undo"></i> <%: traduci("Cancel") %></asp:LinkButton>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</EditItemTemplate>
|
||||
</asp:FormView>
|
||||
<asp:ObjectDataSource ID="odsQuotes" runat="server" OldValuesParameterFormatString="Original_{0}" SelectMethod="getByKey" TypeName="C2P_Data.DS_QuotesTableAdapters.QuoteFull_QTableAdapter" UpdateMethod="updateHeaders">
|
||||
|
||||
@@ -13,41 +13,41 @@
|
||||
<ItemTemplate>
|
||||
<div class="row bottomLine">
|
||||
<div class="col-xs-2 text-left">
|
||||
<uc1:mod_display ID="mod_display3" runat="server" etichetta='<%# traduci("QuotaMan") %>' valore='<%# Bind("QuotaMan", "{0:N1}") %>' />
|
||||
<uc1:mod_display ID="mod_display3" runat="server" etichetta='<%# traduci("QuotaMan") %>' valore='<%# Eval("QuotaMan", "{0:N1}") %>' />
|
||||
</div>
|
||||
<div class="col-xs-2 text-left">
|
||||
<uc1:mod_display ID="mod_display7" runat="server" etichetta='<%# traduci("LivPackage") %>' valore='<%# Bind("LivPackage") %>' />
|
||||
<uc1:mod_display ID="mod_display7" runat="server" etichetta='<%# traduci("LivPackage") %>' valore='<%# Eval("LivPackage") %>' />
|
||||
</div>
|
||||
<div class="col-xs-2 text-left">
|
||||
<uc1:mod_display ID="mod_display5" runat="server" etichetta='<%# traduci("LivPackageDett") %>' valore='<%# Bind("LivPackageDett") %>' />
|
||||
<uc1:mod_display ID="mod_display5" runat="server" etichetta='<%# traduci("LivPackageDett") %>' valore='<%# Eval("LivPackageDett") %>' />
|
||||
</div>
|
||||
<div class="col-xs-6 text-right">
|
||||
<uc1:mod_display ID="mod_display6" runat="server" etichetta='<%# traduci("CodPackag") %>' valore='<%# Bind("CodPackag") %>' />
|
||||
<uc1:mod_display ID="mod_display6" runat="server" etichetta='<%# traduci("CodPackag") %>' valore='<%# Eval("CodPackag") %>' />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row bottomLine">
|
||||
<div class="col-xs-2 text-left">
|
||||
<uc1:mod_display ID="mod_display9" runat="server" etichetta='<%# traduci("PRMWeight") %>' valore='<%# Bind("PRMWeight", "{0:N2}") %>' />kg
|
||||
<uc1:mod_display ID="mod_display9" runat="server" etichetta='<%# traduci("PRMWeight") %>' valore='<%# Eval("PRMWeight", "{0:N2}") %>' />kg
|
||||
</div>
|
||||
<div class="col-xs-2 text-left">
|
||||
<uc1:mod_display ID="mod_display8" runat="server" etichetta='<%# traduci("PWeight") %>' valore='<%# Bind("PWeight", "{0:N2}") %>' />kg
|
||||
<uc1:mod_display ID="mod_display8" runat="server" etichetta='<%# traduci("PWeight") %>' valore='<%# Eval("PWeight", "{0:N2}") %>' />kg
|
||||
</div>
|
||||
<div class="col-xs-2 text-left">
|
||||
<uc1:mod_display ID="mod_display12" runat="server" etichetta='<%# traduci("PTare") %>' valore='<%# Bind("PTare", "{0:N2}") %>' />kg
|
||||
<uc1:mod_display ID="mod_display12" runat="server" etichetta='<%# traduci("PTare") %>' valore='<%# Eval("PTare", "{0:N2}") %>' />kg
|
||||
</div>
|
||||
<div class="col-xs-6 text-right">
|
||||
<uc1:mod_display ID="mod_display13" runat="server" etichetta='<%# traduci("PkgDesc") %>' valore='<%# Bind("PkgDesc") %>' />
|
||||
<uc1:mod_display ID="mod_display13" runat="server" etichetta='<%# traduci("PkgDesc") %>' valore='<%# Eval("PkgDesc") %>' />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-2 text-left">
|
||||
<uc1:mod_display ID="mod_display14" runat="server" etichetta='<%# traduci("DSR") %>' valore='<%# Bind("DSR", "{0:P2}") %>' />
|
||||
<uc1:mod_display ID="mod_display14" runat="server" etichetta='<%# traduci("DSR") %>' valore='<%# Eval("DSR", "{0:P2}") %>' />
|
||||
</div>
|
||||
<div class="col-xs-2 text-left">
|
||||
<uc1:mod_display ID="mod_display15" runat="server" etichetta='<%# traduci("FSR") %>' valore='<%# Bind("FSR", "{0:P2}") %>' />
|
||||
<uc1:mod_display ID="mod_display15" runat="server" etichetta='<%# traduci("FSR") %>' valore='<%# Eval("FSR", "{0:P2}") %>' />
|
||||
</div>
|
||||
<div class="col-xs-8 text-right">
|
||||
<uc1:mod_display ID="mod_display17" runat="server" etichetta='<%# traduci("NetProd04") %>' valore='<%# Bind("NetProd04", "{0:N2} kg/h") %>' />
|
||||
<uc1:mod_display ID="mod_display17" runat="server" etichetta='<%# traduci("NetProd04") %>' valore='<%# Eval("NetProd04", "{0:N2} kg/h") %>' />
|
||||
</div>
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
|
||||
@@ -1,2 +1,127 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_Q_Quot.ascx.cs" Inherits="C2P.WebUserControls.mod_Q_Quot" %>
|
||||
quotazione
|
||||
<%if (false)
|
||||
{ %>
|
||||
<webopt:BundleReference ID="BundleReference1" runat="server" Path="~/Content/css" />
|
||||
<webopt:BundleReference ID="BundleReference2" runat="server" Path="~/Content/themes/base/css" />
|
||||
<%} %>
|
||||
<%@ Register Src="~/WebUserControls/mod_display.ascx" TagName="mod_display" TagPrefix="uc1" %>
|
||||
|
||||
<asp:FormView ID="frmView" runat="server" DataKeyNames="QuoteType,CodQuote,QuoteRev" DataSourceID="odsQuotes" Width="100%">
|
||||
<ItemTemplate>
|
||||
<div class="row bottomLine">
|
||||
<div class="col-xs-6 text-left">
|
||||
<uc1:mod_display ID="mod_display6" runat="server" etichetta='<%# traduci("MinPrice") %>' valore='<%# Eval("MinPrice", "{0:C3}") %>' />
|
||||
</div>
|
||||
<div class="col-xs-6 text-right">
|
||||
<uc1:mod_display ID="mod_display9" runat="server" etichetta='<%# traduci("P_MinPrice") %>' valore='<%# Eval("P_MinPrice", "{0:C3}") %>' />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row bottomLine">
|
||||
<div class="col-xs-6 text-left">
|
||||
<uc1:mod_display ID="mod_display7" runat="server" etichetta='<%# traduci("Charge") %>' valore='<%# Eval("Charge", "{0:C3}") %>' />
|
||||
</div>
|
||||
<div class="col-xs-6 text-right">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row bottomLine">
|
||||
<div class="col-xs-6 text-left">
|
||||
<uc1:mod_display ID="mod_display8" runat="server" etichetta='<%# traduci("PriceOff") %>' valore='<%# Eval("PriceOff", "{0:C3}") %>' />
|
||||
</div>
|
||||
<div class="col-xs-6 text-right">
|
||||
<uc1:mod_display ID="mod_display11" runat="server" etichetta='<%# traduci("P_PriceOff") %>' valore='<%# Eval("P_PriceOff", "{0:C3}") %>' />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row bottomLine">
|
||||
<div class="col-xs-6 text-left">
|
||||
<uc1:mod_display ID="mod_display12" runat="server" etichetta='<%# traduci("NetMar") %>' valore='<%# Eval("NetMar", "{0:C3}") %>' />
|
||||
</div>
|
||||
<div class="col-xs-6 text-right">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row bottomLine">
|
||||
<div class="col-xs-6 text-left">
|
||||
<uc1:mod_display ID="mod_display13" runat="server" etichetta='<%# traduci("FCShield") %>' valore='<%# Eval("FCShield", "{0:C3}") %>' />
|
||||
</div>
|
||||
<div class="col-xs-6 text-right">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-6 text-left">
|
||||
<uc1:mod_display ID="mod_display14" runat="server" etichetta='<%# traduci("PckSur") %>' valore='<%# Eval("PckSur", "{0:C3}") %>' />
|
||||
</div>
|
||||
<div class="col-xs-6 text-right">
|
||||
</div>
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
<EditItemTemplate>
|
||||
<div class="row bottomLine">
|
||||
<div class="col-xs-6 text-left">
|
||||
<uc1:mod_display ID="mod_display6" runat="server" etichetta='<%# traduci("MinPrice") %>' valore='<%# Eval("MinPrice", "{0:C3}") %>' />
|
||||
</div>
|
||||
<div class="col-xs-6 text-right">
|
||||
<uc1:mod_display ID="mod_display9" runat="server" etichetta='<%# traduci("P_MinPrice") %>' valore='<%# Eval("P_MinPrice", "{0:C3}") %>' />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row bottomLine">
|
||||
<div class="col-xs-6 text-left">
|
||||
<uc1:mod_display ID="mod_display7" runat="server" etichetta='<%# traduci("Charge") %>' valore='<%# Eval("Charge", "{0:C3}") %>' />
|
||||
</div>
|
||||
<div class="col-xs-6 text-right">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row bottomLine">
|
||||
<div class="col-xs-6 text-left">
|
||||
<uc1:mod_display ID="mod_display8" runat="server" etichetta='<%# traduci("PriceOff") %>' />
|
||||
<asp:TextBox Font-Bold="true" ID="TextBox5" runat="server" Text='<%# Bind("PriceOff","{0:N4}") %>' />
|
||||
</div>
|
||||
<div class="col-xs-6 text-right">
|
||||
<uc1:mod_display ID="mod_display11" runat="server" etichetta='<%# traduci("P_PriceOff") %>' valore='<%# Eval("P_PriceOff", "{0:C3}") %>' />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row bottomLine">
|
||||
<div class="col-xs-6 text-left">
|
||||
<uc1:mod_display ID="mod_display12" runat="server" etichetta='<%# traduci("NetMar") %>' valore='<%# Eval("NetMar", "{0:C3}") %>' />
|
||||
</div>
|
||||
<div class="col-xs-6 text-right">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row bottomLine">
|
||||
<div class="col-xs-6 text-left">
|
||||
<uc1:mod_display ID="mod_display13" runat="server" etichetta='<%# traduci("FCShield") %>' valore='<%# Eval("FCShield", "{0:C3}") %>' />
|
||||
</div>
|
||||
<div class="col-xs-6 text-right">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-6 text-left">
|
||||
<uc1:mod_display ID="mod_display14" runat="server" etichetta='<%# traduci("PckSur") %>' valore='<%# Eval("PckSur", "{0:C3}") %>' />
|
||||
</div>
|
||||
<div class="col-xs-6 text-right">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-6 col-xs-offset-3">
|
||||
<div class="col-xs-6">
|
||||
<asp:LinkButton runat="server" ID="LinkButton1" class="btn btn-success" Width="100%" CausesValidation="true" CommandName="Update"><i class="fa fa-check"></i> <%: traduci("Update") %></asp:LinkButton>
|
||||
</div>
|
||||
<div class="col-xs-6">
|
||||
<asp:LinkButton runat="server" ID="LinkButton2" class="btn btn-danger" Width="100%" CausesValidation="false" CommandName="Cancel"><i class="fa fa-undo"></i> <%: traduci("Cancel") %></asp:LinkButton>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</EditItemTemplate>
|
||||
</asp:FormView>
|
||||
<asp:ObjectDataSource ID="odsQuotes" runat="server" OldValuesParameterFormatString="Original_{0}" SelectMethod="getByKey" TypeName="C2P_Data.DS_QuotesTableAdapters.QuoteFull_QTableAdapter" UpdateMethod="updateCosts">
|
||||
<SelectParameters>
|
||||
<asp:QueryStringParameter Name="QuoteType" QueryStringField="QuoteType" Type="String" />
|
||||
<asp:QueryStringParameter Name="CodQuote" QueryStringField="CodQuote" Type="Int64" />
|
||||
<asp:QueryStringParameter Name="QuoteRev" QueryStringField="QuoteRev" Type="Int32" />
|
||||
<asp:Parameter DefaultValue="Y" Name="DoUpdate" Type="String" />
|
||||
</SelectParameters>
|
||||
<UpdateParameters>
|
||||
<asp:Parameter Name="Original_QuoteType" Type="String" />
|
||||
<asp:Parameter Name="Original_CodQuote" Type="Int64" />
|
||||
<asp:Parameter Name="Original_QuoteRev" Type="Int32" />
|
||||
<asp:Parameter Name="PriceOff" Type="Decimal" />
|
||||
</UpdateParameters>
|
||||
</asp:ObjectDataSource>
|
||||
|
||||
@@ -7,11 +7,27 @@ using System.Web.UI.WebControls;
|
||||
|
||||
namespace C2P.WebUserControls
|
||||
{
|
||||
public partial class mod_Q_Quot : System.Web.UI.UserControl
|
||||
public partial class mod_Q_Quot : SteamWare.UserControl
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// fa toggle tra modo edit e read/item
|
||||
/// </summary>
|
||||
public void toggleMode()
|
||||
{
|
||||
if (frmView.CurrentMode == FormViewMode.ReadOnly)
|
||||
{
|
||||
frmView.ChangeMode(FormViewMode.Edit);
|
||||
}
|
||||
else
|
||||
{
|
||||
frmView.ChangeMode(FormViewMode.ReadOnly);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
+41
-7
@@ -3,15 +3,49 @@
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace C2P.WebUserControls
|
||||
{
|
||||
|
||||
|
||||
public partial class mod_Q_Quot
|
||||
{
|
||||
namespace C2P.WebUserControls {
|
||||
|
||||
|
||||
public partial class mod_Q_Quot {
|
||||
|
||||
/// <summary>
|
||||
/// BundleReference1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::Microsoft.AspNet.Web.Optimization.WebForms.BundleReference BundleReference1;
|
||||
|
||||
/// <summary>
|
||||
/// BundleReference2 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::Microsoft.AspNet.Web.Optimization.WebForms.BundleReference BundleReference2;
|
||||
|
||||
/// <summary>
|
||||
/// frmView control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.FormView frmView;
|
||||
|
||||
/// <summary>
|
||||
/// odsQuotes control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource odsQuotes;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
<asp:LinkButton runat="server" ID="lbExtrPar" class="btn btn-default" OnClick="lbt_Click" CommandArgument="ExtrPar"><i class="fa fa-tasks"></i> <%: traduci("EXTRUS-PARAM") %></asp:LinkButton>
|
||||
</div>
|
||||
<div class="btn-group">
|
||||
<asp:LinkButton runat="server" ID="lbPAckPar" class="btn btn-default" OnClick="lbt_Click" CommandArgument="PackPar"><i class="fa fa-tasks"></i> <%: traduci("PACK-PARAM") %></asp:LinkButton>
|
||||
<asp:LinkButton runat="server" ID="lbPackPar" class="btn btn-default" OnClick="lbt_Click" CommandArgument="PackPar"><i class="fa fa-tasks"></i> <%: traduci("PACK-PARAM") %></asp:LinkButton>
|
||||
</div>
|
||||
</div>
|
||||
<%--</div>--%>
|
||||
@@ -57,7 +57,7 @@
|
||||
<%--<div class="panel-heading">--%>
|
||||
<div class="btn-group btn-group-justified">
|
||||
<div class="btn-group">
|
||||
<button type="button" class="btn btn-default"><i class="fa fa-tasks"></i> <%: traduci("QUOTATION") %></button>
|
||||
<asp:LinkButton runat="server" ID="lbQuotation" class="btn btn-default" OnClick="lbt_Click" CommandArgument="Quote"><i class="fa fa-tasks"></i> <%: traduci("QUOTATION") %></asp:LinkButton>
|
||||
</div>
|
||||
</div>
|
||||
<%--</div>--%>
|
||||
|
||||
@@ -139,27 +139,41 @@ namespace C2P.WebUserControls
|
||||
/// </summary>
|
||||
private void setModVisibility(string req)
|
||||
{
|
||||
mod_Q_Costs1.Visible = false;
|
||||
mod_Q_ExtrPar1.Visible = false;
|
||||
mod_Q_Header1.Visible = false;
|
||||
mod_Q_PackPar1.Visible = false;
|
||||
switch (req)
|
||||
{
|
||||
case "Costs":
|
||||
mod_Q_Costs1.Visible = true;
|
||||
mod_Q_ExtrPar1.Visible = false;
|
||||
mod_Q_Header1.Visible = false;
|
||||
mod_Q_PackPar1.Visible = false;
|
||||
break;
|
||||
case "ExtrPar":
|
||||
mod_Q_Costs1.Visible = false;
|
||||
mod_Q_ExtrPar1.Visible = true;
|
||||
mod_Q_Header1.Visible = false;
|
||||
mod_Q_PackPar1.Visible = false;
|
||||
break;
|
||||
case "Header":
|
||||
if (prevReq==req) mod_Q_Header1.toggleMode();
|
||||
if (prevReq == req) mod_Q_Header1.toggleMode();
|
||||
mod_Q_Costs1.Visible = false;
|
||||
mod_Q_ExtrPar1.Visible = false;
|
||||
mod_Q_Header1.Visible = true;
|
||||
mod_Q_PackPar1.Visible = false;
|
||||
break;
|
||||
case "PackPar":
|
||||
mod_Q_Costs1.Visible = false;
|
||||
mod_Q_ExtrPar1.Visible = false;
|
||||
mod_Q_Header1.Visible = false;
|
||||
mod_Q_PackPar1.Visible = true;
|
||||
break;
|
||||
case "Quote":
|
||||
if (prevReq == req) mod_Q_Quot1.toggleMode();
|
||||
break;
|
||||
default:
|
||||
mod_Q_Costs1.Visible = false;
|
||||
mod_Q_ExtrPar1.Visible = false;
|
||||
mod_Q_Header1.Visible = true;
|
||||
mod_Q_PackPar1.Visible = false;
|
||||
break;
|
||||
}
|
||||
prevReq = req;
|
||||
|
||||
+11
-2
@@ -85,13 +85,13 @@ namespace C2P.WebUserControls {
|
||||
protected global::System.Web.UI.WebControls.LinkButton lbExtrPar;
|
||||
|
||||
/// <summary>
|
||||
/// lbPAckPar control.
|
||||
/// lbPackPar control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.LinkButton lbPAckPar;
|
||||
protected global::System.Web.UI.WebControls.LinkButton lbPackPar;
|
||||
|
||||
/// <summary>
|
||||
/// mod_Q_Costs1 control.
|
||||
@@ -138,6 +138,15 @@ namespace C2P.WebUserControls {
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.LinkButton LinkButton1;
|
||||
|
||||
/// <summary>
|
||||
/// lbQuotation control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.LinkButton lbQuotation;
|
||||
|
||||
/// <summary>
|
||||
/// mod_Q_Quot1 control.
|
||||
/// </summary>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Generated
+55
-11
@@ -12197,7 +12197,7 @@ SELECT QuoteType, CodQuote, QuoteRev, NumEx, ProcessNum, CodPlant, Class01, Clas
|
||||
[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[5];
|
||||
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[6];
|
||||
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[0].Connection = this.Connection;
|
||||
this._commandCollection[0].CommandText = "dbo.stp_QL_fullDataAll";
|
||||
@@ -12233,20 +12233,29 @@ SELECT QuoteType, CodQuote, QuoteRev, NumEx, ProcessNum, CodPlant, Class01, Clas
|
||||
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PriceOff", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 9, 6, 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_QLF_UpdHead";
|
||||
this._commandCollection[4].CommandText = "dbo.stp_QLF_UpdCosts";
|
||||
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("@Original_QuoteType", global::System.Data.SqlDbType.Char, 1, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodQuote", global::System.Data.SqlDbType.BigInt, 8, global::System.Data.ParameterDirection.Input, 19, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_QuoteRev", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodClient", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodItem", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RawMat", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RawMatCost", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 6, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RawMatExtraCost", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 6, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@BatchQty", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodInco", global::System.Data.SqlDbType.NVarChar, 5, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Note", global::System.Data.SqlDbType.NVarChar, 2500, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PriceOff", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 6, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[5].Connection = this.Connection;
|
||||
this._commandCollection[5].CommandText = "dbo.stp_QLF_UpdHead";
|
||||
this._commandCollection[5].CommandType = global::System.Data.CommandType.StoredProcedure;
|
||||
this._commandCollection[5].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[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_QuoteType", global::System.Data.SqlDbType.Char, 1, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodQuote", global::System.Data.SqlDbType.BigInt, 8, global::System.Data.ParameterDirection.Input, 19, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_QuoteRev", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodClient", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodItem", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RawMat", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RawMatCost", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 6, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RawMatExtraCost", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 6, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@BatchQty", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodInco", global::System.Data.SqlDbType.NVarChar, 5, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Note", global::System.Data.SqlDbType.NVarChar, 2500, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -12353,7 +12362,7 @@ SELECT QuoteType, CodQuote, QuoteRev, NumEx, ProcessNum, CodPlant, Class01, Clas
|
||||
[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_Quotes.QuoteFull_QDataTable updateHeaders(string Original_QuoteType, global::System.Nullable<long> Original_CodQuote, global::System.Nullable<int> Original_QuoteRev, string CodClient, string CodItem, string RawMat, global::System.Nullable<decimal> RawMatCost, global::System.Nullable<decimal> RawMatExtraCost, global::System.Nullable<int> BatchQty, string CodInco, string Note) {
|
||||
public virtual DS_Quotes.QuoteFull_QDataTable updateCosts(string Original_QuoteType, global::System.Nullable<long> Original_CodQuote, global::System.Nullable<int> Original_QuoteRev, global::System.Nullable<decimal> PriceOff) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[4];
|
||||
if ((Original_QuoteType == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
||||
@@ -12373,6 +12382,41 @@ SELECT QuoteType, CodQuote, QuoteRev, NumEx, ProcessNum, CodPlant, Class01, Clas
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((PriceOff.HasValue == true)) {
|
||||
this.Adapter.SelectCommand.Parameters[4].Value = ((decimal)(PriceOff.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value;
|
||||
}
|
||||
DS_Quotes.QuoteFull_QDataTable dataTable = new DS_Quotes.QuoteFull_QDataTable();
|
||||
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_Quotes.QuoteFull_QDataTable updateHeaders(string Original_QuoteType, global::System.Nullable<long> Original_CodQuote, global::System.Nullable<int> Original_QuoteRev, string CodClient, string CodItem, string RawMat, global::System.Nullable<decimal> RawMatCost, global::System.Nullable<decimal> RawMatExtraCost, global::System.Nullable<int> BatchQty, string CodInco, string Note) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[5];
|
||||
if ((Original_QuoteType == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(Original_QuoteType));
|
||||
}
|
||||
if ((Original_CodQuote.HasValue == true)) {
|
||||
this.Adapter.SelectCommand.Parameters[2].Value = ((long)(Original_CodQuote.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((Original_QuoteRev.HasValue == true)) {
|
||||
this.Adapter.SelectCommand.Parameters[3].Value = ((int)(Original_QuoteRev.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((CodClient == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value;
|
||||
}
|
||||
|
||||
+26
-12
@@ -866,6 +866,20 @@ SELECT QuoteType, CodQuote, QuoteRev, NumEx, ProcessNum, CodPlant, Class01, Clas
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="Proxima_C2PConnectionString (Settings)" DbObjectName="Proxima_C2P.dbo.stp_QLF_UpdCosts" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="updateCosts" GetMethodModifier="Public" GetMethodName="updateCosts" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="updateCosts" UserSourceName="updateCosts">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_QLF_UpdCosts</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="char" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_QuoteType" Precision="0" ProviderType="Char" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@Original_CodQuote" Precision="19" ProviderType="BigInt" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_QuoteRev" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@PriceOff" Precision="18" ProviderType="Decimal" Scale="6" Size="9" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="Proxima_C2PConnectionString (Settings)" DbObjectName="Proxima_C2P.dbo.stp_QLF_UpdHead" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="updateHeaders" GetMethodModifier="Public" GetMethodName="updateHeaders" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="updateHeaders" UserSourceName="updateHeaders">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
@@ -897,7 +911,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">
|
||||
@@ -981,7 +995,7 @@ SELECT QuoteType, CodQuote, QuoteRev, NumEx, ProcessNum, CodPlant, Class01, Clas
|
||||
</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">
|
||||
@@ -1017,7 +1031,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">
|
||||
@@ -1042,7 +1056,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">
|
||||
@@ -1122,7 +1136,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">
|
||||
@@ -1159,7 +1173,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">
|
||||
@@ -1229,7 +1243,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">
|
||||
@@ -1506,11 +1520,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>
|
||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user