ok creazione nuovo record... da indagare un update x riga full con divide by zero
This commit is contained in:
@@ -31,5 +31,5 @@ using System.Runtime.InteropServices;
|
||||
//
|
||||
// You can specify all the values or you can default the Revision and Build Numbers
|
||||
// by using the '*' as shown below:
|
||||
[assembly: AssemblyVersion("0.5.30.0")]
|
||||
[assembly: AssemblyFileVersion("0.5.30.0")]
|
||||
[assembly: AssemblyVersion("0.5.32.0")]
|
||||
[assembly: AssemblyFileVersion("0.5.32.0")]
|
||||
|
||||
@@ -97,6 +97,40 @@ namespace C2P.WebUserControls
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// costo materia prima...
|
||||
/// </summary>
|
||||
protected decimal RawMatCost
|
||||
{
|
||||
get
|
||||
{
|
||||
decimal answ = 0;
|
||||
try
|
||||
{
|
||||
answ += Convert.ToDecimal(txtBaseAl.Text.Replace(".", ",")); // !!!FARE verifica con gestione da internationalization
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
return answ;
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// totale base extra inserito...
|
||||
/// </summary>
|
||||
protected decimal RawMatExtraCost
|
||||
{
|
||||
get
|
||||
{
|
||||
decimal answ = 0;
|
||||
try
|
||||
{
|
||||
answ += Convert.ToDecimal(txtExtraLega.Text.Replace(".", ",")); // !!!FARE verifica con gestione da internationalization
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
return answ;
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// totale base lega + extra inserito...
|
||||
/// </summary>
|
||||
protected decimal totale
|
||||
@@ -106,13 +140,7 @@ namespace C2P.WebUserControls
|
||||
decimal answ = 0;
|
||||
try
|
||||
{
|
||||
answ += Convert.ToDecimal(txtBaseAl.Text.Replace(".", ",")); // !!!FARE verifica con gestioen da internationalization
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
try
|
||||
{
|
||||
answ += Convert.ToDecimal(txtExtraLega.Text.Replace(".", ",")); // !!!FARE verifica con gestioen da internationalization
|
||||
answ = RawMatCost + RawMatExtraCost;
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
@@ -163,28 +191,28 @@ namespace C2P.WebUserControls
|
||||
protected void btnNew_Click(object sender, EventArgs e)
|
||||
{
|
||||
// se ho tutti i dati creo nuovo record!
|
||||
decimal RawMatCost = 0;
|
||||
decimal RawMatExtraCost = 0;
|
||||
int batchQty = 0;
|
||||
try
|
||||
{
|
||||
RawMatCost = Convert.ToDecimal(txtBaseAl.Text.Trim());
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
try
|
||||
{
|
||||
RawMatExtraCost = Convert.ToDecimal(txtExtraLega.Text.Trim());
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
try
|
||||
{
|
||||
batchQty = Convert.ToInt32(txtLotto.Text.Trim());
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
C2P_Data.DtProxy.man.taQL.stp_QL_insNew("Q", acCliente.valore, acArticolo.valore, ddlLega.SelectedValue, RawMatCost, RawMatExtraCost, batchQty, ddlConsegna.SelectedValue, txtNote.Text.Trim());
|
||||
// tento insert!
|
||||
try
|
||||
{
|
||||
DS_Quotes.QuoteListDataTable tabRes = DtProxy.man.taQL.insNew("Q", acCliente.valore, acArticolo.valore, ddlLega.SelectedValue, RawMatCost, RawMatExtraCost, batchQty, ddlConsegna.SelectedValue, txtNote.Text.Trim());
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
logger.lg.scriviLog(String.Format("Errore in creazione nuova quote: {0}{1}", Environment.NewLine, exc));
|
||||
}
|
||||
// sollevo evento
|
||||
if (eh_newQuote != null)
|
||||
{
|
||||
eh_newQuote(this, new EventArgs());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
protected void txtLotto_TextChanged(object sender, EventArgs e)
|
||||
@@ -246,6 +274,13 @@ namespace C2P.WebUserControls
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnReset_Click(object sender, EventArgs e)
|
||||
{
|
||||
fullReset();
|
||||
}
|
||||
/// <summary>
|
||||
/// resetta in toto l'offerta
|
||||
/// </summary>
|
||||
private void fullReset()
|
||||
{
|
||||
acCliente.selezione = "";
|
||||
acCliente.valore = "";
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Generated
+65
-76
@@ -8390,6 +8390,71 @@ SELECT QuoteType, CodQuote, QuoteRev, CodClient, CodItem, CodItemGroup, RawMat,
|
||||
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.QuoteListDataTable insNew(string QuoteType, 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[2];
|
||||
if ((QuoteType == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(QuoteType));
|
||||
}
|
||||
if ((CodClient == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[2].Value = ((string)(CodClient));
|
||||
}
|
||||
if ((CodItem == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[3].Value = ((string)(CodItem));
|
||||
}
|
||||
if ((RawMat == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[4].Value = ((string)(RawMat));
|
||||
}
|
||||
if ((RawMatCost.HasValue == true)) {
|
||||
this.Adapter.SelectCommand.Parameters[5].Value = ((decimal)(RawMatCost.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[5].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((RawMatExtraCost.HasValue == true)) {
|
||||
this.Adapter.SelectCommand.Parameters[6].Value = ((decimal)(RawMatExtraCost.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[6].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((BatchQty.HasValue == true)) {
|
||||
this.Adapter.SelectCommand.Parameters[7].Value = ((int)(BatchQty.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[7].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((CodInco == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[8].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[8].Value = ((string)(CodInco));
|
||||
}
|
||||
if ((Note == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[9].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[9].Value = ((string)(Note));
|
||||
}
|
||||
DS_Quotes.QuoteListDataTable dataTable = new DS_Quotes.QuoteListDataTable();
|
||||
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")]
|
||||
@@ -8866,82 +8931,6 @@ SELECT QuoteType, CodQuote, QuoteRev, CodClient, CodItem, CodItemGroup, RawMat,
|
||||
return this.Update(Original_QuoteType, Original_CodQuote, Original_QuoteRev, CodClient, CodItem, CodItemGroup, RawMat, UnitWeight, BatchQty, CodInco, Note, PriceOff, OrdDate, OrdNum, OrdRow, OrdPrice, Original_QuoteType, Original_CodQuote, Original_QuoteRev, Original_CodClient, Original_CodItem, Original_CodItemGroup, Original_RawMat, Original_UnitWeight, Original_BatchQty, Original_CodInco, Original_KeyAM, Original_Note, Original_PriceOff, Original_OrdDate, Original_OrdNum, Original_OrdRow, Original_OrdPrice);
|
||||
}
|
||||
|
||||
[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")]
|
||||
public virtual int stp_QL_insNew(string QuoteType, 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) {
|
||||
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2];
|
||||
if ((QuoteType == null)) {
|
||||
command.Parameters[1].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
command.Parameters[1].Value = ((string)(QuoteType));
|
||||
}
|
||||
if ((CodClient == null)) {
|
||||
command.Parameters[2].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
command.Parameters[2].Value = ((string)(CodClient));
|
||||
}
|
||||
if ((CodItem == null)) {
|
||||
command.Parameters[3].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
command.Parameters[3].Value = ((string)(CodItem));
|
||||
}
|
||||
if ((RawMat == null)) {
|
||||
command.Parameters[4].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
command.Parameters[4].Value = ((string)(RawMat));
|
||||
}
|
||||
if ((RawMatCost.HasValue == true)) {
|
||||
command.Parameters[5].Value = ((decimal)(RawMatCost.Value));
|
||||
}
|
||||
else {
|
||||
command.Parameters[5].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((RawMatExtraCost.HasValue == true)) {
|
||||
command.Parameters[6].Value = ((decimal)(RawMatExtraCost.Value));
|
||||
}
|
||||
else {
|
||||
command.Parameters[6].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((BatchQty.HasValue == true)) {
|
||||
command.Parameters[7].Value = ((int)(BatchQty.Value));
|
||||
}
|
||||
else {
|
||||
command.Parameters[7].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((CodInco == null)) {
|
||||
command.Parameters[8].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
command.Parameters[8].Value = ((string)(CodInco));
|
||||
}
|
||||
if ((Note == null)) {
|
||||
command.Parameters[9].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
command.Parameters[9].Value = ((string)(Note));
|
||||
}
|
||||
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
||||
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
||||
!= global::System.Data.ConnectionState.Open)) {
|
||||
command.Connection.Open();
|
||||
}
|
||||
int returnValue;
|
||||
try {
|
||||
returnValue = command.ExecuteNonQuery();
|
||||
}
|
||||
finally {
|
||||
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
||||
command.Connection.Close();
|
||||
}
|
||||
}
|
||||
return returnValue;
|
||||
}
|
||||
|
||||
[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")]
|
||||
|
||||
+13
-13
@@ -142,7 +142,7 @@ SELECT QuoteType, CodQuote, QuoteRev, CodClient, CodItem, CodItemGroup, RawMat,
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="Proxima_C2PConnectionString (Settings)" DbObjectName="Proxima_C2P.dbo.stp_QL_insNew" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="stp_QL_insNew" Modifier="Public" Name="stp_QL_insNew" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="stp_QL_insNew">
|
||||
<DbSource ConnectionRef="Proxima_C2PConnectionString (Settings)" DbObjectName="Proxima_C2P.dbo.stp_QL_insNew" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="insNew" GeneratorSourceName="stp_QL_insNew" GetMethodModifier="Public" GetMethodName="insNew" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="insNew" UserSourceName="insNew">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_QL_insNew</CommandText>
|
||||
@@ -868,7 +868,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">
|
||||
@@ -951,7 +951,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">
|
||||
@@ -987,7 +987,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">
|
||||
@@ -1012,7 +1012,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">
|
||||
@@ -1092,7 +1092,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">
|
||||
@@ -1129,7 +1129,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">
|
||||
@@ -1199,7 +1199,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">
|
||||
@@ -1475,11 +1475,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>
|
||||
@@ -6,7 +6,7 @@
|
||||
</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="-21" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||
<Shapes>
|
||||
<Shape ID="DesignTable:QuoteList" ZOrder="1" X="462" Y="129" Height="457" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="332" />
|
||||
<Shape ID="DesignTable:QuoteList" ZOrder="1" X="462" Y="129" Height="457" Width="300" 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" />
|
||||
|
||||
Reference in New Issue
Block a user