Gestioen "corretto rimbalzo" tra quotazioni S/Q per pagine quote/new offer

inserita modalità "simulazione" da offerta esistente
This commit is contained in:
Samuele E. Locatelli
2014-05-16 11:27:30 +02:00
parent a5643c924e
commit b8e94de5c3
11 changed files with 56 additions and 36 deletions
+5
View File
@@ -11,6 +11,11 @@ namespace C2P
{
protected void Page_Load(object sender, EventArgs e)
{
// verifico se tipo offerta coerente ("Q") oppure redirect...
if (Request.QueryString["QuoteType"].ToString() == "S")
{
Response.Redirect(string.Format("NewProductOffer?QuoteType={0}&CodQuote={1}&QuoteRev={2}", Request.QueryString["QuoteType"], Request.QueryString["CodQuote"], Request.QueryString["QuoteRev"]));
}
#if false
mod_newQuote1.eh_newSearchData += mod_newQuote1_eh_newSearchData;
mod_newQuote1.eh_newQuote += mod_newQuote1_eh_newQuote;
@@ -76,7 +76,7 @@ namespace C2P.WebUserControls
{
mod_range1.minVal = 0;
mod_range1.maxVal = 10000;
}
}
}
/// <summary>
/// sistema visibilità button...
@@ -392,7 +392,7 @@ namespace C2P.WebUserControls
protected void lbDuplicate_Click(object sender, EventArgs e)
{
// duplica offerta!
DS_Quotes.QuoteListDataTable tab = DtProxy.man.taQL.clone(QuoteType, Convert.ToInt32(CodQuote), Convert.ToInt32(QuoteRev));
DS_Quotes.QuoteListDataTable tab = DtProxy.man.taQL.clone(QuoteType, QuoteType, Convert.ToInt32(CodQuote), Convert.ToInt32(QuoteRev));
if (tab.Rows.Count > 0)
{
// seleziona l'offerta duplicata!
@@ -406,7 +406,13 @@ namespace C2P.WebUserControls
/// <param name="e"></param>
protected void lbSimulate_Click(object sender, EventArgs e)
{
// duplico dati come simulazione...
DS_Quotes.QuoteListDataTable tab = DtProxy.man.taQL.clone("S", QuoteType, Convert.ToInt32(CodQuote), Convert.ToInt32(QuoteRev));
if (tab.Rows.Count > 0)
{
// apro pagina simulazione appena creata...
Response.Redirect(string.Format("Quote?QuoteType={0}&CodQuote={1}&QuoteRev={2}", tab[0].QuoteType, tab[0].CodQuote, tab[0].QuoteRev));
}
}
/// <summary>
/// stampa offerta(e) selezionata(e)
BIN
View File
Binary file not shown.
Binary file not shown.
Binary file not shown.
+14 -7
View File
@@ -11790,6 +11790,7 @@ SELECT QuoteType, CodQuote, QuoteRev, IdxQState, CodClient, CodItem, CodItemGrou
this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuoteType", global::System.Data.SqlDbType.Char, 1, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuoteType_orig", global::System.Data.SqlDbType.Char, 1, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodQuote_orig", global::System.Data.SqlDbType.BigInt, 8, global::System.Data.ParameterDirection.Input, 19, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuoteRev_orig", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
@@ -11860,7 +11861,7 @@ SELECT QuoteType, CodQuote, QuoteRev, IdxQState, CodClient, CodItem, CodItemGrou
[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.QuoteListDataTable clone(string QuoteType, global::System.Nullable<long> CodQuote_orig, global::System.Nullable<int> QuoteRev_orig) {
public virtual DS_Quotes.QuoteListDataTable clone(string QuoteType, string QuoteType_orig, global::System.Nullable<long> CodQuote_orig, global::System.Nullable<int> QuoteRev_orig) {
this.Adapter.SelectCommand = this.CommandCollection[1];
if ((QuoteType == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
@@ -11868,18 +11869,24 @@ SELECT QuoteType, CodQuote, QuoteRev, IdxQState, CodClient, CodItem, CodItemGrou
else {
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(QuoteType));
}
if ((CodQuote_orig.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[2].Value = ((long)(CodQuote_orig.Value));
}
else {
if ((QuoteType_orig == null)) {
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
}
if ((QuoteRev_orig.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[3].Value = ((int)(QuoteRev_orig.Value));
else {
this.Adapter.SelectCommand.Parameters[2].Value = ((string)(QuoteType_orig));
}
if ((CodQuote_orig.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[3].Value = ((long)(CodQuote_orig.Value));
}
else {
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
}
if ((QuoteRev_orig.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[4].Value = ((int)(QuoteRev_orig.Value));
}
else {
this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value;
}
DS_Quotes.QuoteListDataTable dataTable = new DS_Quotes.QuoteListDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
+14 -13
View File
@@ -141,6 +141,7 @@ SELECT QuoteType, CodQuote, QuoteRev, IdxQState, CodClient, CodItem, CodItemGrou
<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="@QuoteType" Precision="0" ProviderType="Char" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="char" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@QuoteType_orig" Precision="0" ProviderType="Char" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@CodQuote_orig" Precision="19" ProviderType="BigInt" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@QuoteRev_orig" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
@@ -1559,7 +1560,7 @@ SELECT Vers, QuoteType, CodQuote, QuoteRev, IdxQState, CodClient, ClientName, Co
<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">
@@ -1643,7 +1644,7 @@ SELECT Vers, QuoteType, CodQuote, QuoteRev, IdxQState, CodClient, ClientName, Co
</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">
@@ -1679,7 +1680,7 @@ SELECT Vers, QuoteType, CodQuote, QuoteRev, IdxQState, CodClient, ClientName, Co
</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">
@@ -1704,7 +1705,7 @@ SELECT Vers, QuoteType, CodQuote, QuoteRev, IdxQState, CodClient, ClientName, Co
</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">
@@ -1784,7 +1785,7 @@ SELECT Vers, QuoteType, CodQuote, QuoteRev, IdxQState, CodClient, ClientName, Co
</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">
@@ -1821,7 +1822,7 @@ SELECT Vers, QuoteType, CodQuote, QuoteRev, IdxQState, CodClient, ClientName, Co
</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">
@@ -1891,7 +1892,7 @@ SELECT Vers, QuoteType, CodQuote, QuoteRev, IdxQState, CodClient, ClientName, Co
</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">
@@ -2126,7 +2127,7 @@ SELECT Vers, QuoteType, CodQuote, QuoteRev, IdxQState, CodClient, ClientName, Co
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="QuoteFull_S" msprop:Generator_TableClassName="QuoteFull_SDataTable" msprop:Generator_TableVarName="tableQuoteFull_S" msprop:Generator_TablePropName="QuoteFull_S" msprop:Generator_RowDeletingName="QuoteFull_SRowDeleting" msprop:Generator_RowChangingName="QuoteFull_SRowChanging" msprop:Generator_RowEvHandlerName="QuoteFull_SRowChangeEventHandler" msprop:Generator_RowDeletedName="QuoteFull_SRowDeleted" msprop:Generator_UserTableName="QuoteFull_S" msprop:Generator_RowChangedName="QuoteFull_SRowChanged" msprop:Generator_RowEvArgName="QuoteFull_SRowChangeEvent" msprop:Generator_RowClassName="QuoteFull_SRow">
<xs:element name="QuoteFull_S" msprop:Generator_TableClassName="QuoteFull_SDataTable" msprop:Generator_TableVarName="tableQuoteFull_S" msprop:Generator_RowChangedName="QuoteFull_SRowChanged" msprop:Generator_TablePropName="QuoteFull_S" msprop:Generator_RowDeletingName="QuoteFull_SRowDeleting" msprop:Generator_RowChangingName="QuoteFull_SRowChanging" msprop:Generator_RowEvHandlerName="QuoteFull_SRowChangeEventHandler" msprop:Generator_RowDeletedName="QuoteFull_SRowDeleted" msprop:Generator_RowClassName="QuoteFull_SRow" msprop:Generator_UserTableName="QuoteFull_S" msprop:Generator_RowEvArgName="QuoteFull_SRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="Vers" msprop:Generator_ColumnVarNameInTable="columnVers" msprop:Generator_ColumnPropNameInRow="Vers" msprop:Generator_ColumnPropNameInTable="VersColumn" msprop:Generator_UserColumnName="Vers">
@@ -2422,11 +2423,11 @@ SELECT Vers, QuoteType, CodQuote, QuoteRev, IdxQState, CodClient, ClientName, Co
</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>
+14 -13
View File
@@ -4,18 +4,19 @@
Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated.
</autogenerated>-->
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="-2" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="1" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes>
<Shape ID="DesignTable:QuoteList" ZOrder="2" X="462" Y="129" Height="476" Width="268" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="349" />
<Shape ID="DesignTable:QuoteRM" ZOrder="10" X="122" Y="271" Height="324" Width="264" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:QuoteWorkExt" ZOrder="11" X="102" Y="35" Height="210" Width="230" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
<Shape ID="DesignTable:QuoteWorkInt" ZOrder="9" X="882" Y="11" Height="305" Width="228" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:QuoteParam" ZOrder="7" X="497" Y="665" Height="210" Width="217" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
<Shape ID="DesignTable:QuoteOC" ZOrder="5" X="889" Y="418" Height="305" Width="197" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:QuoteFull_Q" ZOrder="1" X="40" Y="606" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:QuoteList" ZOrder="1" X="462" Y="129" Height="476" Width="268" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="349" />
<Shape ID="DesignTable:QuoteRM" ZOrder="11" X="122" Y="271" Height="324" Width="264" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:QuoteWorkExt" ZOrder="12" X="102" Y="35" Height="210" Width="230" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
<Shape ID="DesignTable:QuoteWorkInt" ZOrder="10" X="882" Y="11" Height="305" Width="228" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:QuoteParam" ZOrder="8" X="497" Y="665" Height="210" Width="217" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
<Shape ID="DesignTable:QuoteOC" ZOrder="6" X="889" Y="418" Height="305" Width="197" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:QuoteFull_Q" ZOrder="3" X="40" Y="606" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:QuoteFull_S" ZOrder="2" X="854" Y="760" Height="230" Width="249" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
</Shapes>
<Connectors>
<Connector ID="DesignRelation:FK_QuoteRM_QuoteList" ZOrder="12" LineWidth="11">
<Connector ID="DesignRelation:FK_QuoteRM_QuoteList" ZOrder="13" LineWidth="11">
<RoutePoints>
<Point>
<X>462</X>
@@ -27,7 +28,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_QuoteWorkExt_QuoteList" ZOrder="3" LineWidth="11">
<Connector ID="DesignRelation:FK_QuoteWorkExt_QuoteList" ZOrder="4" LineWidth="11">
<RoutePoints>
<Point>
<X>462</X>
@@ -39,7 +40,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_QuoteWorkInt_QuoteList" ZOrder="8" LineWidth="11">
<Connector ID="DesignRelation:FK_QuoteWorkInt_QuoteList" ZOrder="9" LineWidth="11">
<RoutePoints>
<Point>
<X>645</X>
@@ -55,7 +56,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_QuoteParam_QuoteList" ZOrder="6" LineWidth="11">
<Connector ID="DesignRelation:FK_QuoteParam_QuoteList" ZOrder="7" LineWidth="11">
<RoutePoints>
<Point>
<X>570</X>
@@ -67,7 +68,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_QuoteExtra_QuoteList" ZOrder="4" LineWidth="11">
<Connector ID="DesignRelation:FK_QuoteExtra_QuoteList" ZOrder="5" LineWidth="11">
<RoutePoints>
<Point>
<X>730</X>
Binary file not shown.
Binary file not shown.
Binary file not shown.