inserite nuove stored by Gian x gestione listini standard

This commit is contained in:
Samuele E. Locatelli
2014-05-29 17:25:41 +02:00
parent 68e7c9cf33
commit d09551edd3
13 changed files with 110 additions and 72 deletions
+2 -2
View File
@@ -34,8 +34,8 @@
<add key="doPdfCopy" value="false" />
<add key="reportsUrl" value="http://10.74.82.218/C2P_Report" />
<!--numero record max x processing lunghi-->
<add key="rec2procQLR" value="100" />
<add key="rec2procQLC" value="100" />
<add key="rec2procQLR" value="500" />
<add key="rec2procQLC" value="500" />
<!--datasources e stampanti!-->
<add key="printerOffers" value="\\W2012R2SAM\PDFCreator" />
<add key="PageWidthOffers" value="21cm" />
@@ -73,7 +73,7 @@ namespace C2P.WebUserControls
// processing...
if (queueLenght() > 0)
{
DtProxy.man.taSC2C.generateNewQLC(RawMatCost, batchQty, "C", string.Format("Created by {0} on {1:dd/MM/yy HH:mm}", user_std.UtSn.userNameAD, DateTime.Now), rec2procQLC);
DtProxy.man.taSC2C.generateNewQLC(rec2procQLC, string.Format("Created by {0} on {1:dd/MM/yy HH:mm}", user_std.UtSn.userNameAD, DateTime.Now), "C");
}
else
{
@@ -191,8 +191,9 @@ namespace C2P.WebUserControls
if (batchQty > 0 && RawMatCost > 0)
{
// elimino eventuale listino vecchio
int currDate = Convert.ToInt32(DateTime.Now.ToString("yyMMdd"));
DtProxy.man.taSCL.deleteByDate(currDate);
DtProxy.man.taSCL.deleteByDate(DateTime.Now);
// creo elenco articoli da generare...
DtProxy.man.taSC2C.insertForDate(RawMatCost, batchQty);
// avvio creazione record (in small batch...)
lblAcqOut.Text = "";
processQLC();
BIN
View File
Binary file not shown.
Binary file not shown.
Binary file not shown.
+5 -5
View File
@@ -22228,10 +22228,10 @@ SELECT RawMat, ProcCost, ProcYield, CSR, SSR, SSVA, SSVR, ExtraMatCost, ExtraSer
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[1].Connection = this.Connection;
this._commandCollection[1].CommandText = "dbo.stp_QLC_deleteByDate";
this._commandCollection[1].CommandText = "dbo.stp_SC2C_deleteForDate";
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("@Date2Delete", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Date", global::System.Data.SqlDbType.SmallDateTime, 4, global::System.Data.ParameterDirection.Input, 16, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[2].Connection = this.Connection;
this._commandCollection[2].CommandText = "dbo.stp_QLR_getByDate";
@@ -22284,10 +22284,10 @@ SELECT RawMat, ProcCost, ProcYield, CSR, SSR, SSVA, SSVR, ExtraMatCost, ExtraSer
[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 deleteByDate(global::System.Nullable<int> Date2Delete) {
public virtual int deleteByDate(global::System.Nullable<global::System.DateTime> Date) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
if ((Date2Delete.HasValue == true)) {
command.Parameters[1].Value = ((int)(Date2Delete.Value));
if ((Date.HasValue == true)) {
command.Parameters[1].Value = ((System.DateTime)(Date.Value));
}
else {
command.Parameters[1].Value = global::System.DBNull.Value;
+18 -18
View File
@@ -1824,13 +1824,13 @@ SELECT RawMat, ProcCost, ProcYield, CSR, SSR, SSVA, SSVR, ExtraMatCost, ExtraSer
<Mapping SourceColumn="FullCost" DataSetColumn="FullCost" />
</Mappings>
<Sources>
<DbSource ConnectionRef="Proxima_C2PConnectionString (Settings)" DbObjectName="Proxima_C2P.dbo.stp_QLC_deleteByDate" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="deleteByDate" Modifier="Public" Name="deleteByDate" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="deleteByDate">
<DbSource ConnectionRef="Proxima_C2PConnectionString (Settings)" DbObjectName="Proxima_C2P.dbo.stp_SC2C_deleteForDate" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="deleteByDate" Modifier="Public" Name="deleteByDate" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="deleteByDate">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_QLC_deleteByDate</CommandText>
<CommandText>dbo.stp_SC2C_deleteForDate</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="int" DbType="Int32" Direction="Input" ParameterName="@Date2Delete" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="smalldatetime" DbType="DateTime" Direction="Input" ParameterName="@Date" Precision="16" ProviderType="SmallDateTime" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
@@ -1856,7 +1856,7 @@ SELECT RawMat, ProcCost, ProcYield, CSR, SSR, SSVA, SSVR, ExtraMatCost, ExtraSer
<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">
@@ -1940,7 +1940,7 @@ SELECT RawMat, ProcCost, ProcYield, CSR, SSR, SSVA, SSVR, ExtraMatCost, ExtraSer
</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">
@@ -1976,7 +1976,7 @@ SELECT RawMat, ProcCost, ProcYield, CSR, SSR, SSVA, SSVR, ExtraMatCost, ExtraSer
</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">
@@ -2001,7 +2001,7 @@ SELECT RawMat, ProcCost, ProcYield, CSR, SSR, SSVA, SSVR, ExtraMatCost, ExtraSer
</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">
@@ -2081,7 +2081,7 @@ SELECT RawMat, ProcCost, ProcYield, CSR, SSR, SSVA, SSVR, ExtraMatCost, ExtraSer
</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">
@@ -2118,7 +2118,7 @@ SELECT RawMat, ProcCost, ProcYield, CSR, SSR, SSVA, SSVR, ExtraMatCost, ExtraSer
</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">
@@ -2188,7 +2188,7 @@ SELECT RawMat, ProcCost, ProcYield, CSR, SSR, SSVA, SSVR, ExtraMatCost, ExtraSer
</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">
@@ -2443,7 +2443,7 @@ SELECT RawMat, ProcCost, ProcYield, CSR, SSR, SSVA, SSVR, ExtraMatCost, ExtraSer
</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">
@@ -2681,7 +2681,7 @@ SELECT RawMat, ProcCost, ProcYield, CSR, SSR, SSVA, SSVR, ExtraMatCost, ExtraSer
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="RawMatDet" msprop:Generator_TableClassName="RawMatDetDataTable" msprop:Generator_TableVarName="tableRawMatDet" msprop:Generator_RowChangedName="RawMatDetRowChanged" msprop:Generator_TablePropName="RawMatDet" msprop:Generator_RowDeletingName="RawMatDetRowDeleting" msprop:Generator_RowChangingName="RawMatDetRowChanging" msprop:Generator_RowEvHandlerName="RawMatDetRowChangeEventHandler" msprop:Generator_RowDeletedName="RawMatDetRowDeleted" msprop:Generator_RowClassName="RawMatDetRow" msprop:Generator_UserTableName="RawMatDet" msprop:Generator_RowEvArgName="RawMatDetRowChangeEvent">
<xs:element name="RawMatDet" msprop:Generator_TableClassName="RawMatDetDataTable" msprop:Generator_TableVarName="tableRawMatDet" msprop:Generator_TablePropName="RawMatDet" msprop:Generator_RowDeletingName="RawMatDetRowDeleting" msprop:Generator_RowChangingName="RawMatDetRowChanging" msprop:Generator_RowEvHandlerName="RawMatDetRowChangeEventHandler" msprop:Generator_RowDeletedName="RawMatDetRowDeleted" msprop:Generator_UserTableName="RawMatDet" msprop:Generator_RowChangedName="RawMatDetRowChanged" msprop:Generator_RowEvArgName="RawMatDetRowChangeEvent" msprop:Generator_RowClassName="RawMatDetRow">
<xs:complexType>
<xs:sequence>
<xs:element name="RawMat" msprop:Generator_ColumnVarNameInTable="columnRawMat" msprop:Generator_ColumnPropNameInRow="RawMat" msprop:Generator_ColumnPropNameInTable="RawMatColumn" msprop:Generator_UserColumnName="RawMat">
@@ -2702,7 +2702,7 @@ SELECT RawMat, ProcCost, ProcYield, CSR, SSR, SSVA, SSVR, ExtraMatCost, ExtraSer
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="StdCostList" msprop:Generator_TableClassName="StdCostListDataTable" msprop:Generator_TableVarName="tableStdCostList" msprop:Generator_TablePropName="StdCostList" msprop:Generator_RowDeletingName="StdCostListRowDeleting" msprop:Generator_RowChangingName="StdCostListRowChanging" msprop:Generator_RowEvHandlerName="StdCostListRowChangeEventHandler" msprop:Generator_RowDeletedName="StdCostListRowDeleted" msprop:Generator_UserTableName="StdCostList" msprop:Generator_RowChangedName="StdCostListRowChanged" msprop:Generator_RowEvArgName="StdCostListRowChangeEvent" msprop:Generator_RowClassName="StdCostListRow">
<xs:element name="StdCostList" msprop:Generator_TableClassName="StdCostListDataTable" msprop:Generator_TableVarName="tableStdCostList" msprop:Generator_RowChangedName="StdCostListRowChanged" msprop:Generator_TablePropName="StdCostList" msprop:Generator_RowDeletingName="StdCostListRowDeleting" msprop:Generator_RowChangingName="StdCostListRowChanging" msprop:Generator_RowEvHandlerName="StdCostListRowChangeEventHandler" msprop:Generator_RowDeletedName="StdCostListRowDeleted" msprop:Generator_RowClassName="StdCostListRow" msprop:Generator_UserTableName="StdCostList" msprop:Generator_RowEvArgName="StdCostListRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="DataRif" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnDataRif" msprop:Generator_ColumnPropNameInRow="DataRif" msprop:Generator_ColumnPropNameInTable="DataRifColumn" msprop:Generator_UserColumnName="DataRif" minOccurs="0">
@@ -2837,11 +2837,11 @@ SELECT RawMat, ProcCost, ProcYield, CSR, SSR, SSVA, SSVR, ExtraMatCost, ExtraSer
</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>
+28 -18
View File
@@ -471,13 +471,23 @@ SELECT Ticket, Report, Chiave, UserReq, DataReq, DataPrint FROM ReportPrintTicke
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_QLC_insNew</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="int" DbType="Int32" Direction="Input" ParameterName="@row2proc" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Note" Precision="0" ProviderType="NVarChar" Scale="0" Size="2500" 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" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Proxima_C2PConnectionString (Settings)" DbObjectName="Proxima_C2P.dbo.stp_SC2C_insertForDate" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="insertForDate" Modifier="Public" Name="insertForDate" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="insertForDate">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_SC2C_insertForDate</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="decimal" DbType="Decimal" Direction="Input" ParameterName="@RawMatCost" Precision="18" ProviderType="Decimal" Scale="6" Size="9" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@BatchQty" 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="nvarchar" DbType="String" Direction="Input" ParameterName="@Note" Precision="0" ProviderType="NVarChar" Scale="0" Size="2500" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@row2proc" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
@@ -492,7 +502,7 @@ SELECT Ticket, Report, Chiave, UserReq, DataReq, DataPrint FROM ReportPrintTicke
<xs:element name="DS_Utility" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DS_Utility" msprop:Generator_UserDSName="DS_Utility">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="v_selClient" msprop:Generator_TableClassName="v_selClientDataTable" msprop:Generator_TableVarName="tablev_selClient" msprop:Generator_TablePropName="v_selClient" msprop:Generator_RowDeletingName="v_selClientRowDeleting" msprop:Generator_RowChangingName="v_selClientRowChanging" msprop:Generator_RowEvHandlerName="v_selClientRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selClientRowDeleted" msprop:Generator_UserTableName="v_selClient" msprop:Generator_RowChangedName="v_selClientRowChanged" msprop:Generator_RowEvArgName="v_selClientRowChangeEvent" msprop:Generator_RowClassName="v_selClientRow">
<xs:element name="v_selClient" msprop:Generator_TableClassName="v_selClientDataTable" msprop:Generator_TableVarName="tablev_selClient" msprop:Generator_RowChangedName="v_selClientRowChanged" msprop:Generator_TablePropName="v_selClient" msprop:Generator_RowDeletingName="v_selClientRowDeleting" msprop:Generator_RowChangingName="v_selClientRowChanging" msprop:Generator_RowEvHandlerName="v_selClientRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selClientRowDeleted" msprop:Generator_RowClassName="v_selClientRow" msprop:Generator_UserTableName="v_selClient" msprop:Generator_RowEvArgName="v_selClientRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value">
@@ -512,7 +522,7 @@ SELECT Ticket, Report, Chiave, UserReq, DataReq, DataPrint FROM ReportPrintTicke
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selItems" msprop:Generator_TableClassName="v_selItemsDataTable" msprop:Generator_TableVarName="tablev_selItems" msprop:Generator_RowChangedName="v_selItemsRowChanged" msprop:Generator_TablePropName="v_selItems" msprop:Generator_RowDeletingName="v_selItemsRowDeleting" msprop:Generator_RowChangingName="v_selItemsRowChanging" msprop:Generator_RowEvHandlerName="v_selItemsRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selItemsRowDeleted" msprop:Generator_RowClassName="v_selItemsRow" msprop:Generator_UserTableName="v_selItems" msprop:Generator_RowEvArgName="v_selItemsRowChangeEvent">
<xs:element name="v_selItems" msprop:Generator_TableClassName="v_selItemsDataTable" msprop:Generator_TableVarName="tablev_selItems" msprop:Generator_TablePropName="v_selItems" msprop:Generator_RowDeletingName="v_selItemsRowDeleting" msprop:Generator_RowChangingName="v_selItemsRowChanging" msprop:Generator_RowEvHandlerName="v_selItemsRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selItemsRowDeleted" msprop:Generator_UserTableName="v_selItems" msprop:Generator_RowChangedName="v_selItemsRowChanged" msprop:Generator_RowEvArgName="v_selItemsRowChangeEvent" msprop:Generator_RowClassName="v_selItemsRow">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value">
@@ -532,7 +542,7 @@ SELECT Ticket, Report, Chiave, UserReq, DataReq, DataPrint FROM ReportPrintTicke
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selRawMat" msprop:Generator_TableClassName="v_selRawMatDataTable" msprop:Generator_TableVarName="tablev_selRawMat" msprop:Generator_TablePropName="v_selRawMat" msprop:Generator_RowDeletingName="v_selRawMatRowDeleting" msprop:Generator_RowChangingName="v_selRawMatRowChanging" msprop:Generator_RowEvHandlerName="v_selRawMatRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selRawMatRowDeleted" msprop:Generator_UserTableName="v_selRawMat" msprop:Generator_RowChangedName="v_selRawMatRowChanged" msprop:Generator_RowEvArgName="v_selRawMatRowChangeEvent" msprop:Generator_RowClassName="v_selRawMatRow">
<xs:element name="v_selRawMat" msprop:Generator_TableClassName="v_selRawMatDataTable" msprop:Generator_TableVarName="tablev_selRawMat" msprop:Generator_RowChangedName="v_selRawMatRowChanged" msprop:Generator_TablePropName="v_selRawMat" msprop:Generator_RowDeletingName="v_selRawMatRowDeleting" msprop:Generator_RowChangingName="v_selRawMatRowChanging" msprop:Generator_RowEvHandlerName="v_selRawMatRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selRawMatRowDeleted" msprop:Generator_RowClassName="v_selRawMatRow" msprop:Generator_UserTableName="v_selRawMat" msprop:Generator_RowEvArgName="v_selRawMatRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value">
@@ -552,7 +562,7 @@ SELECT Ticket, Report, Chiave, UserReq, DataReq, DataPrint FROM ReportPrintTicke
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selCons" msprop:Generator_TableClassName="v_selConsDataTable" msprop:Generator_TableVarName="tablev_selCons" msprop:Generator_RowChangedName="v_selConsRowChanged" msprop:Generator_TablePropName="v_selCons" msprop:Generator_RowDeletingName="v_selConsRowDeleting" msprop:Generator_RowChangingName="v_selConsRowChanging" msprop:Generator_RowEvHandlerName="v_selConsRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selConsRowDeleted" msprop:Generator_RowClassName="v_selConsRow" msprop:Generator_UserTableName="v_selCons" msprop:Generator_RowEvArgName="v_selConsRowChangeEvent">
<xs:element name="v_selCons" msprop:Generator_TableClassName="v_selConsDataTable" msprop:Generator_TableVarName="tablev_selCons" msprop:Generator_TablePropName="v_selCons" msprop:Generator_RowDeletingName="v_selConsRowDeleting" msprop:Generator_RowChangingName="v_selConsRowChanging" msprop:Generator_RowEvHandlerName="v_selConsRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selConsRowDeleted" msprop:Generator_UserTableName="v_selCons" msprop:Generator_RowChangedName="v_selConsRowChanged" msprop:Generator_RowEvArgName="v_selConsRowChangeEvent" msprop:Generator_RowClassName="v_selConsRow">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value">
@@ -572,7 +582,7 @@ SELECT Ticket, Report, Chiave, UserReq, DataReq, DataPrint FROM ReportPrintTicke
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selIncoterms" msprop:Generator_TableClassName="v_selIncotermsDataTable" msprop:Generator_TableVarName="tablev_selIncoterms" msprop:Generator_TablePropName="v_selIncoterms" msprop:Generator_RowDeletingName="v_selIncotermsRowDeleting" msprop:Generator_RowChangingName="v_selIncotermsRowChanging" msprop:Generator_RowEvHandlerName="v_selIncotermsRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selIncotermsRowDeleted" msprop:Generator_UserTableName="v_selIncoterms" msprop:Generator_RowChangedName="v_selIncotermsRowChanged" msprop:Generator_RowEvArgName="v_selIncotermsRowChangeEvent" msprop:Generator_RowClassName="v_selIncotermsRow">
<xs:element name="v_selIncoterms" msprop:Generator_TableClassName="v_selIncotermsDataTable" msprop:Generator_TableVarName="tablev_selIncoterms" msprop:Generator_RowChangedName="v_selIncotermsRowChanged" msprop:Generator_TablePropName="v_selIncoterms" msprop:Generator_RowDeletingName="v_selIncotermsRowDeleting" msprop:Generator_RowChangingName="v_selIncotermsRowChanging" msprop:Generator_RowEvHandlerName="v_selIncotermsRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selIncotermsRowDeleted" msprop:Generator_RowClassName="v_selIncotermsRow" msprop:Generator_UserTableName="v_selIncoterms" msprop:Generator_RowEvArgName="v_selIncotermsRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value">
@@ -592,7 +602,7 @@ SELECT Ticket, Report, Chiave, UserReq, DataReq, DataPrint FROM ReportPrintTicke
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ReportPrintTicket" msprop:Generator_TableClassName="ReportPrintTicketDataTable" msprop:Generator_TableVarName="tableReportPrintTicket" msprop:Generator_RowChangedName="ReportPrintTicketRowChanged" msprop:Generator_TablePropName="ReportPrintTicket" msprop:Generator_RowDeletingName="ReportPrintTicketRowDeleting" msprop:Generator_RowChangingName="ReportPrintTicketRowChanging" msprop:Generator_RowEvHandlerName="ReportPrintTicketRowChangeEventHandler" msprop:Generator_RowDeletedName="ReportPrintTicketRowDeleted" msprop:Generator_RowClassName="ReportPrintTicketRow" msprop:Generator_UserTableName="ReportPrintTicket" msprop:Generator_RowEvArgName="ReportPrintTicketRowChangeEvent">
<xs:element name="ReportPrintTicket" msprop:Generator_TableClassName="ReportPrintTicketDataTable" msprop:Generator_TableVarName="tableReportPrintTicket" msprop:Generator_TablePropName="ReportPrintTicket" msprop:Generator_RowDeletingName="ReportPrintTicketRowDeleting" msprop:Generator_RowChangingName="ReportPrintTicketRowChanging" msprop:Generator_RowEvHandlerName="ReportPrintTicketRowChangeEventHandler" msprop:Generator_RowDeletedName="ReportPrintTicketRowDeleted" msprop:Generator_UserTableName="ReportPrintTicket" msprop:Generator_RowChangedName="ReportPrintTicketRowChanged" msprop:Generator_RowEvArgName="ReportPrintTicketRowChangeEvent" msprop:Generator_RowClassName="ReportPrintTicketRow">
<xs:complexType>
<xs:sequence>
<xs:element name="Ticket" msprop:Generator_ColumnVarNameInTable="columnTicket" msprop:Generator_ColumnPropNameInRow="Ticket" msprop:Generator_ColumnPropNameInTable="TicketColumn" msprop:Generator_UserColumnName="Ticket" type="xs:int" />
@@ -622,7 +632,7 @@ SELECT Ticket, Report, Chiave, UserReq, DataReq, DataPrint FROM ReportPrintTicke
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Offers4Item" msprop:Generator_TableClassName="Offers4ItemDataTable" msprop:Generator_TableVarName="tableOffers4Item" msprop:Generator_TablePropName="Offers4Item" msprop:Generator_RowDeletingName="Offers4ItemRowDeleting" msprop:Generator_RowChangingName="Offers4ItemRowChanging" msprop:Generator_RowEvHandlerName="Offers4ItemRowChangeEventHandler" msprop:Generator_RowDeletedName="Offers4ItemRowDeleted" msprop:Generator_UserTableName="Offers4Item" msprop:Generator_RowChangedName="Offers4ItemRowChanged" msprop:Generator_RowEvArgName="Offers4ItemRowChangeEvent" msprop:Generator_RowClassName="Offers4ItemRow">
<xs:element name="Offers4Item" msprop:Generator_TableClassName="Offers4ItemDataTable" msprop:Generator_TableVarName="tableOffers4Item" msprop:Generator_RowChangedName="Offers4ItemRowChanged" msprop:Generator_TablePropName="Offers4Item" msprop:Generator_RowDeletingName="Offers4ItemRowDeleting" msprop:Generator_RowChangingName="Offers4ItemRowChanging" msprop:Generator_RowEvHandlerName="Offers4ItemRowChangeEventHandler" msprop:Generator_RowDeletedName="Offers4ItemRowDeleted" msprop:Generator_RowClassName="Offers4ItemRow" msprop:Generator_UserTableName="Offers4Item" msprop:Generator_RowEvArgName="Offers4ItemRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="RawMat" msprop:Generator_ColumnVarNameInTable="columnRawMat" msprop:Generator_ColumnPropNameInRow="RawMat" msprop:Generator_ColumnPropNameInTable="RawMatColumn" msprop:Generator_UserColumnName="RawMat">
@@ -643,7 +653,7 @@ SELECT Ticket, Report, Chiave, UserReq, DataReq, DataPrint FROM ReportPrintTicke
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selPackage" msprop:Generator_TableClassName="v_selPackageDataTable" msprop:Generator_TableVarName="tablev_selPackage" msprop:Generator_TablePropName="v_selPackage" msprop:Generator_RowDeletingName="v_selPackageRowDeleting" msprop:Generator_RowChangingName="v_selPackageRowChanging" msprop:Generator_RowEvHandlerName="v_selPackageRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selPackageRowDeleted" msprop:Generator_UserTableName="v_selPackage" msprop:Generator_RowChangedName="v_selPackageRowChanged" msprop:Generator_RowEvArgName="v_selPackageRowChangeEvent" msprop:Generator_RowClassName="v_selPackageRow">
<xs:element name="v_selPackage" msprop:Generator_TableClassName="v_selPackageDataTable" msprop:Generator_TableVarName="tablev_selPackage" msprop:Generator_RowChangedName="v_selPackageRowChanged" msprop:Generator_TablePropName="v_selPackage" msprop:Generator_RowDeletingName="v_selPackageRowDeleting" msprop:Generator_RowChangingName="v_selPackageRowChanging" msprop:Generator_RowEvHandlerName="v_selPackageRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selPackageRowDeleted" msprop:Generator_RowClassName="v_selPackageRow" msprop:Generator_UserTableName="v_selPackage" msprop:Generator_RowEvArgName="v_selPackageRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value">
@@ -663,7 +673,7 @@ SELECT Ticket, Report, Chiave, UserReq, DataReq, DataPrint FROM ReportPrintTicke
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selPlant" msprop:Generator_TableClassName="v_selPlantDataTable" msprop:Generator_TableVarName="tablev_selPlant" msprop:Generator_TablePropName="v_selPlant" msprop:Generator_RowDeletingName="v_selPlantRowDeleting" msprop:Generator_RowChangingName="v_selPlantRowChanging" msprop:Generator_RowEvHandlerName="v_selPlantRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selPlantRowDeleted" msprop:Generator_UserTableName="v_selPlant" msprop:Generator_RowChangedName="v_selPlantRowChanged" msprop:Generator_RowEvArgName="v_selPlantRowChangeEvent" msprop:Generator_RowClassName="v_selPlantRow">
<xs:element name="v_selPlant" msprop:Generator_TableClassName="v_selPlantDataTable" msprop:Generator_TableVarName="tablev_selPlant" msprop:Generator_RowChangedName="v_selPlantRowChanged" msprop:Generator_TablePropName="v_selPlant" msprop:Generator_RowDeletingName="v_selPlantRowDeleting" msprop:Generator_RowChangingName="v_selPlantRowChanging" msprop:Generator_RowEvHandlerName="v_selPlantRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selPlantRowDeleted" msprop:Generator_RowClassName="v_selPlantRow" msprop:Generator_UserTableName="v_selPlant" msprop:Generator_RowEvArgName="v_selPlantRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value">
@@ -683,7 +693,7 @@ SELECT Ticket, Report, Chiave, UserReq, DataReq, DataPrint FROM ReportPrintTicke
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PickListTrad" msprop:Generator_TableClassName="PickListTradDataTable" msprop:Generator_TableVarName="tablePickListTrad" msprop:Generator_RowChangedName="PickListTradRowChanged" msprop:Generator_TablePropName="PickListTrad" msprop:Generator_RowDeletingName="PickListTradRowDeleting" msprop:Generator_RowChangingName="PickListTradRowChanging" msprop:Generator_RowEvHandlerName="PickListTradRowChangeEventHandler" msprop:Generator_RowDeletedName="PickListTradRowDeleted" msprop:Generator_RowClassName="PickListTradRow" msprop:Generator_UserTableName="PickListTrad" msprop:Generator_RowEvArgName="PickListTradRowChangeEvent">
<xs:element name="PickListTrad" msprop:Generator_TableClassName="PickListTradDataTable" msprop:Generator_TableVarName="tablePickListTrad" msprop:Generator_TablePropName="PickListTrad" msprop:Generator_RowDeletingName="PickListTradRowDeleting" msprop:Generator_RowChangingName="PickListTradRowChanging" msprop:Generator_RowEvHandlerName="PickListTradRowChangeEventHandler" msprop:Generator_RowDeletedName="PickListTradRowDeleted" msprop:Generator_UserTableName="PickListTrad" msprop:Generator_RowChangedName="PickListTradRowChanged" msprop:Generator_RowEvArgName="PickListTradRowChangeEvent" msprop:Generator_RowClassName="PickListTradRow">
<xs:complexType>
<xs:sequence>
<xs:element name="Value" msprop:Generator_ColumnVarNameInTable="columnValue" msprop:Generator_ColumnPropNameInRow="Value" msprop:Generator_ColumnPropNameInTable="ValueColumn" msprop:Generator_UserColumnName="Value">
@@ -703,7 +713,7 @@ SELECT Ticket, Report, Chiave, UserReq, DataReq, DataPrint FROM ReportPrintTicke
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_MarginReportStats" msprop:Generator_TableClassName="v_MarginReportStatsDataTable" msprop:Generator_TableVarName="tablev_MarginReportStats" msprop:Generator_TablePropName="v_MarginReportStats" msprop:Generator_RowDeletingName="v_MarginReportStatsRowDeleting" msprop:Generator_RowChangingName="v_MarginReportStatsRowChanging" msprop:Generator_RowEvHandlerName="v_MarginReportStatsRowChangeEventHandler" msprop:Generator_RowDeletedName="v_MarginReportStatsRowDeleted" msprop:Generator_UserTableName="v_MarginReportStats" msprop:Generator_RowChangedName="v_MarginReportStatsRowChanged" msprop:Generator_RowEvArgName="v_MarginReportStatsRowChangeEvent" msprop:Generator_RowClassName="v_MarginReportStatsRow">
<xs:element name="v_MarginReportStats" msprop:Generator_TableClassName="v_MarginReportStatsDataTable" msprop:Generator_TableVarName="tablev_MarginReportStats" msprop:Generator_RowChangedName="v_MarginReportStatsRowChanged" msprop:Generator_TablePropName="v_MarginReportStats" msprop:Generator_RowDeletingName="v_MarginReportStatsRowDeleting" msprop:Generator_RowChangingName="v_MarginReportStatsRowChanging" msprop:Generator_RowEvHandlerName="v_MarginReportStatsRowChangeEventHandler" msprop:Generator_RowDeletedName="v_MarginReportStatsRowDeleted" msprop:Generator_RowClassName="v_MarginReportStatsRow" msprop:Generator_UserTableName="v_MarginReportStats" msprop:Generator_RowEvArgName="v_MarginReportStatsRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="FromDate" msprop:Generator_ColumnVarNameInTable="columnFromDate" msprop:Generator_ColumnPropNameInRow="FromDate" msprop:Generator_ColumnPropNameInTable="FromDateColumn" msprop:Generator_UserColumnName="FromDate" type="xs:dateTime" minOccurs="0" />
@@ -715,14 +725,14 @@ SELECT Ticket, Report, Chiave, UserReq, DataReq, DataPrint FROM ReportPrintTicke
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="OrderHist" msprop:Generator_TableClassName="OrderHistDataTable" msprop:Generator_TableVarName="tableOrderHist" msprop:Generator_RowChangedName="OrderHistRowChanged" msprop:Generator_TablePropName="OrderHist" msprop:Generator_RowDeletingName="OrderHistRowDeleting" msprop:Generator_RowChangingName="OrderHistRowChanging" msprop:Generator_RowEvHandlerName="OrderHistRowChangeEventHandler" msprop:Generator_RowDeletedName="OrderHistRowDeleted" msprop:Generator_RowClassName="OrderHistRow" msprop:Generator_UserTableName="OrderHist" msprop:Generator_RowEvArgName="OrderHistRowChangeEvent">
<xs:element name="OrderHist" msprop:Generator_TableClassName="OrderHistDataTable" msprop:Generator_TableVarName="tableOrderHist" msprop:Generator_TablePropName="OrderHist" msprop:Generator_RowDeletingName="OrderHistRowDeleting" msprop:Generator_RowChangingName="OrderHistRowChanging" msprop:Generator_RowEvHandlerName="OrderHistRowChangeEventHandler" msprop:Generator_RowDeletedName="OrderHistRowDeleted" msprop:Generator_UserTableName="OrderHist" msprop:Generator_RowChangedName="OrderHistRowChanged" msprop:Generator_RowEvArgName="OrderHistRowChangeEvent" msprop:Generator_RowClassName="OrderHistRow">
<xs:complexType>
<xs:sequence>
<xs:element name="RecordsIn" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnRecordsIn" msprop:Generator_ColumnPropNameInRow="RecordsIn" msprop:Generator_ColumnPropNameInTable="RecordsInColumn" msprop:Generator_UserColumnName="RecordsIn" type="xs:int" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_MarginReportStatsNewData" msprop:Generator_TableClassName="v_MarginReportStatsNewDataDataTable" msprop:Generator_TableVarName="tablev_MarginReportStatsNewData" msprop:Generator_RowChangedName="v_MarginReportStatsNewDataRowChanged" msprop:Generator_TablePropName="v_MarginReportStatsNewData" msprop:Generator_RowDeletingName="v_MarginReportStatsNewDataRowDeleting" msprop:Generator_RowChangingName="v_MarginReportStatsNewDataRowChanging" msprop:Generator_RowEvHandlerName="v_MarginReportStatsNewDataRowChangeEventHandler" msprop:Generator_RowDeletedName="v_MarginReportStatsNewDataRowDeleted" msprop:Generator_RowClassName="v_MarginReportStatsNewDataRow" msprop:Generator_UserTableName="v_MarginReportStatsNewData" msprop:Generator_RowEvArgName="v_MarginReportStatsNewDataRowChangeEvent">
<xs:element name="v_MarginReportStatsNewData" msprop:Generator_TableClassName="v_MarginReportStatsNewDataDataTable" msprop:Generator_TableVarName="tablev_MarginReportStatsNewData" msprop:Generator_TablePropName="v_MarginReportStatsNewData" msprop:Generator_RowDeletingName="v_MarginReportStatsNewDataRowDeleting" msprop:Generator_RowChangingName="v_MarginReportStatsNewDataRowChanging" msprop:Generator_RowEvHandlerName="v_MarginReportStatsNewDataRowChangeEventHandler" msprop:Generator_RowDeletedName="v_MarginReportStatsNewDataRowDeleted" msprop:Generator_UserTableName="v_MarginReportStatsNewData" msprop:Generator_RowChangedName="v_MarginReportStatsNewDataRowChanged" msprop:Generator_RowEvArgName="v_MarginReportStatsNewDataRowChangeEvent" msprop:Generator_RowClassName="v_MarginReportStatsNewDataRow">
<xs:complexType>
<xs:sequence>
<xs:element name="FromDate" msprop:Generator_ColumnVarNameInTable="columnFromDate" msprop:Generator_ColumnPropNameInRow="FromDate" msprop:Generator_ColumnPropNameInTable="FromDateColumn" msprop:Generator_UserColumnName="FromDate" type="xs:dateTime" minOccurs="0" />
@@ -734,7 +744,7 @@ SELECT Ticket, Report, Chiave, UserReq, DataReq, DataPrint FROM ReportPrintTicke
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selDateStdCost" msprop:Generator_TableClassName="v_selDateStdCostDataTable" msprop:Generator_TableVarName="tablev_selDateStdCost" msprop:Generator_RowChangedName="v_selDateStdCostRowChanged" msprop:Generator_TablePropName="v_selDateStdCost" msprop:Generator_RowDeletingName="v_selDateStdCostRowDeleting" msprop:Generator_RowChangingName="v_selDateStdCostRowChanging" msprop:Generator_RowEvHandlerName="v_selDateStdCostRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selDateStdCostRowDeleted" msprop:Generator_RowClassName="v_selDateStdCostRow" msprop:Generator_UserTableName="v_selDateStdCost" msprop:Generator_RowEvArgName="v_selDateStdCostRowChangeEvent">
<xs:element name="v_selDateStdCost" msprop:Generator_TableClassName="v_selDateStdCostDataTable" msprop:Generator_TableVarName="tablev_selDateStdCost" msprop:Generator_TablePropName="v_selDateStdCost" msprop:Generator_RowDeletingName="v_selDateStdCostRowDeleting" msprop:Generator_RowChangingName="v_selDateStdCostRowChanging" msprop:Generator_RowEvHandlerName="v_selDateStdCostRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selDateStdCostRowDeleted" msprop:Generator_UserTableName="v_selDateStdCost" msprop:Generator_RowChangedName="v_selDateStdCostRowChanged" msprop:Generator_RowEvArgName="v_selDateStdCostRowChangeEvent" msprop:Generator_RowClassName="v_selDateStdCostRow">
<xs:complexType>
<xs:sequence>
<xs:element name="label" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" msprop:Generator_UserColumnName="label" type="xs:dateTime" minOccurs="0" />
@@ -748,7 +758,7 @@ SELECT Ticket, Report, Chiave, UserReq, DataReq, DataPrint FROM ReportPrintTicke
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="StdCost2create" msprop:Generator_TableClassName="StdCost2createDataTable" msprop:Generator_TableVarName="tableStdCost2create" msprop:Generator_TablePropName="StdCost2create" msprop:Generator_RowDeletingName="StdCost2createRowDeleting" msprop:Generator_RowChangingName="StdCost2createRowChanging" msprop:Generator_RowEvHandlerName="StdCost2createRowChangeEventHandler" msprop:Generator_RowDeletedName="StdCost2createRowDeleted" msprop:Generator_UserTableName="StdCost2create" msprop:Generator_RowChangedName="StdCost2createRowChanged" msprop:Generator_RowEvArgName="StdCost2createRowChangeEvent" msprop:Generator_RowClassName="StdCost2createRow">
<xs:element name="StdCost2create" msprop:Generator_TableClassName="StdCost2createDataTable" msprop:Generator_TableVarName="tableStdCost2create" msprop:Generator_RowChangedName="StdCost2createRowChanged" msprop:Generator_TablePropName="StdCost2create" msprop:Generator_RowDeletingName="StdCost2createRowDeleting" msprop:Generator_RowChangingName="StdCost2createRowChanging" msprop:Generator_RowEvHandlerName="StdCost2createRowChangeEventHandler" msprop:Generator_RowDeletedName="StdCost2createRowDeleted" msprop:Generator_RowClassName="StdCost2createRow" msprop:Generator_UserTableName="StdCost2create" msprop:Generator_RowEvArgName="StdCost2createRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="RecordsIn" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnRecordsIn" msprop:Generator_ColumnPropNameInRow="RecordsIn" msprop:Generator_ColumnPropNameInTable="RecordsInColumn" msprop:Generator_UserColumnName="RecordsIn" type="xs:int" minOccurs="0" />
+2 -2
View File
@@ -4,7 +4,7 @@
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="187" 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="206" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes>
<Shape ID="DesignTable:v_selClient" ZOrder="15" X="164" Y="164" Height="134" Width="205" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:v_selItems" ZOrder="14" X="506" Y="657" Height="134" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
@@ -20,7 +20,7 @@
<Shape ID="DesignTable:OrderHist" ZOrder="3" X="771" Y="874" Height="173" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="46" />
<Shape ID="DesignTable:v_MarginReportStatsNewData" ZOrder="4" X="74" Y="956" Height="191" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
<Shape ID="DesignTable:v_selDateStdCost" ZOrder="2" X="557" Y="149" Height="115" Width="244" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:StdCost2create" ZOrder="1" X="451" Y="1051" Height="135" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="46" />
<Shape ID="DesignTable:StdCost2create" ZOrder="1" X="451" Y="1051" Height="154" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="46" />
</Shapes>
<Connectors />
</DiagramLayout>
+51 -24
View File
@@ -9694,7 +9694,7 @@ SELECT Ticket, Report, Chiave, UserReq, DataReq, DataPrint FROM ReportPrintTicke
[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[3];
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[4];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "dbo.stp_SC2C_countRemaining";
@@ -9710,11 +9710,16 @@ SELECT Ticket, Report, Chiave, UserReq, DataReq, DataPrint FROM ReportPrintTicke
this._commandCollection[2].CommandText = "dbo.stp_QLC_insNew";
this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[2].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[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RawMatCost", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 6, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2].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[2].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[2].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[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@row2proc", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2].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[2].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[3] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[3].Connection = this.Connection;
this._commandCollection[3].CommandText = "dbo.stp_SC2C_insertForDate";
this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[3].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[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RawMatCost", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 6, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3].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, "", "", ""));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -9755,8 +9760,48 @@ SELECT Ticket, Report, Chiave, UserReq, DataReq, DataPrint FROM ReportPrintTicke
[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 generateNewQLC(global::System.Nullable<decimal> RawMatCost, global::System.Nullable<int> BatchQty, string QuoteType, string Note, global::System.Nullable<int> row2proc) {
public virtual int generateNewQLC(global::System.Nullable<int> row2proc, string Note, string QuoteType) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2];
if ((row2proc.HasValue == true)) {
command.Parameters[1].Value = ((int)(row2proc.Value));
}
else {
command.Parameters[1].Value = global::System.DBNull.Value;
}
if ((Note == null)) {
command.Parameters[2].Value = global::System.DBNull.Value;
}
else {
command.Parameters[2].Value = ((string)(Note));
}
if ((QuoteType == null)) {
command.Parameters[3].Value = global::System.DBNull.Value;
}
else {
command.Parameters[3].Value = ((string)(QuoteType));
}
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")]
public virtual int insertForDate(global::System.Nullable<decimal> RawMatCost, global::System.Nullable<int> BatchQty) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3];
if ((RawMatCost.HasValue == true)) {
command.Parameters[1].Value = ((decimal)(RawMatCost.Value));
}
@@ -9769,24 +9814,6 @@ SELECT Ticket, Report, Chiave, UserReq, DataReq, DataPrint FROM ReportPrintTicke
else {
command.Parameters[2].Value = global::System.DBNull.Value;
}
if ((QuoteType == null)) {
command.Parameters[3].Value = global::System.DBNull.Value;
}
else {
command.Parameters[3].Value = ((string)(QuoteType));
}
if ((Note == null)) {
command.Parameters[4].Value = global::System.DBNull.Value;
}
else {
command.Parameters[4].Value = ((string)(Note));
}
if ((row2proc.HasValue == true)) {
command.Parameters[5].Value = ((int)(row2proc.Value));
}
else {
command.Parameters[5].Value = global::System.DBNull.Value;
}
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
Binary file not shown.
Binary file not shown.
Binary file not shown.