Completata funzionalità editing base...

Aggiunto btn export pdf (NON funzionante)
This commit is contained in:
Samuele E. Locatelli
2014-04-16 16:13:27 +02:00
parent 9a1fc13548
commit a8e94dbc5d
23 changed files with 1915 additions and 1348 deletions
-1
View File
@@ -59,7 +59,6 @@ C2P/bin/C2P.dll
/C2P_Data/obj/Release/*
/C2P_Data/obj/Debug/*
/C2P_Data/obj/WinLab/*
/C2P_Data/bin/Debug
/C2P_Data/obj/Debug
/C2P_Data/obj/Release
+1
View File
@@ -229,6 +229,7 @@
<Content Include="Default.aspx" />
<Content Include="favicon.ico" />
<Content Include="Global.asax" />
<Content Include="Images\pdfExport.png" />
<Content Include="Images\Quote.png" />
<Content Include="Images\Quote2.png" />
<Content Include="Images\Report2.png" />
+1 -1
View File
@@ -2,7 +2,7 @@
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ProjectView>ShowAllFiles</ProjectView>
<NameOfLastUsedPublishProfile>218</NameOfLastUsedPublishProfile>
<NameOfLastUsedPublishProfile>WinLab</NameOfLastUsedPublishProfile>
</PropertyGroup>
<ProjectExtensions>
<VisualStudio>
Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

+1
View File
@@ -34,5 +34,6 @@
<error statusCode="500" redirect="InternalError.htm"/>
</customErrors>
-->
<customErrors mode="Off" />
</system.web>
</configuration>
+1 -1
View File
@@ -39,7 +39,6 @@
<namespaces>
<add namespace="System.Web.Optimization" />
</namespaces>
<controls>
<add assembly="Microsoft.AspNet.Web.Optimization.WebForms" namespace="Microsoft.AspNet.Web.Optimization.WebForms" tagPrefix="webopt" />
</controls></pages>
@@ -51,6 +50,7 @@
<add name="ErrorMail" type="Elmah.ErrorMailModule, Elmah" />
<add name="ErrorFilter" type="Elmah.ErrorFilterModule, Elmah" />
</httpModules>
<customErrors mode="Off" />
</system.web>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
+20 -6
View File
@@ -12,16 +12,17 @@
<div class="container-fluid" style="background-color: #969696;">
<div class="container">
<div class="row" style="font-size: 1.5em;">
<div class="row" style="font-size: 2em; padding: 4px;">
<div class="col-xs-4">
<asp:LinkButton runat="server" ID="Return" PostBackUrl="~/OffersArchive"><i class="fa fa-arrow-left"></i> <%: traduci("ReturnOffersArchive") %></asp:LinkButton>
</div>
<div class="col-xs-8 text-right">
<asp:ImageButton runat="server" ID="btnGetPdf" ImageUrl="~/Images/pdfExport.png" Height="24px" ToolTip="print" />
<asp:Label runat="server" ID="lblQuoteType" />
<asp:Label runat="server" ID="lblCodQuote" />
<asp:Label runat="server" ID="lblQuoteRev" />
<asp:Label runat="server" ID="lblCodQuote" /><span style="color: #dedede; font-size:0.8em;">.<asp:Label runat="server" ID="lblQuoteRev" /></span>
&nbsp;|&nbsp;
<b><asp:Label runat="server" ID="lblStatus" /></b>
<b>
<asp:Label runat="server" ID="lblStatus" /></b>
<asp:Label runat="server" ID="lblIdxQState" Visible="false" />
</div>
</div>
@@ -77,9 +78,22 @@
</div>
</div>
</div>
<div class="row">
<div id="divStato00" runat="server" class="row">
<div class="col-xs-4 col-xs-offset-4">
<asp:LinkButton runat="server" ID="lbCreateOffer" class="btn btn-success" Width="100%" OnClick="lnkCreateOffer_Click" OnClientClick='<%# SteamWare.jsUtils.getCBE("confIdxQState-010") %>'><i class="fa fa-flash"></i>&nbsp;<%: traduci("nextIdxQState-010") %></asp:LinkButton>
<asp:LinkButton runat="server" ID="lbCreateOffer" class="btn btn-success" Width="100%" OnClick="lnkCreateOffer_Click"><i class="fa fa-flash"></i>&nbsp;<%: traduci("nextIdxQState-010") %></asp:LinkButton>
</div>
</div>
<div id="divStato10" runat="server" class="row">
<div class="col-xs-4 col-xs-offset-2">
<asp:LinkButton runat="server" ID="lbReject" class="btn btn-danger" Width="100%" OnClick="lbReject_Click"><i class="fa fa-flash"></i>&nbsp;<%: traduci("nextIdxQState-000") %></asp:LinkButton>
</div>
<div class="col-xs-4">
<asp:LinkButton runat="server" ID="lbApprove" class="btn btn-success" Width="100%" OnClick="lbApprove_Click"><i class="fa fa-flash"></i>&nbsp;<%: traduci("nextIdxQState-020") %></asp:LinkButton>
</div>
</div>
<div id="divStato20" runat="server" class="row">
<div class="col-xs-4 col-xs-offset-4">
<asp:LinkButton runat="server" ID="lbRelease" class="btn btn-success" Width="100%" OnClick="lbRelease_Click"><i class="fa fa-flash"></i>&nbsp;<%: traduci("nextIdxQState-030") %></asp:LinkButton>
</div>
</div>
</div>
+117 -21
View File
@@ -100,36 +100,52 @@ namespace C2P.WebUserControls
// recupero valori della chaive della quote da URL...
if (!Page.IsPostBack)
{
// leggo da url e salvo (se ci sono...)
QuoteType = Request.QueryString["QuoteType"];
CodQuote = Request.QueryString["CodQuote"];
QuoteRev = Request.QueryString["QuoteRev"];
// carico stato offerta...
int IdxQS = 0;
try
{
IdxQS = DtProxy.man.taQFQ.getByKey(QuoteType, Convert.ToInt32(CodQuote), Convert.ToInt32(QuoteRev), "N")[0].IdxQState;
}
catch
{ }
IdxQState = IdxQState.ToString();
Status = traduci(string.Format("IdxQState-{0:D3}", IdxQS));
updateBaseData();
prevReq = "";
setModVisibility("Header");
setBtnVisibility();
}
mod_Q_Header1.eh_update += mod_Q_Header1_eh_update;
mod_Q_Quot1.eh_update += mod_Q_Quot1_eh_update;
}
/// <summary>
/// aggiorna info base dell'offerta
/// </summary>
private void updateBaseData()
{
// leggo da url e salvo (se ci sono...)
QuoteType = Request.QueryString["QuoteType"];
CodQuote = Request.QueryString["CodQuote"];
QuoteRev = Request.QueryString["QuoteRev"];
// carico stato offerta...
int IdxQS = 0;
try
{
IdxQS = DtProxy.man.taQFQ.getByKey(QuoteType, Convert.ToInt32(CodQuote), Convert.ToInt32(QuoteRev), "N")[0].IdxQState;
}
catch
{ }
IdxQState = IdxQS.ToString();
Status = traduci(string.Format("IdxQState-{0:D3}", IdxQS));
setBtnVisibility();
}
/// <summary>
/// richiesto update x cambiamento valori header
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
void mod_Q_Quot1_eh_update(object sender, EventArgs e)
{
updateBaseData();
setModVisibility("");
}
/// <summary>
/// richiesto update x cambiamento valori costs
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
void mod_Q_Header1_eh_update(object sender, EventArgs e)
{
updateBaseData();
setModVisibility("");
}
/// <summary>
@@ -235,7 +251,7 @@ namespace C2P.WebUserControls
try
{
riga = DtProxy.man.taQFQ.getByKey(QuoteType, Convert.ToInt32(CodQuote), Convert.ToInt32(QuoteRev), "N")[0];
if (riga.NetMar > 0 && riga.PriceOff > 0)
if (riga.NetMar > 0 || riga.PriceOff > 0)
{
okCreate = true;
}
@@ -249,7 +265,36 @@ namespace C2P.WebUserControls
/// </summary>
private void setBtnVisibility()
{
// in abse a stato corrente offerta decide cosa mostrare...
// in base a stato corrente offerta decide cosa mostrare...
switch (IdxQState)
{
case "0":
divStato00.Visible = true;
divStato10.Visible = false;
divStato20.Visible = false;
btnGetPdf.Visible = false;
break;
case "10":
divStato00.Visible = false;
divStato10.Visible = true;
divStato20.Visible = false;
btnGetPdf.Visible = true;
break;
case "20":
divStato00.Visible = false;
divStato10.Visible = false;
divStato20.Visible = true;
btnGetPdf.Visible = true;
break;
case "30":
divStato00.Visible = false;
divStato10.Visible = false;
divStato20.Visible = false;
btnGetPdf.Visible = true;
break;
default:
break;
}
}
/// <summary>
/// Verifica se si possibile creare offerta standard (o si debba passare a SIMULAZIONE)
@@ -267,7 +312,58 @@ namespace C2P.WebUserControls
/// <param name="e"></param>
protected void lnkCreateOffer_Click(object sender, EventArgs e)
{
// cambio stato offerta da draft!
DtProxy.man.taQFQ.updateQState(QuoteType, Convert.ToInt32(CodQuote), Convert.ToInt32(QuoteRev), 10);
// aggiorno!
updateBaseData();
}
/// <summary>
/// rifiuta e riporta in draft
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void lbReject_Click(object sender, EventArgs e)
{
// cambio stato offerta da draft!
DtProxy.man.taQFQ.updateQState(QuoteType, Convert.ToInt32(CodQuote), Convert.ToInt32(QuoteRev), 0);
// aggiorno!
updateBaseData();
}
/// <summary>
/// approva
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void lbApprove_Click(object sender, EventArgs e)
{
// cambio stato offerta da draft!
DtProxy.man.taQFQ.updateQState(QuoteType, Convert.ToInt32(CodQuote), Convert.ToInt32(QuoteRev), 20);
// aggiorno!
updateBaseData();
}
/// <summary>
/// rilascia
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void lbRelease_Click(object sender, EventArgs e)
{
// cambio stato offerta da draft!
DtProxy.man.taQFQ.updateQState(QuoteType, Convert.ToInt32(CodQuote), Convert.ToInt32(QuoteRev), 30);
// aggiorno!
updateBaseData();
}
/// <summary>
/// determina se sia stampabile (cod stato > 0...)
/// </summary>
public bool printEnabled
{
get
{
bool answ = false;
if (IdxQState != "0") answ = true;
return answ;
}
}
}
}
+63
View File
@@ -30,6 +30,15 @@ namespace C2P.WebUserControls {
/// </remarks>
protected global::System.Web.UI.WebControls.LinkButton Return;
/// <summary>
/// btnGetPdf 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.ImageButton btnGetPdf;
/// <summary>
/// lblQuoteType control.
/// </summary>
@@ -174,6 +183,15 @@ namespace C2P.WebUserControls {
/// </remarks>
protected global::C2P.WebUserControls.mod_Q_Quot mod_Q_Quot1;
/// <summary>
/// divStato00 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divStato00;
/// <summary>
/// lbCreateOffer control.
/// </summary>
@@ -182,5 +200,50 @@ namespace C2P.WebUserControls {
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.LinkButton lbCreateOffer;
/// <summary>
/// divStato10 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divStato10;
/// <summary>
/// lbReject 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 lbReject;
/// <summary>
/// lbApprove 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 lbApprove;
/// <summary>
/// divStato20 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divStato20;
/// <summary>
/// lbRelease 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 lbRelease;
}
}
BIN
View File
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+45 -1
View File
@@ -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[6];
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[7];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "dbo.stp_QL_fullDataAll";
@@ -12256,6 +12256,15 @@ SELECT QuoteType, CodQuote, QuoteRev, NumEx, ProcessNum, CodPlant, Class01, Clas
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, "", "", ""));
this._commandCollection[6] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[6].Connection = this.Connection;
this._commandCollection[6].CommandText = "dbo.stp_QLF_UpdQState";
this._commandCollection[6].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[6].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[6].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[6].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[6].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[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxQState", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -12470,6 +12479,41 @@ SELECT QuoteType, CodQuote, QuoteRev, NumEx, ProcessNum, CodPlant, Class01, Clas
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 updateQState(string Original_QuoteType, global::System.Nullable<long> Original_CodQuote, global::System.Nullable<int> Original_QuoteRev, global::System.Nullable<int> IdxQState) {
this.Adapter.SelectCommand = this.CommandCollection[6];
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 ((IdxQState.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[4].Value = ((int)(IdxQState.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")]
+26 -12
View File
@@ -901,6 +901,20 @@ SELECT QuoteType, CodQuote, QuoteRev, NumEx, ProcessNum, CodPlant, Class01, Clas
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Proxima_C2PConnectionString (Settings)" DbObjectName="Proxima_C2P.dbo.stp_QLF_UpdQState" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="updateQState" GetMethodModifier="Public" GetMethodName="updateQState" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="updateQState" UserSourceName="updateQState">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_QLF_UpdQState</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="int" DbType="Int32" Direction="Input" ParameterName="@IdxQState" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
</Tables>
@@ -911,7 +925,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_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: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:complexType>
<xs:sequence>
<xs:element name="QuoteType" msprop:Generator_ColumnVarNameInTable="columnQuoteType" msprop:Generator_ColumnPropNameInRow="QuoteType" msprop:Generator_ColumnPropNameInTable="QuoteTypeColumn" msprop:Generator_UserColumnName="QuoteType">
@@ -995,7 +1009,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_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: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:complexType>
<xs:sequence>
<xs:element name="QuoteType" msprop:Generator_ColumnVarNameInTable="columnQuoteType" msprop:Generator_ColumnPropNameInRow="QuoteType" msprop:Generator_ColumnPropNameInTable="QuoteTypeColumn" msprop:Generator_UserColumnName="QuoteType">
@@ -1031,7 +1045,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_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: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:complexType>
<xs:sequence>
<xs:element name="QuoteType" msprop:Generator_ColumnVarNameInTable="columnQuoteType" msprop:Generator_ColumnPropNameInRow="QuoteType" msprop:Generator_ColumnPropNameInTable="QuoteTypeColumn" msprop:Generator_UserColumnName="QuoteType">
@@ -1056,7 +1070,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_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: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:complexType>
<xs:sequence>
<xs:element name="QuoteType" msprop:Generator_ColumnVarNameInTable="columnQuoteType" msprop:Generator_ColumnPropNameInRow="QuoteType" msprop:Generator_ColumnPropNameInTable="QuoteTypeColumn" msprop:Generator_UserColumnName="QuoteType">
@@ -1136,7 +1150,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_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: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:complexType>
<xs:sequence>
<xs:element name="QuoteType" msprop:Generator_ColumnVarNameInTable="columnQuoteType" msprop:Generator_ColumnPropNameInRow="QuoteType" msprop:Generator_ColumnPropNameInTable="QuoteTypeColumn" msprop:Generator_UserColumnName="QuoteType">
@@ -1173,7 +1187,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_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: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:complexType>
<xs:sequence>
<xs:element name="QuoteType" msprop:Generator_ColumnVarNameInTable="columnQuoteType" msprop:Generator_ColumnPropNameInRow="QuoteType" msprop:Generator_ColumnPropNameInTable="QuoteTypeColumn" msprop:Generator_UserColumnName="QuoteType">
@@ -1243,7 +1257,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_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: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:complexType>
<xs:sequence>
<xs:element name="Vers" msprop:Generator_ColumnVarNameInTable="columnVers" msprop:Generator_ColumnPropNameInRow="Vers" msprop:Generator_ColumnPropNameInTable="VersColumn" msprop:Generator_UserColumnName="Vers">
@@ -1520,11 +1534,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_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" />
<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" />
</xs:appinfo>
</xs:annotation>
</xs:schema>
Binary file not shown.
+1
View File
@@ -211,5 +211,6 @@
<None Include="Snapshots\C2P_Project_orig.dacpac" />
<None Include="Snapshots\C2P_DB_20140224_15-48-32.dacpac" />
<None Include="Compare Proxima_C2P vs C2P_DB.scmp" />
<None Include="Snapshots\C2P_DB_20140416_10-42-42.dacpac" />
</ItemGroup>
</Project>
Binary file not shown.
File diff suppressed because it is too large Load Diff
Binary file not shown.
+2 -2
View File
@@ -5,7 +5,7 @@
using System.Reflection;
[assembly: AssemblyVersion("0.6.45.136")]
[assembly: AssemblyFileVersion("0.6.45.136")]
[assembly: AssemblyVersion("0.6.46.136")]
[assembly: AssemblyFileVersion("0.6.46.136")]
[assembly: AssemblyCopyright("Proxima & Steamware © 2013-2014")]
[assembly: AssemblyCompany("Steamware")]
+2 -2
View File
@@ -6,8 +6,8 @@
using System.Reflection;
[assembly: AssemblyVersion("0.6.45.<#= this.RevisionNumber #>")]
[assembly: AssemblyFileVersion("0.6.45.<#= this.RevisionNumber #>")]
[assembly: AssemblyVersion("0.6.46.<#= this.RevisionNumber #>")]
[assembly: AssemblyFileVersion("0.6.46.<#= this.RevisionNumber #>")]
[assembly: AssemblyCopyright("Proxima & Steamware © 2013-<#= DateTime.Now.Year #>")]
[assembly: AssemblyCompany("Steamware")]
<#+