Inserito utente creazione e modifica su tutti i metodi "INSERT" e sui metodi di duplicazione/clone/makeSim
Update utente MODIFICA messo su metodidi cambio stato
This commit is contained in:
+1
-1
@@ -2,7 +2,7 @@
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<ProjectView>ShowAllFiles</ProjectView>
|
||||
<NameOfLastUsedPublishProfile>costimate</NameOfLastUsedPublishProfile>
|
||||
<NameOfLastUsedPublishProfile>costimateZip</NameOfLastUsedPublishProfile>
|
||||
</PropertyGroup>
|
||||
<ProjectExtensions>
|
||||
<VisualStudio>
|
||||
|
||||
+2
-2
@@ -61,7 +61,7 @@ namespace C2P
|
||||
long CodQuote = 0;
|
||||
try
|
||||
{
|
||||
DS_Quotes.QuoteFull_QDataTable tabQuote = DtProxy.man.taQFQ.insertNew("Q", ddlCodCustomer.SelectedValue, CodItem, ddlRawMat.SelectedValue, RawMatCost, 0, batchQty, "EXW", "EXT");
|
||||
DS_Quotes.QuoteFull_QDataTable tabQuote = DtProxy.man.taQFQ.insertNew("Q", ddlCodCustomer.SelectedValue, CodItem, ddlRawMat.SelectedValue, RawMatCost, 0, batchQty, "EXW", "EXT", user_std.UtSn.utente);
|
||||
CodQuote = tabQuote[0].CodQuote;
|
||||
if (memLayer.ML.confReadInt("_logLevel") > 5) logger.lg.scriviLog("MakeSim: Step 03", tipoLog.INFO);
|
||||
}
|
||||
@@ -71,7 +71,7 @@ namespace C2P
|
||||
if (CodQuote > 0)
|
||||
{
|
||||
if (memLayer.ML.confReadInt("_logLevel") > 5) logger.lg.scriviLog("MakeSim: Step 04", tipoLog.INFO);
|
||||
DS_Quotes.QuoteListDataTable tab = DtProxy.man.taQL.makeSim(Convert.ToInt32(CodQuote), 0);
|
||||
DS_Quotes.QuoteListDataTable tab = DtProxy.man.taQL.makeSim(Convert.ToInt32(CodQuote), 0, user_std.UtSn.utente);
|
||||
if (tab.Rows.Count > 0)
|
||||
{
|
||||
if (memLayer.ML.confReadInt("_logLevel") > 5) logger.lg.scriviLog("MakeSim: Step 05", tipoLog.INFO);
|
||||
|
||||
@@ -12,13 +12,13 @@ by editing this MSBuild file. In order to learn more about this please visit htt
|
||||
<LaunchSiteAfterPublish>True</LaunchSiteAfterPublish>
|
||||
<ExcludeApp_Data>False</ExcludeApp_Data>
|
||||
<MSDeployServiceURL>https://costimate:8172/MsDeploy.axd</MSDeployServiceURL>
|
||||
<DeployIisAppPath>Default Web Site</DeployIisAppPath>
|
||||
<DeployIisAppPath>Default Web Site/C2P</DeployIisAppPath>
|
||||
<RemoteSitePhysicalPath />
|
||||
<SkipExtraFilesOnServer>True</SkipExtraFilesOnServer>
|
||||
<MSDeployPublishMethod>WMSVC</MSDeployPublishMethod>
|
||||
<EnableMSDeployBackup>True</EnableMSDeployBackup>
|
||||
<UserName>costimate\steamware</UserName>
|
||||
<_SavePWD>False</_SavePWD>
|
||||
<_SavePWD>True</_SavePWD>
|
||||
<PublishDatabaseSettings>
|
||||
<Objects xmlns="">
|
||||
<ObjectGroup Name="C2P_Data.Properties.Settings.Proxima_C2PConnectionString" Order="1" Enabled="False">
|
||||
|
||||
@@ -0,0 +1,42 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
This file is used by the publish/package process of your Web project. You can customize the behavior of this process
|
||||
by editing this MSBuild file. In order to learn more about this please visit http://go.microsoft.com/fwlink/?LinkID=208121.
|
||||
-->
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<WebPublishMethod>Package</WebPublishMethod>
|
||||
<LastUsedBuildConfiguration>Release</LastUsedBuildConfiguration>
|
||||
<LastUsedPlatform>Any CPU</LastUsedPlatform>
|
||||
<SiteUrlToLaunchAfterPublish />
|
||||
<LaunchSiteAfterPublish>True</LaunchSiteAfterPublish>
|
||||
<ExcludeApp_Data>True</ExcludeApp_Data>
|
||||
<DesktopBuildPackageLocation>C:\Users\samuele\Documents\Visual Studio 2012\Projects\C2P\ReleaseClienti\C2P.zip</DesktopBuildPackageLocation>
|
||||
<PackageAsSingleFile>true</PackageAsSingleFile>
|
||||
<DeployIisAppPath>Default Web Site/C2P</DeployIisAppPath>
|
||||
<PublishDatabaseSettings>
|
||||
<Objects xmlns="">
|
||||
<ObjectGroup Name="C2P_Data.Properties.Settings.Proxima_C2PConnectionString" Order="1" Enabled="False">
|
||||
<Destination Path="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=Proxima_C2P;Persist Security Info=True;User ID=sa;Password=keyhammer" />
|
||||
<Object Type="DbDacFx">
|
||||
<PreSource Path="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=Proxima_C2P;Persist Security Info=True;User ID=sa;Password=keyhammer" includeData="False" />
|
||||
<Source Path="$(IntermediateOutputPath)AutoScripts\C2P_Data.Properties.Settings.Proxima_C2PConnectionString_IncrementalSchemaOnly.dacpac" dacpacAction="Deploy" />
|
||||
</Object>
|
||||
<UpdateFrom Type="Web.Config">
|
||||
<Source MatchValue="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=Proxima_C2P;Persist Security Info=True;User ID=sa;Password=keyhammer" MatchAttributes="$(UpdateFromConnectionStringAttributes)" />
|
||||
</UpdateFrom>
|
||||
</ObjectGroup>
|
||||
</Objects>
|
||||
</PublishDatabaseSettings>
|
||||
<PrecompileBeforePublish>True</PrecompileBeforePublish>
|
||||
<EnableUpdateable>True</EnableUpdateable>
|
||||
<DebugSymbols>False</DebugSymbols>
|
||||
<WDPMergeOption>DonotMerge</WDPMergeOption>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<MSDeployParameterValue Include="$(DeployParameterPrefix)C2P_Data.Properties.Settings.Proxima_C2PConnectionString-Web.config Connection String">
|
||||
<ParameterValue>Data Source=10.74.82.217\SQL2008R2;Initial Catalog=Proxima_C2P;Persist Security Info=True;User ID=sa;Password=keyhammer</ParameterValue>
|
||||
<UpdateDestWebConfig>False</UpdateDestWebConfig>
|
||||
</MSDeployParameterValue>
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
@@ -193,7 +193,7 @@ namespace C2P
|
||||
protected void lbDuplicate_Click(object sender, EventArgs e)
|
||||
{
|
||||
// duplica offerta!
|
||||
DS_Quotes.QuoteListDataTable tab = DtProxy.man.taQL.clone(QuoteType, QuoteType, Convert.ToInt32(CodQuote), Convert.ToInt32(QuoteRev));
|
||||
DS_Quotes.QuoteListDataTable tab = DtProxy.man.taQL.clone(QuoteType, user_std.UtSn.utente, QuoteType, Convert.ToInt32(CodQuote), Convert.ToInt32(QuoteRev));
|
||||
if (tab.Rows.Count > 0)
|
||||
{
|
||||
// seleziona l'offerta duplicata!
|
||||
|
||||
@@ -434,7 +434,7 @@ namespace C2P.WebUserControls
|
||||
protected void lbDuplicate_Click(object sender, EventArgs e)
|
||||
{
|
||||
// duplica offerta!
|
||||
DS_Quotes.QuoteListDataTable tab = DtProxy.man.taQL.clone(QuoteType, QuoteType, Convert.ToInt32(CodQuote), Convert.ToInt32(QuoteRev));
|
||||
DS_Quotes.QuoteListDataTable tab = DtProxy.man.taQL.clone(QuoteType, user_std.UtSn.utente, QuoteType, Convert.ToInt32(CodQuote), Convert.ToInt32(QuoteRev));
|
||||
if (tab.Rows.Count > 0)
|
||||
{
|
||||
// seleziona l'offerta duplicata!
|
||||
@@ -449,7 +449,7 @@ namespace C2P.WebUserControls
|
||||
protected void lbSimulate_Click(object sender, EventArgs e)
|
||||
{
|
||||
// duplico dati come simulazione...
|
||||
DS_Quotes.QuoteListDataTable tab = DtProxy.man.taQL.clone("S", QuoteType, Convert.ToInt32(CodQuote), Convert.ToInt32(QuoteRev));
|
||||
DS_Quotes.QuoteListDataTable tab = DtProxy.man.taQL.clone("S", user_std.UtSn.utente, QuoteType, Convert.ToInt32(CodQuote), Convert.ToInt32(QuoteRev));
|
||||
if (tab.Rows.Count > 0)
|
||||
{
|
||||
// apro pagina simulazione appena creata...
|
||||
|
||||
@@ -6,6 +6,7 @@ using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using C2P_Data;
|
||||
using System.Globalization;
|
||||
using SteamWare;
|
||||
|
||||
namespace C2P.WebUserControls
|
||||
{
|
||||
@@ -96,7 +97,7 @@ namespace C2P.WebUserControls
|
||||
try
|
||||
{
|
||||
// chiamo update e vedo risultati (se ultimo record è cambiato rispetto a prima...)
|
||||
rigaPost = DtProxy.man.taQFQ.insertNew(QuoteType, CodClient, CodItem, RawMat, RawMatCost, RawMatExtraCost, BatchQty, CodInco, Note)[0];
|
||||
rigaPost = DtProxy.man.taQFQ.insertNew(QuoteType, CodClient, CodItem, RawMat, RawMatCost, RawMatExtraCost, BatchQty, CodInco, Note, user_std.UtSn.utente)[0];
|
||||
if (rigaPost != null)
|
||||
{
|
||||
// verifico SE E' CAMBIATO mando a pagina edit...
|
||||
|
||||
@@ -359,18 +359,6 @@ namespace C2P.WebUserControls
|
||||
break;
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// Crea un offerta (SE
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void lnkCreateOffer_Click(object sender, EventArgs e)
|
||||
{
|
||||
// cambio stato offerta da draft!
|
||||
DtProxy.man.taQFQ.updateQState(QuoteType, Convert.ToInt32(CodQuote), Convert.ToInt32(QuoteRev), 1);
|
||||
// aggiorno!
|
||||
updateBaseData();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// CONVERTE offerta in simulazione
|
||||
@@ -380,13 +368,49 @@ namespace C2P.WebUserControls
|
||||
protected void lbConvQ2S_Click(object sender, EventArgs e)
|
||||
{
|
||||
// update da Q ad S del tipo offerta
|
||||
DS_Quotes.QuoteListDataTable tab = DtProxy.man.taQL.makeSim(Convert.ToInt32(CodQuote), Convert.ToInt32(QuoteRev));
|
||||
DS_Quotes.QuoteListDataTable tab = DtProxy.man.taQL.makeSim(Convert.ToInt32(CodQuote), Convert.ToInt32(QuoteRev), user_std.UtSn.utente);
|
||||
if (tab.Rows.Count > 0)
|
||||
{
|
||||
// seleziona l'offerta duplicata!
|
||||
Response.Redirect(string.Format("Quote?QuoteType={0}&CodQuote={1}&QuoteRev={2}", tab[0].QuoteType, tab[0].CodQuote, tab[0].QuoteRev));
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// invia email x workflow
|
||||
/// </summary>
|
||||
/// <param name="_mailTo"></param>
|
||||
/// <param name="_subj2T"></param>
|
||||
/// <param name="_obj2T"></param>
|
||||
private void sendWFlowEmail(string _mailTo, string _subj2T, string _obj2T)
|
||||
{
|
||||
if (_mailTo != "")
|
||||
{
|
||||
string _mailFrom = memLayer.ML.confReadString("_fromEmail");
|
||||
string _oggetto = traduci(_subj2T);
|
||||
string fullUrl = string.Format("{0}/Quote?QuoteType={1}&CodQuote={2}&QuoteRev={3}", memLayer.ML.confReadString("baseUrl"), QuoteType, CodQuote, QuoteRev);
|
||||
string _corpo = string.Format(traduci(_obj2T), fullUrl);
|
||||
gestEmail.geAuth.mandaEmail(_mailFrom, _mailTo, _oggetto, _corpo);
|
||||
}
|
||||
else
|
||||
{
|
||||
logger.lg.scriviLog("Errore: manca email!", tipoLog.ERROR);
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// Crea un offerta (SE
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void lnkCreateOffer_Click(object sender, EventArgs e)
|
||||
{
|
||||
// cambio stato offerta da draft!
|
||||
DtProxy.man.taQFQ.updateQState(QuoteType, Convert.ToInt32(CodQuote), Convert.ToInt32(QuoteRev), 1, user_std.UtSn.utente);
|
||||
// invio email di stato CREATED ad approvatore
|
||||
string _mailTo = memLayer.ML.confReadString("wfApprTo");
|
||||
sendWFlowEmail(_mailTo, "subjMailCreate", "objMailCreate");
|
||||
// aggiorno!
|
||||
updateBaseData();
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
@@ -396,8 +420,11 @@ namespace C2P.WebUserControls
|
||||
/// <param name="e"></param>
|
||||
protected void lbReject_Click(object sender, EventArgs e)
|
||||
{
|
||||
// cambio stato offerta da draft!
|
||||
DtProxy.man.taQFQ.updateQState(QuoteType, Convert.ToInt32(CodQuote), Convert.ToInt32(QuoteRev), 0);
|
||||
// invio email di stato REJECTED da approvatore
|
||||
string _mailTo = user_std.UtSn.emailDaUsername(DtProxy.man.taQL.getByKey(QuoteType, Convert.ToInt32(CodQuote), Convert.ToInt32(QuoteRev))[0].UserMod);
|
||||
sendWFlowEmail(_mailTo, "subjMailReject", "objMailReject");
|
||||
// riporto in DRAFT!
|
||||
DtProxy.man.taQFQ.updateQState(QuoteType, Convert.ToInt32(CodQuote), Convert.ToInt32(QuoteRev), 0, user_std.UtSn.utente);
|
||||
// aggiorno!
|
||||
updateBaseData();
|
||||
}
|
||||
@@ -408,8 +435,11 @@ namespace C2P.WebUserControls
|
||||
/// <param name="e"></param>
|
||||
protected void lbApprove_Click(object sender, EventArgs e)
|
||||
{
|
||||
// cambio stato offerta da draft!
|
||||
DtProxy.man.taQFQ.updateQState(QuoteType, Convert.ToInt32(CodQuote), Convert.ToInt32(QuoteRev), 2);
|
||||
// invio email di stato CREATED da approvatore
|
||||
string _mailTo = user_std.UtSn.emailDaUsername(DtProxy.man.taQL.getByKey(QuoteType, Convert.ToInt32(CodQuote), Convert.ToInt32(QuoteRev))[0].UserMod);
|
||||
sendWFlowEmail(_mailTo, "subjMailApprove", "objMailApprove");
|
||||
// approvo
|
||||
DtProxy.man.taQFQ.updateQState(QuoteType, Convert.ToInt32(CodQuote), Convert.ToInt32(QuoteRev), 2, user_std.UtSn.utente);
|
||||
// aggiorno!
|
||||
updateBaseData();
|
||||
}
|
||||
@@ -420,8 +450,11 @@ namespace C2P.WebUserControls
|
||||
/// <param name="e"></param>
|
||||
protected void lbRelease_Click(object sender, EventArgs e)
|
||||
{
|
||||
// cambio stato offerta da draft!
|
||||
DtProxy.man.taQFQ.updateQState(QuoteType, Convert.ToInt32(CodQuote), Convert.ToInt32(QuoteRev), 3);
|
||||
// indica rilasciato
|
||||
DtProxy.man.taQFQ.updateQState(QuoteType, Convert.ToInt32(CodQuote), Convert.ToInt32(QuoteRev), 3, user_std.UtSn.utente);
|
||||
// invio email di stato RELEASED ad approvatore
|
||||
string _mailTo = memLayer.ML.confReadString("wfApprTo");
|
||||
sendWFlowEmail(_mailTo, "subjMailRelease", "objMailRelease");
|
||||
// aggiorno!
|
||||
updateBaseData();
|
||||
}
|
||||
@@ -444,7 +477,7 @@ namespace C2P.WebUserControls
|
||||
/// <param name="e"></param>
|
||||
protected void lbNewRev_Click(object sender, EventArgs e)
|
||||
{
|
||||
DS_Quotes.QuoteListDataTable tab = DtProxy.man.taQL.newRev(QuoteType, Convert.ToInt32(CodQuote), Convert.ToInt32(QuoteRev));
|
||||
DS_Quotes.QuoteListDataTable tab = DtProxy.man.taQL.newRev(QuoteType, Convert.ToInt32(CodQuote), Convert.ToInt32(QuoteRev), user_std.UtSn.utente);
|
||||
if (tab.Rows.Count > 0)
|
||||
{
|
||||
// seleziona l'offerta duplicata!
|
||||
|
||||
@@ -6,6 +6,7 @@ using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using C2P_Data;
|
||||
using System.Globalization;
|
||||
using SteamWare;
|
||||
|
||||
namespace C2P.WebUserControls
|
||||
{
|
||||
@@ -99,7 +100,7 @@ namespace C2P.WebUserControls
|
||||
try
|
||||
{
|
||||
// chiamo update e vedo risultati (se ultimo record è cambiato rispetto a prima...)
|
||||
rigaPost = DtProxy.man.taQFQ.insertNew(QuoteType, CodClient, CodItem, RawMat, RawMatCost, RawMatExtraCost, BatchQty, CodInco, Note)[0];
|
||||
rigaPost = DtProxy.man.taQFQ.insertNew(QuoteType, CodClient, CodItem, RawMat, RawMatCost, RawMatExtraCost, BatchQty, CodInco, Note, user_std.UtSn.utente)[0];
|
||||
if (rigaPost != null)
|
||||
{
|
||||
// verifico SE E' CAMBIATO mando a pagina edit...
|
||||
|
||||
@@ -469,7 +469,7 @@ namespace C2P.WebUserControls
|
||||
protected void lnkCreateOffer_Click(object sender, EventArgs e)
|
||||
{
|
||||
// cambio stato offerta da draft!
|
||||
DtProxy.man.taQFQ.updateQState(QuoteType, Convert.ToInt32(CodQuote), Convert.ToInt32(QuoteRev), 1);
|
||||
DtProxy.man.taQFQ.updateQState(QuoteType, Convert.ToInt32(CodQuote), Convert.ToInt32(QuoteRev), 1, user_std.UtSn.utente);
|
||||
// invio email di stato CREATED ad approvatore
|
||||
string _mailTo = memLayer.ML.confReadString("wfApprTo");
|
||||
sendWFlowEmail(_mailTo, "subjMailCreate", "objMailCreate");
|
||||
@@ -483,10 +483,11 @@ namespace C2P.WebUserControls
|
||||
/// <param name="e"></param>
|
||||
protected void lbReject_Click(object sender, EventArgs e)
|
||||
{
|
||||
DtProxy.man.taQFQ.updateQState(QuoteType, Convert.ToInt32(CodQuote), Convert.ToInt32(QuoteRev), 0);
|
||||
// invio email di stato CREATED ad approvatore
|
||||
string _mailTo = user_std.UtSn.emailDaUsername(user_std.UtSn.userNameAD);
|
||||
// invio email di stato REJECTED da approvatore
|
||||
string _mailTo = user_std.UtSn.emailDaUsername(DtProxy.man.taQL.getByKey(QuoteType, Convert.ToInt32(CodQuote), Convert.ToInt32(QuoteRev))[0].UserMod);
|
||||
sendWFlowEmail(_mailTo, "subjMailReject", "objMailReject");
|
||||
// riporto in DRAFT
|
||||
DtProxy.man.taQFQ.updateQState(QuoteType, Convert.ToInt32(CodQuote), Convert.ToInt32(QuoteRev), 0, user_std.UtSn.utente);
|
||||
// aggiorno!
|
||||
updateBaseData();
|
||||
}
|
||||
@@ -497,10 +498,11 @@ namespace C2P.WebUserControls
|
||||
/// <param name="e"></param>
|
||||
protected void lbApprove_Click(object sender, EventArgs e)
|
||||
{
|
||||
DtProxy.man.taQFQ.updateQState(QuoteType, Convert.ToInt32(CodQuote), Convert.ToInt32(QuoteRev), 2);
|
||||
// invio email di stato CREATED ad approvatore
|
||||
string _mailTo = user_std.UtSn.emailDaUsername(user_std.UtSn.userNameAD);
|
||||
// invio email di stato CREATED da approvatore
|
||||
string _mailTo = user_std.UtSn.emailDaUsername(DtProxy.man.taQL.getByKey(QuoteType, Convert.ToInt32(CodQuote), Convert.ToInt32(QuoteRev))[0].UserMod);
|
||||
sendWFlowEmail(_mailTo, "subjMailApprove", "objMailApprove");
|
||||
// approvo
|
||||
DtProxy.man.taQFQ.updateQState(QuoteType, Convert.ToInt32(CodQuote), Convert.ToInt32(QuoteRev), 2, user_std.UtSn.utente);
|
||||
// aggiorno!
|
||||
updateBaseData();
|
||||
}
|
||||
@@ -511,7 +513,8 @@ namespace C2P.WebUserControls
|
||||
/// <param name="e"></param>
|
||||
protected void lbRelease_Click(object sender, EventArgs e)
|
||||
{
|
||||
DtProxy.man.taQFQ.updateQState(QuoteType, Convert.ToInt32(CodQuote), Convert.ToInt32(QuoteRev), 3);
|
||||
// indica rilasciato
|
||||
DtProxy.man.taQFQ.updateQState(QuoteType, Convert.ToInt32(CodQuote), Convert.ToInt32(QuoteRev), 3, user_std.UtSn.utente);
|
||||
// invio email di stato RELEASED ad approvatore
|
||||
string _mailTo = memLayer.ML.confReadString("wfApprTo");
|
||||
sendWFlowEmail(_mailTo, "subjMailRelease", "objMailRelease");
|
||||
@@ -537,7 +540,7 @@ namespace C2P.WebUserControls
|
||||
/// <param name="e"></param>
|
||||
protected void lbNewRev_Click(object sender, EventArgs e)
|
||||
{
|
||||
DS_Quotes.QuoteListDataTable tab = DtProxy.man.taQL.newRev(QuoteType, Convert.ToInt32(CodQuote), Convert.ToInt32(QuoteRev));
|
||||
DS_Quotes.QuoteListDataTable tab = DtProxy.man.taQL.newRev(QuoteType, Convert.ToInt32(CodQuote), Convert.ToInt32(QuoteRev), user_std.UtSn.utente);
|
||||
if (tab.Rows.Count > 0)
|
||||
{
|
||||
// seleziona l'offerta duplicata!
|
||||
|
||||
@@ -205,7 +205,7 @@ namespace C2P.WebUserControls
|
||||
// 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());
|
||||
DS_Quotes.QuoteListDataTable tabRes = DtProxy.man.taQL.insNew("Q", acCliente.valore, acArticolo.valore, ddlLega.SelectedValue, RawMatCost, RawMatExtraCost, batchQty, ddlConsegna.SelectedValue, txtNote.Text.Trim(), user_std.UtSn.utente);
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Generated
+451
-51
@@ -685,6 +685,20 @@ namespace C2P_Data {
|
||||
|
||||
private global::System.Data.DataColumn columnIdxQState;
|
||||
|
||||
private global::System.Data.DataColumn columnOrdQty;
|
||||
|
||||
private global::System.Data.DataColumn columnvalid;
|
||||
|
||||
private global::System.Data.DataColumn columnerrorScore;
|
||||
|
||||
private global::System.Data.DataColumn columnUserCreaz;
|
||||
|
||||
private global::System.Data.DataColumn columnDataCreaz;
|
||||
|
||||
private global::System.Data.DataColumn columnUserMod;
|
||||
|
||||
private global::System.Data.DataColumn columnDataMod;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public QuoteListDataTable() {
|
||||
@@ -862,6 +876,62 @@ namespace C2P_Data {
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public global::System.Data.DataColumn OrdQtyColumn {
|
||||
get {
|
||||
return this.columnOrdQty;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public global::System.Data.DataColumn validColumn {
|
||||
get {
|
||||
return this.columnvalid;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public global::System.Data.DataColumn errorScoreColumn {
|
||||
get {
|
||||
return this.columnerrorScore;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public global::System.Data.DataColumn UserCreazColumn {
|
||||
get {
|
||||
return this.columnUserCreaz;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public global::System.Data.DataColumn DataCreazColumn {
|
||||
get {
|
||||
return this.columnDataCreaz;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public global::System.Data.DataColumn UserModColumn {
|
||||
get {
|
||||
return this.columnUserMod;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public global::System.Data.DataColumn DataModColumn {
|
||||
get {
|
||||
return this.columnDataMod;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Browsable(false)]
|
||||
@@ -917,7 +987,14 @@ namespace C2P_Data {
|
||||
string OrdNum,
|
||||
string OrdRow,
|
||||
decimal OrdPrice,
|
||||
int IdxQState) {
|
||||
int IdxQState,
|
||||
int OrdQty,
|
||||
bool valid,
|
||||
int errorScore,
|
||||
string UserCreaz,
|
||||
System.DateTime DataCreaz,
|
||||
string UserMod,
|
||||
System.DateTime DataMod) {
|
||||
QuoteListRow rowQuoteListRow = ((QuoteListRow)(this.NewRow()));
|
||||
object[] columnValuesArray = new object[] {
|
||||
QuoteType,
|
||||
@@ -937,7 +1014,14 @@ namespace C2P_Data {
|
||||
OrdNum,
|
||||
OrdRow,
|
||||
OrdPrice,
|
||||
IdxQState};
|
||||
IdxQState,
|
||||
OrdQty,
|
||||
valid,
|
||||
errorScore,
|
||||
UserCreaz,
|
||||
DataCreaz,
|
||||
UserMod,
|
||||
DataMod};
|
||||
rowQuoteListRow.ItemArray = columnValuesArray;
|
||||
this.Rows.Add(rowQuoteListRow);
|
||||
return rowQuoteListRow;
|
||||
@@ -987,6 +1071,13 @@ namespace C2P_Data {
|
||||
this.columnOrdRow = base.Columns["OrdRow"];
|
||||
this.columnOrdPrice = base.Columns["OrdPrice"];
|
||||
this.columnIdxQState = base.Columns["IdxQState"];
|
||||
this.columnOrdQty = base.Columns["OrdQty"];
|
||||
this.columnvalid = base.Columns["valid"];
|
||||
this.columnerrorScore = base.Columns["errorScore"];
|
||||
this.columnUserCreaz = base.Columns["UserCreaz"];
|
||||
this.columnDataCreaz = base.Columns["DataCreaz"];
|
||||
this.columnUserMod = base.Columns["UserMod"];
|
||||
this.columnDataMod = base.Columns["DataMod"];
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -1028,6 +1119,20 @@ namespace C2P_Data {
|
||||
base.Columns.Add(this.columnOrdPrice);
|
||||
this.columnIdxQState = new global::System.Data.DataColumn("IdxQState", typeof(int), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnIdxQState);
|
||||
this.columnOrdQty = new global::System.Data.DataColumn("OrdQty", typeof(int), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnOrdQty);
|
||||
this.columnvalid = new global::System.Data.DataColumn("valid", typeof(bool), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnvalid);
|
||||
this.columnerrorScore = new global::System.Data.DataColumn("errorScore", typeof(int), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnerrorScore);
|
||||
this.columnUserCreaz = new global::System.Data.DataColumn("UserCreaz", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnUserCreaz);
|
||||
this.columnDataCreaz = new global::System.Data.DataColumn("DataCreaz", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnDataCreaz);
|
||||
this.columnUserMod = new global::System.Data.DataColumn("UserMod", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnUserMod);
|
||||
this.columnDataMod = new global::System.Data.DataColumn("DataMod", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnDataMod);
|
||||
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
||||
this.columnQuoteType,
|
||||
this.columnCodQuote,
|
||||
@@ -1059,6 +1164,15 @@ namespace C2P_Data {
|
||||
this.columnOrdRow.MaxLength = 50;
|
||||
this.columnOrdPrice.AllowDBNull = false;
|
||||
this.columnIdxQState.AllowDBNull = false;
|
||||
this.columnOrdQty.AllowDBNull = false;
|
||||
this.columnvalid.AllowDBNull = false;
|
||||
this.columnerrorScore.AllowDBNull = false;
|
||||
this.columnUserCreaz.AllowDBNull = false;
|
||||
this.columnUserCreaz.MaxLength = 50;
|
||||
this.columnDataCreaz.AllowDBNull = false;
|
||||
this.columnUserMod.AllowDBNull = false;
|
||||
this.columnUserMod.MaxLength = 50;
|
||||
this.columnDataMod.AllowDBNull = false;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -8114,6 +8228,83 @@ namespace C2P_Data {
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public int OrdQty {
|
||||
get {
|
||||
return ((int)(this[this.tableQuoteList.OrdQtyColumn]));
|
||||
}
|
||||
set {
|
||||
this[this.tableQuoteList.OrdQtyColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public bool valid {
|
||||
get {
|
||||
return ((bool)(this[this.tableQuoteList.validColumn]));
|
||||
}
|
||||
set {
|
||||
this[this.tableQuoteList.validColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public int errorScore {
|
||||
get {
|
||||
return ((int)(this[this.tableQuoteList.errorScoreColumn]));
|
||||
}
|
||||
set {
|
||||
this[this.tableQuoteList.errorScoreColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public string UserCreaz {
|
||||
get {
|
||||
return ((string)(this[this.tableQuoteList.UserCreazColumn]));
|
||||
}
|
||||
set {
|
||||
this[this.tableQuoteList.UserCreazColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public System.DateTime DataCreaz {
|
||||
get {
|
||||
return ((global::System.DateTime)(this[this.tableQuoteList.DataCreazColumn]));
|
||||
}
|
||||
set {
|
||||
this[this.tableQuoteList.DataCreazColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public string UserMod {
|
||||
get {
|
||||
return ((string)(this[this.tableQuoteList.UserModColumn]));
|
||||
}
|
||||
set {
|
||||
this[this.tableQuoteList.UserModColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public System.DateTime DataMod {
|
||||
get {
|
||||
return ((global::System.DateTime)(this[this.tableQuoteList.DataModColumn]));
|
||||
}
|
||||
set {
|
||||
this[this.tableQuoteList.DataModColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public bool IsKeyAMNull() {
|
||||
@@ -13527,10 +13718,17 @@ namespace C2P_Data.DS_QuotesTableAdapters {
|
||||
tableMapping.ColumnMappings.Add("OrdRow", "OrdRow");
|
||||
tableMapping.ColumnMappings.Add("OrdPrice", "OrdPrice");
|
||||
tableMapping.ColumnMappings.Add("IdxQState", "IdxQState");
|
||||
tableMapping.ColumnMappings.Add("OrdQty", "OrdQty");
|
||||
tableMapping.ColumnMappings.Add("valid", "valid");
|
||||
tableMapping.ColumnMappings.Add("errorScore", "errorScore");
|
||||
tableMapping.ColumnMappings.Add("UserCreaz", "UserCreaz");
|
||||
tableMapping.ColumnMappings.Add("DataCreaz", "DataCreaz");
|
||||
tableMapping.ColumnMappings.Add("UserMod", "UserMod");
|
||||
tableMapping.ColumnMappings.Add("DataMod", "DataMod");
|
||||
this._adapter.TableMappings.Add(tableMapping);
|
||||
this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._adapter.DeleteCommand.Connection = this.Connection;
|
||||
this._adapter.DeleteCommand.CommandText = @"DELETE FROM [dbo].[QuoteList] WHERE (([QuoteType] = @Original_QuoteType) AND ([CodQuote] = @Original_CodQuote) AND ([QuoteRev] = @Original_QuoteRev) AND ([IdxQState] = @Original_IdxQState) AND ([CodClient] = @Original_CodClient) AND ([CodItem] = @Original_CodItem) AND ([CodItemGroup] = @Original_CodItemGroup) AND ([RawMat] = @Original_RawMat) AND ([UnitWeight] = @Original_UnitWeight) AND ([BatchQty] = @Original_BatchQty) AND ([CodInco] = @Original_CodInco) AND ([KeyAM] = @Original_KeyAM) AND ([Note] = @Original_Note) AND ([PriceOff] = @Original_PriceOff) AND ((@IsNull_OrdDate = 1 AND [OrdDate] IS NULL) OR ([OrdDate] = @Original_OrdDate)) AND ([OrdNum] = @Original_OrdNum) AND ([OrdRow] = @Original_OrdRow) AND ([OrdPrice] = @Original_OrdPrice))";
|
||||
this._adapter.DeleteCommand.CommandText = @"DELETE FROM [dbo].[QuoteList] WHERE (([QuoteType] = @Original_QuoteType) AND ([CodQuote] = @Original_CodQuote) AND ([QuoteRev] = @Original_QuoteRev) AND ([IdxQState] = @Original_IdxQState) AND ([CodClient] = @Original_CodClient) AND ([CodItem] = @Original_CodItem) AND ([CodItemGroup] = @Original_CodItemGroup) AND ([RawMat] = @Original_RawMat) AND ([UnitWeight] = @Original_UnitWeight) AND ([BatchQty] = @Original_BatchQty) AND ([CodInco] = @Original_CodInco) AND ([KeyAM] = @Original_KeyAM) AND ([Note] = @Original_Note) AND ([PriceOff] = @Original_PriceOff) AND ((@IsNull_OrdDate = 1 AND [OrdDate] IS NULL) OR ([OrdDate] = @Original_OrdDate)) AND ([OrdNum] = @Original_OrdNum) AND ([OrdRow] = @Original_OrdRow) AND ([OrdPrice] = @Original_OrdPrice) AND ([OrdQty] = @Original_OrdQty) AND ([valid] = @Original_valid) AND ([errorScore] = @Original_errorScore) AND ([UserCreaz] = @Original_UserCreaz) AND ([DataCreaz] = @Original_DataCreaz) AND ([UserMod] = @Original_UserMod) AND ([DataMod] = @Original_DataMod))";
|
||||
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_QuoteType", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QuoteType", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodQuote", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodQuote", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
@@ -13547,14 +13745,21 @@ namespace C2P_Data.DS_QuotesTableAdapters {
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Note", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Note", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_PriceOff", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "PriceOff", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_OrdDate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "OrdDate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_OrdDate", global::System.Data.SqlDbType.Date, 0, global::System.Data.ParameterDirection.Input, 0, 0, "OrdDate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_OrdDate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "OrdDate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_OrdNum", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "OrdNum", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_OrdRow", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "OrdRow", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_OrdPrice", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "OrdPrice", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_OrdQty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "OrdQty", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_valid", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "valid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_errorScore", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "errorScore", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UserCreaz", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserCreaz", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataCreaz", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataCreaz", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UserMod", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserMod", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataMod", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataMod", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._adapter.InsertCommand.Connection = this.Connection;
|
||||
this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[QuoteList] ([QuoteType], [CodQuote], [QuoteRev], [IdxQState], [CodClient], [CodItem], [CodItemGroup], [RawMat], [UnitWeight], [BatchQty], [CodInco], [Note], [PriceOff], [OrdDate], [OrdNum], [OrdRow], [OrdPrice]) VALUES (@QuoteType, @CodQuote, @QuoteRev, @IdxQState, @CodClient, @CodItem, @CodItemGroup, @RawMat, @UnitWeight, @BatchQty, @CodInco, @Note, @PriceOff, @OrdDate, @OrdNum, @OrdRow, @OrdPrice);
|
||||
SELECT QuoteType, CodQuote, QuoteRev, IdxQState, CodClient, CodItem, CodItemGroup, RawMat, UnitWeight, BatchQty, CodInco, KeyAM, Note, PriceOff, OrdDate, OrdNum, OrdRow, OrdPrice FROM QuoteList WHERE (CodQuote = @CodQuote) AND (QuoteRev = @QuoteRev) AND (QuoteType = @QuoteType)";
|
||||
this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[QuoteList] ([QuoteType], [CodQuote], [QuoteRev], [IdxQState], [CodClient], [CodItem], [CodItemGroup], [RawMat], [UnitWeight], [BatchQty], [CodInco], [Note], [PriceOff], [OrdDate], [OrdNum], [OrdRow], [OrdPrice], [OrdQty], [valid], [errorScore], [UserCreaz], [DataCreaz], [UserMod], [DataMod]) VALUES (@QuoteType, @CodQuote, @QuoteRev, @IdxQState, @CodClient, @CodItem, @CodItemGroup, @RawMat, @UnitWeight, @BatchQty, @CodInco, @Note, @PriceOff, @OrdDate, @OrdNum, @OrdRow, @OrdPrice, @OrdQty, @valid, @errorScore, @UserCreaz, @DataCreaz, @UserMod, @DataMod);
|
||||
SELECT QuoteType, CodQuote, QuoteRev, IdxQState, CodClient, CodItem, CodItemGroup, RawMat, UnitWeight, BatchQty, CodInco, KeyAM, Note, PriceOff, OrdDate, OrdNum, OrdRow, OrdPrice, OrdQty, valid, errorScore, UserCreaz, DataCreaz, UserMod, DataMod FROM QuoteList WHERE (CodQuote = @CodQuote) AND (QuoteRev = @QuoteRev) AND (QuoteType = @QuoteType)";
|
||||
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuoteType", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QuoteType", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodQuote", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodQuote", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
@@ -13569,14 +13774,43 @@ SELECT QuoteType, CodQuote, QuoteRev, IdxQState, CodClient, CodItem, CodItemGrou
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodInco", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodInco", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Note", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Note", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PriceOff", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "PriceOff", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@OrdDate", global::System.Data.SqlDbType.Date, 0, global::System.Data.ParameterDirection.Input, 0, 0, "OrdDate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@OrdDate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "OrdDate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@OrdNum", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "OrdNum", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@OrdRow", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "OrdRow", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@OrdPrice", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "OrdPrice", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@OrdQty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "OrdQty", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@valid", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "valid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@errorScore", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "errorScore", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserCreaz", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserCreaz", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataCreaz", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataCreaz", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserMod", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserMod", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataMod", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataMod", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._adapter.UpdateCommand.Connection = this.Connection;
|
||||
this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[QuoteList] SET [QuoteType] = @QuoteType, [CodQuote] = @CodQuote, [QuoteRev] = @QuoteRev, [IdxQState] = @IdxQState, [CodClient] = @CodClient, [CodItem] = @CodItem, [CodItemGroup] = @CodItemGroup, [RawMat] = @RawMat, [UnitWeight] = @UnitWeight, [BatchQty] = @BatchQty, [CodInco] = @CodInco, [Note] = @Note, [PriceOff] = @PriceOff, [OrdDate] = @OrdDate, [OrdNum] = @OrdNum, [OrdRow] = @OrdRow, [OrdPrice] = @OrdPrice WHERE (([QuoteType] = @Original_QuoteType) AND ([CodQuote] = @Original_CodQuote) AND ([QuoteRev] = @Original_QuoteRev) AND ([IdxQState] = @Original_IdxQState) AND ([CodClient] = @Original_CodClient) AND ([CodItem] = @Original_CodItem) AND ([CodItemGroup] = @Original_CodItemGroup) AND ([RawMat] = @Original_RawMat) AND ([UnitWeight] = @Original_UnitWeight) AND ([BatchQty] = @Original_BatchQty) AND ([CodInco] = @Original_CodInco) AND ([KeyAM] = @Original_KeyAM) AND ([Note] = @Original_Note) AND ([PriceOff] = @Original_PriceOff) AND ((@IsNull_OrdDate = 1 AND [OrdDate] IS NULL) OR ([OrdDate] = @Original_OrdDate)) AND ([OrdNum] = @Original_OrdNum) AND ([OrdRow] = @Original_OrdRow) AND ([OrdPrice] = @Original_OrdPrice));
|
||||
SELECT QuoteType, CodQuote, QuoteRev, IdxQState, CodClient, CodItem, CodItemGroup, RawMat, UnitWeight, BatchQty, CodInco, KeyAM, Note, PriceOff, OrdDate, OrdNum, OrdRow, OrdPrice FROM QuoteList WHERE (CodQuote = @CodQuote) AND (QuoteRev = @QuoteRev) AND (QuoteType = @QuoteType)";
|
||||
this._adapter.UpdateCommand.CommandText = "UPDATE [dbo].[QuoteList] SET [QuoteType] = @QuoteType, [CodQuote] = @CodQuote, [Q" +
|
||||
"uoteRev] = @QuoteRev, [IdxQState] = @IdxQState, [CodClient] = @CodClient, [CodIt" +
|
||||
"em] = @CodItem, [CodItemGroup] = @CodItemGroup, [RawMat] = @RawMat, [UnitWeight]" +
|
||||
" = @UnitWeight, [BatchQty] = @BatchQty, [CodInco] = @CodInco, [Note] = @Note, [P" +
|
||||
"riceOff] = @PriceOff, [OrdDate] = @OrdDate, [OrdNum] = @OrdNum, [OrdRow] = @OrdR" +
|
||||
"ow, [OrdPrice] = @OrdPrice, [OrdQty] = @OrdQty, [valid] = @valid, [errorScore] =" +
|
||||
" @errorScore, [UserCreaz] = @UserCreaz, [DataCreaz] = @DataCreaz, [UserMod] = @U" +
|
||||
"serMod, [DataMod] = @DataMod WHERE (([QuoteType] = @Original_QuoteType) AND ([Co" +
|
||||
"dQuote] = @Original_CodQuote) AND ([QuoteRev] = @Original_QuoteRev) AND ([IdxQSt" +
|
||||
"ate] = @Original_IdxQState) AND ([CodClient] = @Original_CodClient) AND ([CodIte" +
|
||||
"m] = @Original_CodItem) AND ([CodItemGroup] = @Original_CodItemGroup) AND ([RawM" +
|
||||
"at] = @Original_RawMat) AND ([UnitWeight] = @Original_UnitWeight) AND ([BatchQty" +
|
||||
"] = @Original_BatchQty) AND ([CodInco] = @Original_CodInco) AND ([KeyAM] = @Orig" +
|
||||
"inal_KeyAM) AND ([Note] = @Original_Note) AND ([PriceOff] = @Original_PriceOff) " +
|
||||
"AND ((@IsNull_OrdDate = 1 AND [OrdDate] IS NULL) OR ([OrdDate] = @Original_OrdDa" +
|
||||
"te)) AND ([OrdNum] = @Original_OrdNum) AND ([OrdRow] = @Original_OrdRow) AND ([O" +
|
||||
"rdPrice] = @Original_OrdPrice) AND ([OrdQty] = @Original_OrdQty) AND ([valid] = " +
|
||||
"@Original_valid) AND ([errorScore] = @Original_errorScore) AND ([UserCreaz] = @O" +
|
||||
"riginal_UserCreaz) AND ([DataCreaz] = @Original_DataCreaz) AND ([UserMod] = @Ori" +
|
||||
"ginal_UserMod) AND ([DataMod] = @Original_DataMod));\r\nSELECT QuoteType, CodQuote" +
|
||||
", QuoteRev, IdxQState, CodClient, CodItem, CodItemGroup, RawMat, UnitWeight, Bat" +
|
||||
"chQty, CodInco, KeyAM, Note, PriceOff, OrdDate, OrdNum, OrdRow, OrdPrice, OrdQty" +
|
||||
", valid, errorScore, UserCreaz, DataCreaz, UserMod, DataMod FROM QuoteList WHERE" +
|
||||
" (CodQuote = @CodQuote) AND (QuoteRev = @QuoteRev) AND (QuoteType = @QuoteType)";
|
||||
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuoteType", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QuoteType", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodQuote", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodQuote", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
@@ -13591,10 +13825,17 @@ SELECT QuoteType, CodQuote, QuoteRev, IdxQState, CodClient, CodItem, CodItemGrou
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodInco", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodInco", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Note", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Note", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PriceOff", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "PriceOff", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@OrdDate", global::System.Data.SqlDbType.Date, 0, global::System.Data.ParameterDirection.Input, 0, 0, "OrdDate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@OrdDate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "OrdDate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@OrdNum", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "OrdNum", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@OrdRow", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "OrdRow", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@OrdPrice", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "OrdPrice", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@OrdQty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "OrdQty", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@valid", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "valid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@errorScore", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "errorScore", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserCreaz", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserCreaz", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataCreaz", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataCreaz", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserMod", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserMod", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataMod", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataMod", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_QuoteType", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QuoteType", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodQuote", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodQuote", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_QuoteRev", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QuoteRev", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
@@ -13610,10 +13851,17 @@ SELECT QuoteType, CodQuote, QuoteRev, IdxQState, CodClient, CodItem, CodItemGrou
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Note", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Note", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_PriceOff", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "PriceOff", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_OrdDate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "OrdDate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_OrdDate", global::System.Data.SqlDbType.Date, 0, global::System.Data.ParameterDirection.Input, 0, 0, "OrdDate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_OrdDate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "OrdDate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_OrdNum", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "OrdNum", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_OrdRow", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "OrdRow", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_OrdPrice", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "OrdPrice", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_OrdQty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "OrdQty", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_valid", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "valid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_errorScore", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "errorScore", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UserCreaz", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserCreaz", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataCreaz", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataCreaz", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UserMod", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserMod", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataMod", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataMod", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -13637,6 +13885,7 @@ SELECT QuoteType, CodQuote, QuoteRev, IdxQState, CodClient, CodItem, CodItemGrou
|
||||
this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure;
|
||||
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuoteType", global::System.Data.SqlDbType.Char, 1, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserMod", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuoteType_orig", global::System.Data.SqlDbType.Char, 1, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodQuote_orig", global::System.Data.SqlDbType.BigInt, 8, global::System.Data.ParameterDirection.Input, 19, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuoteRev_orig", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
@@ -13662,6 +13911,7 @@ SELECT QuoteType, CodQuote, QuoteRev, IdxQState, CodClient, CodItem, CodItemGrou
|
||||
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, "", "", ""));
|
||||
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodInco", global::System.Data.SqlDbType.NVarChar, 5, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[3].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[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserMod", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[4].Connection = this.Connection;
|
||||
this._commandCollection[4].CommandText = "dbo.stp_QL_makeSim";
|
||||
@@ -13669,6 +13919,7 @@ SELECT QuoteType, CodQuote, QuoteRev, IdxQState, CodClient, CodItem, CodItemGrou
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodQuote_orig", global::System.Data.SqlDbType.BigInt, 8, global::System.Data.ParameterDirection.Input, 19, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuoteRev_orig", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserMod", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[5].Connection = this.Connection;
|
||||
this._commandCollection[5].CommandText = "dbo.stp_QL_newRev";
|
||||
@@ -13677,6 +13928,7 @@ SELECT QuoteType, CodQuote, QuoteRev, IdxQState, CodClient, CodItem, CodItemGrou
|
||||
this._commandCollection[5].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[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodQuote", global::System.Data.SqlDbType.BigInt, 8, global::System.Data.ParameterDirection.Input, 19, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuoteRev_orig", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserMod", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[6] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[6].Connection = this.Connection;
|
||||
this._commandCollection[6].CommandText = "dbo.stp_QL_update";
|
||||
@@ -13715,7 +13967,7 @@ SELECT QuoteType, CodQuote, QuoteRev, IdxQState, CodClient, CodItem, CodItemGrou
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
||||
public virtual DS_Quotes.QuoteListDataTable clone(string QuoteType, string QuoteType_orig, global::System.Nullable<long> CodQuote_orig, global::System.Nullable<int> QuoteRev_orig) {
|
||||
public virtual DS_Quotes.QuoteListDataTable clone(string QuoteType, string UserMod, string QuoteType_orig, global::System.Nullable<long> CodQuote_orig, global::System.Nullable<int> QuoteRev_orig) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[1];
|
||||
if ((QuoteType == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
||||
@@ -13723,24 +13975,30 @@ SELECT QuoteType, CodQuote, QuoteRev, IdxQState, CodClient, CodItem, CodItemGrou
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(QuoteType));
|
||||
}
|
||||
if ((QuoteType_orig == null)) {
|
||||
if ((UserMod == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[2].Value = ((string)(QuoteType_orig));
|
||||
this.Adapter.SelectCommand.Parameters[2].Value = ((string)(UserMod));
|
||||
}
|
||||
if ((CodQuote_orig.HasValue == true)) {
|
||||
this.Adapter.SelectCommand.Parameters[3].Value = ((long)(CodQuote_orig.Value));
|
||||
}
|
||||
else {
|
||||
if ((QuoteType_orig == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((QuoteRev_orig.HasValue == true)) {
|
||||
this.Adapter.SelectCommand.Parameters[4].Value = ((int)(QuoteRev_orig.Value));
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[3].Value = ((string)(QuoteType_orig));
|
||||
}
|
||||
if ((CodQuote_orig.HasValue == true)) {
|
||||
this.Adapter.SelectCommand.Parameters[4].Value = ((long)(CodQuote_orig.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((QuoteRev_orig.HasValue == true)) {
|
||||
this.Adapter.SelectCommand.Parameters[5].Value = ((int)(QuoteRev_orig.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[5].Value = global::System.DBNull.Value;
|
||||
}
|
||||
DS_Quotes.QuoteListDataTable dataTable = new DS_Quotes.QuoteListDataTable();
|
||||
this.Adapter.Fill(dataTable);
|
||||
return dataTable;
|
||||
@@ -13779,7 +14037,7 @@ SELECT QuoteType, CodQuote, QuoteRev, IdxQState, CodClient, CodItem, CodItemGrou
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
||||
public virtual DS_Quotes.QuoteListDataTable 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) {
|
||||
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, string UserMod) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[3];
|
||||
if ((QuoteType == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
||||
@@ -13835,6 +14093,12 @@ SELECT QuoteType, CodQuote, QuoteRev, IdxQState, CodClient, CodItem, CodItemGrou
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[9].Value = ((string)(Note));
|
||||
}
|
||||
if ((UserMod == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[10].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[10].Value = ((string)(UserMod));
|
||||
}
|
||||
DS_Quotes.QuoteListDataTable dataTable = new DS_Quotes.QuoteListDataTable();
|
||||
this.Adapter.Fill(dataTable);
|
||||
return dataTable;
|
||||
@@ -13844,7 +14108,7 @@ SELECT QuoteType, CodQuote, QuoteRev, IdxQState, CodClient, CodItem, CodItemGrou
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
||||
public virtual DS_Quotes.QuoteListDataTable makeSim(global::System.Nullable<long> CodQuote_orig, global::System.Nullable<int> QuoteRev_orig) {
|
||||
public virtual DS_Quotes.QuoteListDataTable makeSim(global::System.Nullable<long> CodQuote_orig, global::System.Nullable<int> QuoteRev_orig, string UserMod) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[4];
|
||||
if ((CodQuote_orig.HasValue == true)) {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = ((long)(CodQuote_orig.Value));
|
||||
@@ -13858,6 +14122,12 @@ SELECT QuoteType, CodQuote, QuoteRev, IdxQState, CodClient, CodItem, CodItemGrou
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((UserMod == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[3].Value = ((string)(UserMod));
|
||||
}
|
||||
DS_Quotes.QuoteListDataTable dataTable = new DS_Quotes.QuoteListDataTable();
|
||||
this.Adapter.Fill(dataTable);
|
||||
return dataTable;
|
||||
@@ -13867,7 +14137,7 @@ SELECT QuoteType, CodQuote, QuoteRev, IdxQState, CodClient, CodItem, CodItemGrou
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
||||
public virtual DS_Quotes.QuoteListDataTable newRev(string QuoteType, global::System.Nullable<long> CodQuote, global::System.Nullable<int> QuoteRev_orig) {
|
||||
public virtual DS_Quotes.QuoteListDataTable newRev(string QuoteType, global::System.Nullable<long> CodQuote, global::System.Nullable<int> QuoteRev_orig, string UserMod) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[5];
|
||||
if ((QuoteType == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
||||
@@ -13887,6 +14157,12 @@ SELECT QuoteType, CodQuote, QuoteRev, IdxQState, CodClient, CodItem, CodItemGrou
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((UserMod == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[4].Value = ((string)(UserMod));
|
||||
}
|
||||
DS_Quotes.QuoteListDataTable dataTable = new DS_Quotes.QuoteListDataTable();
|
||||
this.Adapter.Fill(dataTable);
|
||||
return dataTable;
|
||||
@@ -13943,7 +14219,14 @@ SELECT QuoteType, CodQuote, QuoteRev, IdxQState, CodClient, CodItem, CodItemGrou
|
||||
global::System.Nullable<global::System.DateTime> Original_OrdDate,
|
||||
string Original_OrdNum,
|
||||
string Original_OrdRow,
|
||||
decimal Original_OrdPrice) {
|
||||
decimal Original_OrdPrice,
|
||||
int Original_OrdQty,
|
||||
bool Original_valid,
|
||||
int Original_errorScore,
|
||||
string Original_UserCreaz,
|
||||
System.DateTime Original_DataCreaz,
|
||||
string Original_UserMod,
|
||||
System.DateTime Original_DataMod) {
|
||||
if ((Original_QuoteType == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_QuoteType");
|
||||
}
|
||||
@@ -14019,6 +14302,23 @@ SELECT QuoteType, CodQuote, QuoteRev, IdxQState, CodClient, CodItem, CodItemGrou
|
||||
this.Adapter.DeleteCommand.Parameters[17].Value = ((string)(Original_OrdRow));
|
||||
}
|
||||
this.Adapter.DeleteCommand.Parameters[18].Value = ((decimal)(Original_OrdPrice));
|
||||
this.Adapter.DeleteCommand.Parameters[19].Value = ((int)(Original_OrdQty));
|
||||
this.Adapter.DeleteCommand.Parameters[20].Value = ((bool)(Original_valid));
|
||||
this.Adapter.DeleteCommand.Parameters[21].Value = ((int)(Original_errorScore));
|
||||
if ((Original_UserCreaz == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_UserCreaz");
|
||||
}
|
||||
else {
|
||||
this.Adapter.DeleteCommand.Parameters[22].Value = ((string)(Original_UserCreaz));
|
||||
}
|
||||
this.Adapter.DeleteCommand.Parameters[23].Value = ((System.DateTime)(Original_DataCreaz));
|
||||
if ((Original_UserMod == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_UserMod");
|
||||
}
|
||||
else {
|
||||
this.Adapter.DeleteCommand.Parameters[24].Value = ((string)(Original_UserMod));
|
||||
}
|
||||
this.Adapter.DeleteCommand.Parameters[25].Value = ((System.DateTime)(Original_DataMod));
|
||||
global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
|
||||
if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
|
||||
!= global::System.Data.ConnectionState.Open)) {
|
||||
@@ -14056,7 +14356,14 @@ SELECT QuoteType, CodQuote, QuoteRev, IdxQState, CodClient, CodItem, CodItemGrou
|
||||
global::System.Nullable<global::System.DateTime> OrdDate,
|
||||
string OrdNum,
|
||||
string OrdRow,
|
||||
decimal OrdPrice) {
|
||||
decimal OrdPrice,
|
||||
int OrdQty,
|
||||
bool valid,
|
||||
int errorScore,
|
||||
string UserCreaz,
|
||||
System.DateTime DataCreaz,
|
||||
string UserMod,
|
||||
System.DateTime DataMod) {
|
||||
if ((QuoteType == null)) {
|
||||
throw new global::System.ArgumentNullException("QuoteType");
|
||||
}
|
||||
@@ -14124,6 +14431,23 @@ SELECT QuoteType, CodQuote, QuoteRev, IdxQState, CodClient, CodItem, CodItemGrou
|
||||
this.Adapter.InsertCommand.Parameters[15].Value = ((string)(OrdRow));
|
||||
}
|
||||
this.Adapter.InsertCommand.Parameters[16].Value = ((decimal)(OrdPrice));
|
||||
this.Adapter.InsertCommand.Parameters[17].Value = ((int)(OrdQty));
|
||||
this.Adapter.InsertCommand.Parameters[18].Value = ((bool)(valid));
|
||||
this.Adapter.InsertCommand.Parameters[19].Value = ((int)(errorScore));
|
||||
if ((UserCreaz == null)) {
|
||||
throw new global::System.ArgumentNullException("UserCreaz");
|
||||
}
|
||||
else {
|
||||
this.Adapter.InsertCommand.Parameters[20].Value = ((string)(UserCreaz));
|
||||
}
|
||||
this.Adapter.InsertCommand.Parameters[21].Value = ((System.DateTime)(DataCreaz));
|
||||
if ((UserMod == null)) {
|
||||
throw new global::System.ArgumentNullException("UserMod");
|
||||
}
|
||||
else {
|
||||
this.Adapter.InsertCommand.Parameters[22].Value = ((string)(UserMod));
|
||||
}
|
||||
this.Adapter.InsertCommand.Parameters[23].Value = ((System.DateTime)(DataMod));
|
||||
global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
|
||||
if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
|
||||
!= global::System.Data.ConnectionState.Open)) {
|
||||
@@ -14162,6 +14486,13 @@ SELECT QuoteType, CodQuote, QuoteRev, IdxQState, CodClient, CodItem, CodItemGrou
|
||||
string OrdNum,
|
||||
string OrdRow,
|
||||
decimal OrdPrice,
|
||||
int OrdQty,
|
||||
bool valid,
|
||||
int errorScore,
|
||||
string UserCreaz,
|
||||
System.DateTime DataCreaz,
|
||||
string UserMod,
|
||||
System.DateTime DataMod,
|
||||
string Original_QuoteType,
|
||||
long Original_CodQuote,
|
||||
int Original_QuoteRev,
|
||||
@@ -14179,7 +14510,14 @@ SELECT QuoteType, CodQuote, QuoteRev, IdxQState, CodClient, CodItem, CodItemGrou
|
||||
global::System.Nullable<global::System.DateTime> Original_OrdDate,
|
||||
string Original_OrdNum,
|
||||
string Original_OrdRow,
|
||||
decimal Original_OrdPrice) {
|
||||
decimal Original_OrdPrice,
|
||||
int Original_OrdQty,
|
||||
bool Original_valid,
|
||||
int Original_errorScore,
|
||||
string Original_UserCreaz,
|
||||
System.DateTime Original_DataCreaz,
|
||||
string Original_UserMod,
|
||||
System.DateTime Original_DataMod) {
|
||||
if ((QuoteType == null)) {
|
||||
throw new global::System.ArgumentNullException("QuoteType");
|
||||
}
|
||||
@@ -14247,81 +14585,115 @@ SELECT QuoteType, CodQuote, QuoteRev, IdxQState, CodClient, CodItem, CodItemGrou
|
||||
this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(OrdRow));
|
||||
}
|
||||
this.Adapter.UpdateCommand.Parameters[16].Value = ((decimal)(OrdPrice));
|
||||
this.Adapter.UpdateCommand.Parameters[17].Value = ((int)(OrdQty));
|
||||
this.Adapter.UpdateCommand.Parameters[18].Value = ((bool)(valid));
|
||||
this.Adapter.UpdateCommand.Parameters[19].Value = ((int)(errorScore));
|
||||
if ((UserCreaz == null)) {
|
||||
throw new global::System.ArgumentNullException("UserCreaz");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[20].Value = ((string)(UserCreaz));
|
||||
}
|
||||
this.Adapter.UpdateCommand.Parameters[21].Value = ((System.DateTime)(DataCreaz));
|
||||
if ((UserMod == null)) {
|
||||
throw new global::System.ArgumentNullException("UserMod");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[22].Value = ((string)(UserMod));
|
||||
}
|
||||
this.Adapter.UpdateCommand.Parameters[23].Value = ((System.DateTime)(DataMod));
|
||||
if ((Original_QuoteType == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_QuoteType");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[17].Value = ((string)(Original_QuoteType));
|
||||
this.Adapter.UpdateCommand.Parameters[24].Value = ((string)(Original_QuoteType));
|
||||
}
|
||||
this.Adapter.UpdateCommand.Parameters[18].Value = ((long)(Original_CodQuote));
|
||||
this.Adapter.UpdateCommand.Parameters[19].Value = ((int)(Original_QuoteRev));
|
||||
this.Adapter.UpdateCommand.Parameters[20].Value = ((int)(Original_IdxQState));
|
||||
this.Adapter.UpdateCommand.Parameters[25].Value = ((long)(Original_CodQuote));
|
||||
this.Adapter.UpdateCommand.Parameters[26].Value = ((int)(Original_QuoteRev));
|
||||
this.Adapter.UpdateCommand.Parameters[27].Value = ((int)(Original_IdxQState));
|
||||
if ((Original_CodClient == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_CodClient");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[21].Value = ((string)(Original_CodClient));
|
||||
this.Adapter.UpdateCommand.Parameters[28].Value = ((string)(Original_CodClient));
|
||||
}
|
||||
if ((Original_CodItem == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_CodItem");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[22].Value = ((string)(Original_CodItem));
|
||||
this.Adapter.UpdateCommand.Parameters[29].Value = ((string)(Original_CodItem));
|
||||
}
|
||||
if ((Original_CodItemGroup == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_CodItemGroup");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[23].Value = ((string)(Original_CodItemGroup));
|
||||
this.Adapter.UpdateCommand.Parameters[30].Value = ((string)(Original_CodItemGroup));
|
||||
}
|
||||
if ((Original_RawMat == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_RawMat");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[24].Value = ((string)(Original_RawMat));
|
||||
this.Adapter.UpdateCommand.Parameters[31].Value = ((string)(Original_RawMat));
|
||||
}
|
||||
this.Adapter.UpdateCommand.Parameters[25].Value = ((decimal)(Original_UnitWeight));
|
||||
this.Adapter.UpdateCommand.Parameters[26].Value = ((int)(Original_BatchQty));
|
||||
this.Adapter.UpdateCommand.Parameters[32].Value = ((decimal)(Original_UnitWeight));
|
||||
this.Adapter.UpdateCommand.Parameters[33].Value = ((int)(Original_BatchQty));
|
||||
if ((Original_CodInco == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_CodInco");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[27].Value = ((string)(Original_CodInco));
|
||||
this.Adapter.UpdateCommand.Parameters[34].Value = ((string)(Original_CodInco));
|
||||
}
|
||||
if ((Original_KeyAM == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_KeyAM");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[28].Value = ((string)(Original_KeyAM));
|
||||
this.Adapter.UpdateCommand.Parameters[35].Value = ((string)(Original_KeyAM));
|
||||
}
|
||||
if ((Original_Note == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_Note");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[29].Value = ((string)(Original_Note));
|
||||
this.Adapter.UpdateCommand.Parameters[36].Value = ((string)(Original_Note));
|
||||
}
|
||||
this.Adapter.UpdateCommand.Parameters[30].Value = ((decimal)(Original_PriceOff));
|
||||
this.Adapter.UpdateCommand.Parameters[37].Value = ((decimal)(Original_PriceOff));
|
||||
if ((Original_OrdDate.HasValue == true)) {
|
||||
this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[32].Value = ((System.DateTime)(Original_OrdDate.Value));
|
||||
this.Adapter.UpdateCommand.Parameters[38].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[39].Value = ((System.DateTime)(Original_OrdDate.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[32].Value = global::System.DBNull.Value;
|
||||
this.Adapter.UpdateCommand.Parameters[38].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[39].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((Original_OrdNum == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_OrdNum");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[33].Value = ((string)(Original_OrdNum));
|
||||
this.Adapter.UpdateCommand.Parameters[40].Value = ((string)(Original_OrdNum));
|
||||
}
|
||||
if ((Original_OrdRow == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_OrdRow");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[34].Value = ((string)(Original_OrdRow));
|
||||
this.Adapter.UpdateCommand.Parameters[41].Value = ((string)(Original_OrdRow));
|
||||
}
|
||||
this.Adapter.UpdateCommand.Parameters[35].Value = ((decimal)(Original_OrdPrice));
|
||||
this.Adapter.UpdateCommand.Parameters[42].Value = ((decimal)(Original_OrdPrice));
|
||||
this.Adapter.UpdateCommand.Parameters[43].Value = ((int)(Original_OrdQty));
|
||||
this.Adapter.UpdateCommand.Parameters[44].Value = ((bool)(Original_valid));
|
||||
this.Adapter.UpdateCommand.Parameters[45].Value = ((int)(Original_errorScore));
|
||||
if ((Original_UserCreaz == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_UserCreaz");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[46].Value = ((string)(Original_UserCreaz));
|
||||
}
|
||||
this.Adapter.UpdateCommand.Parameters[47].Value = ((System.DateTime)(Original_DataCreaz));
|
||||
if ((Original_UserMod == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_UserMod");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[48].Value = ((string)(Original_UserMod));
|
||||
}
|
||||
this.Adapter.UpdateCommand.Parameters[49].Value = ((System.DateTime)(Original_DataMod));
|
||||
global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
|
||||
if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
|
||||
!= global::System.Data.ConnectionState.Open)) {
|
||||
@@ -14357,6 +14729,13 @@ SELECT QuoteType, CodQuote, QuoteRev, IdxQState, CodClient, CodItem, CodItemGrou
|
||||
string OrdNum,
|
||||
string OrdRow,
|
||||
decimal OrdPrice,
|
||||
int OrdQty,
|
||||
bool valid,
|
||||
int errorScore,
|
||||
string UserCreaz,
|
||||
System.DateTime DataCreaz,
|
||||
string UserMod,
|
||||
System.DateTime DataMod,
|
||||
string Original_QuoteType,
|
||||
long Original_CodQuote,
|
||||
int Original_QuoteRev,
|
||||
@@ -14374,8 +14753,15 @@ SELECT QuoteType, CodQuote, QuoteRev, IdxQState, CodClient, CodItem, CodItemGrou
|
||||
global::System.Nullable<global::System.DateTime> Original_OrdDate,
|
||||
string Original_OrdNum,
|
||||
string Original_OrdRow,
|
||||
decimal Original_OrdPrice) {
|
||||
return this.Update(Original_QuoteType, Original_CodQuote, Original_QuoteRev, IdxQState, CodClient, CodItem, CodItemGroup, RawMat, UnitWeight, BatchQty, CodInco, Note, PriceOff, OrdDate, OrdNum, OrdRow, OrdPrice, Original_QuoteType, Original_CodQuote, Original_QuoteRev, Original_IdxQState, 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);
|
||||
decimal Original_OrdPrice,
|
||||
int Original_OrdQty,
|
||||
bool Original_valid,
|
||||
int Original_errorScore,
|
||||
string Original_UserCreaz,
|
||||
System.DateTime Original_DataCreaz,
|
||||
string Original_UserMod,
|
||||
System.DateTime Original_DataMod) {
|
||||
return this.Update(Original_QuoteType, Original_CodQuote, Original_QuoteRev, IdxQState, CodClient, CodItem, CodItemGroup, RawMat, UnitWeight, BatchQty, CodInco, Note, PriceOff, OrdDate, OrdNum, OrdRow, OrdPrice, OrdQty, valid, errorScore, UserCreaz, DataCreaz, UserMod, DataMod, Original_QuoteType, Original_CodQuote, Original_QuoteRev, Original_IdxQState, 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, Original_OrdQty, Original_valid, Original_errorScore, Original_UserCreaz, Original_DataCreaz, Original_UserMod, Original_DataMod);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -17685,6 +18071,7 @@ SELECT QuoteType, CodQuote, QuoteRev, NumEx, ProcessNum, CodPlant, Class01, Clas
|
||||
this._commandCollection[8].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[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodInco", global::System.Data.SqlDbType.NVarChar, 5, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[8].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[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserMod", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[9] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[9].Connection = this.Connection;
|
||||
this._commandCollection[9].CommandText = "dbo.stp_QuoteFull_Q_update";
|
||||
@@ -17799,6 +18186,7 @@ SELECT QuoteType, CodQuote, QuoteRev, NumEx, ProcessNum, CodPlant, Class01, Clas
|
||||
this._commandCollection[18].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodQuote", global::System.Data.SqlDbType.BigInt, 8, global::System.Data.ParameterDirection.Input, 19, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[18].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_QuoteRev", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[18].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxQState", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[18].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserMod", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -17992,7 +18380,7 @@ SELECT QuoteType, CodQuote, QuoteRev, NumEx, ProcessNum, CodPlant, Class01, Clas
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
||||
public virtual DS_Quotes.QuoteFull_QDataTable insertNew(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) {
|
||||
public virtual DS_Quotes.QuoteFull_QDataTable insertNew(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, string UserMod) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[8];
|
||||
if ((QuoteType == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
||||
@@ -18048,6 +18436,12 @@ SELECT QuoteType, CodQuote, QuoteRev, NumEx, ProcessNum, CodPlant, Class01, Clas
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[9].Value = ((string)(Note));
|
||||
}
|
||||
if ((UserMod == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[10].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[10].Value = ((string)(UserMod));
|
||||
}
|
||||
DS_Quotes.QuoteFull_QDataTable dataTable = new DS_Quotes.QuoteFull_QDataTable();
|
||||
this.Adapter.Fill(dataTable);
|
||||
return dataTable;
|
||||
@@ -18481,7 +18875,7 @@ SELECT QuoteType, CodQuote, QuoteRev, NumEx, ProcessNum, CodPlant, Class01, Clas
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
||||
public virtual DS_Quotes.QuoteFull_QDataTable updateQState(string Original_QuoteType, global::System.Nullable<long> Original_CodQuote, global::System.Nullable<int> Original_QuoteRev, global::System.Nullable<int> IdxQState) {
|
||||
public virtual DS_Quotes.QuoteFull_QDataTable updateQState(string Original_QuoteType, global::System.Nullable<long> Original_CodQuote, global::System.Nullable<int> Original_QuoteRev, global::System.Nullable<int> IdxQState, string UserMod) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[18];
|
||||
if ((Original_QuoteType == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
||||
@@ -18507,6 +18901,12 @@ SELECT QuoteType, CodQuote, QuoteRev, NumEx, ProcessNum, CodPlant, Class01, Clas
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((UserMod == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[5].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[5].Value = ((string)(UserMod));
|
||||
}
|
||||
DS_Quotes.QuoteFull_QDataTable dataTable = new DS_Quotes.QuoteFull_QDataTable();
|
||||
this.Adapter.Fill(dataTable);
|
||||
return dataTable;
|
||||
|
||||
+84
-24
@@ -12,7 +12,7 @@
|
||||
<DbSource ConnectionRef="Proxima_C2PConnectionString (Settings)" DbObjectName="Proxima_C2P.dbo.QuoteList" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
|
||||
<DeleteCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>DELETE FROM [dbo].[QuoteList] WHERE (([QuoteType] = @Original_QuoteType) AND ([CodQuote] = @Original_CodQuote) AND ([QuoteRev] = @Original_QuoteRev) AND ([IdxQState] = @Original_IdxQState) AND ([CodClient] = @Original_CodClient) AND ([CodItem] = @Original_CodItem) AND ([CodItemGroup] = @Original_CodItemGroup) AND ([RawMat] = @Original_RawMat) AND ([UnitWeight] = @Original_UnitWeight) AND ([BatchQty] = @Original_BatchQty) AND ([CodInco] = @Original_CodInco) AND ([KeyAM] = @Original_KeyAM) AND ([Note] = @Original_Note) AND ([PriceOff] = @Original_PriceOff) AND ((@IsNull_OrdDate = 1 AND [OrdDate] IS NULL) OR ([OrdDate] = @Original_OrdDate)) AND ([OrdNum] = @Original_OrdNum) AND ([OrdRow] = @Original_OrdRow) AND ([OrdPrice] = @Original_OrdPrice))</CommandText>
|
||||
<CommandText>DELETE FROM [dbo].[QuoteList] WHERE (([QuoteType] = @Original_QuoteType) AND ([CodQuote] = @Original_CodQuote) AND ([QuoteRev] = @Original_QuoteRev) AND ([IdxQState] = @Original_IdxQState) AND ([CodClient] = @Original_CodClient) AND ([CodItem] = @Original_CodItem) AND ([CodItemGroup] = @Original_CodItemGroup) AND ([RawMat] = @Original_RawMat) AND ([UnitWeight] = @Original_UnitWeight) AND ([BatchQty] = @Original_BatchQty) AND ([CodInco] = @Original_CodInco) AND ([KeyAM] = @Original_KeyAM) AND ([Note] = @Original_Note) AND ([PriceOff] = @Original_PriceOff) AND ((@IsNull_OrdDate = 1 AND [OrdDate] IS NULL) OR ([OrdDate] = @Original_OrdDate)) AND ([OrdNum] = @Original_OrdNum) AND ([OrdRow] = @Original_OrdRow) AND ([OrdPrice] = @Original_OrdPrice) AND ([OrdQty] = @Original_OrdQty) AND ([valid] = @Original_valid) AND ([errorScore] = @Original_errorScore) AND ([UserCreaz] = @Original_UserCreaz) AND ([DataCreaz] = @Original_DataCreaz) AND ([UserMod] = @Original_UserMod) AND ([DataMod] = @Original_DataMod))</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_QuoteType" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="QuoteType" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_CodQuote" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="CodQuote" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
@@ -29,17 +29,24 @@
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Note" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Note" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_PriceOff" Precision="9" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="PriceOff" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_OrdDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OrdDate" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_OrdDate" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="OrdDate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_OrdDate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="OrdDate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_OrdNum" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="OrdNum" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_OrdRow" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="OrdRow" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_OrdPrice" Precision="9" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="OrdPrice" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_OrdQty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OrdQty" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_valid" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="valid" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_errorScore" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="errorScore" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_UserCreaz" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UserCreaz" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_DataCreaz" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DataCreaz" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_UserMod" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UserMod" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_DataMod" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DataMod" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</DeleteCommand>
|
||||
<InsertCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>INSERT INTO [dbo].[QuoteList] ([QuoteType], [CodQuote], [QuoteRev], [IdxQState], [CodClient], [CodItem], [CodItemGroup], [RawMat], [UnitWeight], [BatchQty], [CodInco], [Note], [PriceOff], [OrdDate], [OrdNum], [OrdRow], [OrdPrice]) VALUES (@QuoteType, @CodQuote, @QuoteRev, @IdxQState, @CodClient, @CodItem, @CodItemGroup, @RawMat, @UnitWeight, @BatchQty, @CodInco, @Note, @PriceOff, @OrdDate, @OrdNum, @OrdRow, @OrdPrice);
|
||||
SELECT QuoteType, CodQuote, QuoteRev, IdxQState, CodClient, CodItem, CodItemGroup, RawMat, UnitWeight, BatchQty, CodInco, KeyAM, Note, PriceOff, OrdDate, OrdNum, OrdRow, OrdPrice FROM QuoteList WHERE (CodQuote = @CodQuote) AND (QuoteRev = @QuoteRev) AND (QuoteType = @QuoteType)</CommandText>
|
||||
<CommandText>INSERT INTO [dbo].[QuoteList] ([QuoteType], [CodQuote], [QuoteRev], [IdxQState], [CodClient], [CodItem], [CodItemGroup], [RawMat], [UnitWeight], [BatchQty], [CodInco], [Note], [PriceOff], [OrdDate], [OrdNum], [OrdRow], [OrdPrice], [OrdQty], [valid], [errorScore], [UserCreaz], [DataCreaz], [UserMod], [DataMod]) VALUES (@QuoteType, @CodQuote, @QuoteRev, @IdxQState, @CodClient, @CodItem, @CodItemGroup, @RawMat, @UnitWeight, @BatchQty, @CodInco, @Note, @PriceOff, @OrdDate, @OrdNum, @OrdRow, @OrdPrice, @OrdQty, @valid, @errorScore, @UserCreaz, @DataCreaz, @UserMod, @DataMod);
|
||||
SELECT QuoteType, CodQuote, QuoteRev, IdxQState, CodClient, CodItem, CodItemGroup, RawMat, UnitWeight, BatchQty, CodInco, KeyAM, Note, PriceOff, OrdDate, OrdNum, OrdRow, OrdPrice, OrdQty, valid, errorScore, UserCreaz, DataCreaz, UserMod, DataMod FROM QuoteList WHERE (CodQuote = @CodQuote) AND (QuoteRev = @QuoteRev) AND (QuoteType = @QuoteType)</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@QuoteType" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="QuoteType" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@CodQuote" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="CodQuote" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
@@ -54,10 +61,17 @@ SELECT QuoteType, CodQuote, QuoteRev, IdxQState, CodClient, CodItem, CodItemGrou
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodInco" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodInco" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Note" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Note" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@PriceOff" Precision="9" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="PriceOff" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@OrdDate" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="OrdDate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@OrdDate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="OrdDate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@OrdNum" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="OrdNum" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@OrdRow" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="OrdRow" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@OrdPrice" Precision="9" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="OrdPrice" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@OrdQty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OrdQty" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@valid" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="valid" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@errorScore" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="errorScore" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@UserCreaz" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UserCreaz" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DataCreaz" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DataCreaz" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@UserMod" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UserMod" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DataMod" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DataMod" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</InsertCommand>
|
||||
@@ -69,8 +83,8 @@ SELECT QuoteType, CodQuote, QuoteRev, IdxQState, CodClient, CodItem, CodItemGrou
|
||||
</SelectCommand>
|
||||
<UpdateCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>UPDATE [dbo].[QuoteList] SET [QuoteType] = @QuoteType, [CodQuote] = @CodQuote, [QuoteRev] = @QuoteRev, [IdxQState] = @IdxQState, [CodClient] = @CodClient, [CodItem] = @CodItem, [CodItemGroup] = @CodItemGroup, [RawMat] = @RawMat, [UnitWeight] = @UnitWeight, [BatchQty] = @BatchQty, [CodInco] = @CodInco, [Note] = @Note, [PriceOff] = @PriceOff, [OrdDate] = @OrdDate, [OrdNum] = @OrdNum, [OrdRow] = @OrdRow, [OrdPrice] = @OrdPrice WHERE (([QuoteType] = @Original_QuoteType) AND ([CodQuote] = @Original_CodQuote) AND ([QuoteRev] = @Original_QuoteRev) AND ([IdxQState] = @Original_IdxQState) AND ([CodClient] = @Original_CodClient) AND ([CodItem] = @Original_CodItem) AND ([CodItemGroup] = @Original_CodItemGroup) AND ([RawMat] = @Original_RawMat) AND ([UnitWeight] = @Original_UnitWeight) AND ([BatchQty] = @Original_BatchQty) AND ([CodInco] = @Original_CodInco) AND ([KeyAM] = @Original_KeyAM) AND ([Note] = @Original_Note) AND ([PriceOff] = @Original_PriceOff) AND ((@IsNull_OrdDate = 1 AND [OrdDate] IS NULL) OR ([OrdDate] = @Original_OrdDate)) AND ([OrdNum] = @Original_OrdNum) AND ([OrdRow] = @Original_OrdRow) AND ([OrdPrice] = @Original_OrdPrice));
|
||||
SELECT QuoteType, CodQuote, QuoteRev, IdxQState, CodClient, CodItem, CodItemGroup, RawMat, UnitWeight, BatchQty, CodInco, KeyAM, Note, PriceOff, OrdDate, OrdNum, OrdRow, OrdPrice FROM QuoteList WHERE (CodQuote = @CodQuote) AND (QuoteRev = @QuoteRev) AND (QuoteType = @QuoteType)</CommandText>
|
||||
<CommandText>UPDATE [dbo].[QuoteList] SET [QuoteType] = @QuoteType, [CodQuote] = @CodQuote, [QuoteRev] = @QuoteRev, [IdxQState] = @IdxQState, [CodClient] = @CodClient, [CodItem] = @CodItem, [CodItemGroup] = @CodItemGroup, [RawMat] = @RawMat, [UnitWeight] = @UnitWeight, [BatchQty] = @BatchQty, [CodInco] = @CodInco, [Note] = @Note, [PriceOff] = @PriceOff, [OrdDate] = @OrdDate, [OrdNum] = @OrdNum, [OrdRow] = @OrdRow, [OrdPrice] = @OrdPrice, [OrdQty] = @OrdQty, [valid] = @valid, [errorScore] = @errorScore, [UserCreaz] = @UserCreaz, [DataCreaz] = @DataCreaz, [UserMod] = @UserMod, [DataMod] = @DataMod WHERE (([QuoteType] = @Original_QuoteType) AND ([CodQuote] = @Original_CodQuote) AND ([QuoteRev] = @Original_QuoteRev) AND ([IdxQState] = @Original_IdxQState) AND ([CodClient] = @Original_CodClient) AND ([CodItem] = @Original_CodItem) AND ([CodItemGroup] = @Original_CodItemGroup) AND ([RawMat] = @Original_RawMat) AND ([UnitWeight] = @Original_UnitWeight) AND ([BatchQty] = @Original_BatchQty) AND ([CodInco] = @Original_CodInco) AND ([KeyAM] = @Original_KeyAM) AND ([Note] = @Original_Note) AND ([PriceOff] = @Original_PriceOff) AND ((@IsNull_OrdDate = 1 AND [OrdDate] IS NULL) OR ([OrdDate] = @Original_OrdDate)) AND ([OrdNum] = @Original_OrdNum) AND ([OrdRow] = @Original_OrdRow) AND ([OrdPrice] = @Original_OrdPrice) AND ([OrdQty] = @Original_OrdQty) AND ([valid] = @Original_valid) AND ([errorScore] = @Original_errorScore) AND ([UserCreaz] = @Original_UserCreaz) AND ([DataCreaz] = @Original_DataCreaz) AND ([UserMod] = @Original_UserMod) AND ([DataMod] = @Original_DataMod));
|
||||
SELECT QuoteType, CodQuote, QuoteRev, IdxQState, CodClient, CodItem, CodItemGroup, RawMat, UnitWeight, BatchQty, CodInco, KeyAM, Note, PriceOff, OrdDate, OrdNum, OrdRow, OrdPrice, OrdQty, valid, errorScore, UserCreaz, DataCreaz, UserMod, DataMod FROM QuoteList WHERE (CodQuote = @CodQuote) AND (QuoteRev = @QuoteRev) AND (QuoteType = @QuoteType)</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@QuoteType" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="QuoteType" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@CodQuote" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="CodQuote" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
@@ -85,10 +99,17 @@ SELECT QuoteType, CodQuote, QuoteRev, IdxQState, CodClient, CodItem, CodItemGrou
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodInco" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodInco" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Note" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Note" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@PriceOff" Precision="9" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="PriceOff" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@OrdDate" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="OrdDate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@OrdDate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="OrdDate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@OrdNum" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="OrdNum" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@OrdRow" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="OrdRow" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@OrdPrice" Precision="9" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="OrdPrice" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@OrdQty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OrdQty" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@valid" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="valid" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@errorScore" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="errorScore" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@UserCreaz" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UserCreaz" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DataCreaz" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DataCreaz" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@UserMod" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UserMod" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DataMod" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DataMod" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_QuoteType" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="QuoteType" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_CodQuote" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="CodQuote" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_QuoteRev" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QuoteRev" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
@@ -104,10 +125,17 @@ SELECT QuoteType, CodQuote, QuoteRev, IdxQState, CodClient, CodItem, CodItemGrou
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Note" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Note" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_PriceOff" Precision="9" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="PriceOff" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_OrdDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OrdDate" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_OrdDate" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="OrdDate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_OrdDate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="OrdDate" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_OrdNum" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="OrdNum" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_OrdRow" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="OrdRow" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_OrdPrice" Precision="9" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="OrdPrice" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_OrdQty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OrdQty" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_valid" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="valid" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_errorScore" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="errorScore" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_UserCreaz" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UserCreaz" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_DataCreaz" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DataCreaz" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_UserMod" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UserMod" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_DataMod" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DataMod" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</UpdateCommand>
|
||||
@@ -132,6 +160,13 @@ SELECT QuoteType, CodQuote, QuoteRev, IdxQState, CodClient, CodItem, CodItemGrou
|
||||
<Mapping SourceColumn="OrdRow" DataSetColumn="OrdRow" />
|
||||
<Mapping SourceColumn="OrdPrice" DataSetColumn="OrdPrice" />
|
||||
<Mapping SourceColumn="IdxQState" DataSetColumn="IdxQState" />
|
||||
<Mapping SourceColumn="OrdQty" DataSetColumn="OrdQty" />
|
||||
<Mapping SourceColumn="valid" DataSetColumn="valid" />
|
||||
<Mapping SourceColumn="errorScore" DataSetColumn="errorScore" />
|
||||
<Mapping SourceColumn="UserCreaz" DataSetColumn="UserCreaz" />
|
||||
<Mapping SourceColumn="DataCreaz" DataSetColumn="DataCreaz" />
|
||||
<Mapping SourceColumn="UserMod" DataSetColumn="UserMod" />
|
||||
<Mapping SourceColumn="DataMod" DataSetColumn="DataMod" />
|
||||
</Mappings>
|
||||
<Sources>
|
||||
<DbSource ConnectionRef="Proxima_C2PConnectionString (Settings)" DbObjectName="Proxima_C2P.dbo.stp_QL_clone" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="clone" GetMethodModifier="Public" GetMethodName="clone" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="clone" UserSourceName="clone">
|
||||
@@ -141,6 +176,7 @@ SELECT QuoteType, CodQuote, QuoteRev, IdxQState, CodClient, CodItem, CodItemGrou
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="char" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@QuoteType" Precision="0" ProviderType="Char" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@UserMod" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="char" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@QuoteType_orig" Precision="0" ProviderType="Char" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@CodQuote_orig" Precision="19" ProviderType="BigInt" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@QuoteRev_orig" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
@@ -176,6 +212,7 @@ SELECT QuoteType, CodQuote, QuoteRev, IdxQState, CodClient, CodItem, CodItemGrou
|
||||
<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="nvarchar" DbType="String" Direction="Input" ParameterName="@CodInco" Precision="0" ProviderType="NVarChar" Scale="0" Size="5" 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="nvarchar" DbType="String" Direction="Input" ParameterName="@UserMod" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
@@ -188,6 +225,7 @@ SELECT QuoteType, CodQuote, QuoteRev, IdxQState, CodClient, CodItem, CodItemGrou
|
||||
<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="bigint" DbType="Int64" Direction="Input" ParameterName="@CodQuote_orig" Precision="19" ProviderType="BigInt" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@QuoteRev_orig" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@UserMod" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
@@ -201,6 +239,7 @@ SELECT QuoteType, CodQuote, QuoteRev, IdxQState, CodClient, CodItem, CodItemGrou
|
||||
<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="bigint" DbType="Int64" Direction="Input" ParameterName="@CodQuote" Precision="19" ProviderType="BigInt" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@QuoteRev_orig" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@UserMod" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
@@ -1002,6 +1041,7 @@ SELECT QuoteType, CodQuote, QuoteRev, NumEx, ProcessNum, CodPlant, Class01, Clas
|
||||
<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="nvarchar" DbType="String" Direction="Input" ParameterName="@CodInco" Precision="0" ProviderType="NVarChar" Scale="0" Size="5" 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="nvarchar" DbType="String" Direction="Input" ParameterName="@UserMod" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
@@ -1166,6 +1206,7 @@ SELECT QuoteType, CodQuote, QuoteRev, NumEx, ProcessNum, CodPlant, Class01, Clas
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@Original_CodQuote" Precision="19" ProviderType="BigInt" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_QuoteRev" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IdxQState" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@UserMod" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
@@ -1874,7 +1915,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">
|
||||
@@ -1955,10 +1996,29 @@ SELECT RawMat, ProcCost, ProcYield, CSR, SSR, SSVA, SSVR, ExtraMatCost, ExtraSer
|
||||
</xs:element>
|
||||
<xs:element name="OrdPrice" msprop:Generator_ColumnVarNameInTable="columnOrdPrice" msprop:Generator_ColumnPropNameInRow="OrdPrice" msprop:Generator_ColumnPropNameInTable="OrdPriceColumn" msprop:Generator_UserColumnName="OrdPrice" type="xs:decimal" />
|
||||
<xs:element name="IdxQState" msprop:Generator_ColumnVarNameInTable="columnIdxQState" msprop:Generator_ColumnPropNameInRow="IdxQState" msprop:Generator_ColumnPropNameInTable="IdxQStateColumn" msprop:Generator_UserColumnName="IdxQState" type="xs:int" />
|
||||
<xs:element name="OrdQty" msprop:Generator_ColumnVarNameInTable="columnOrdQty" msprop:Generator_ColumnPropNameInRow="OrdQty" msprop:Generator_ColumnPropNameInTable="OrdQtyColumn" msprop:Generator_UserColumnName="OrdQty" type="xs:int" />
|
||||
<xs:element name="valid" msprop:Generator_ColumnVarNameInTable="columnvalid" msprop:Generator_ColumnPropNameInRow="valid" msprop:Generator_ColumnPropNameInTable="validColumn" msprop:Generator_UserColumnName="valid" type="xs:boolean" />
|
||||
<xs:element name="errorScore" msprop:Generator_ColumnVarNameInTable="columnerrorScore" msprop:Generator_ColumnPropNameInRow="errorScore" msprop:Generator_ColumnPropNameInTable="errorScoreColumn" msprop:Generator_UserColumnName="errorScore" type="xs:int" />
|
||||
<xs:element name="UserCreaz" msprop:Generator_ColumnVarNameInTable="columnUserCreaz" msprop:Generator_ColumnPropNameInRow="UserCreaz" msprop:Generator_ColumnPropNameInTable="UserCreazColumn" msprop:Generator_UserColumnName="UserCreaz">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="DataCreaz" msprop:Generator_ColumnVarNameInTable="columnDataCreaz" msprop:Generator_ColumnPropNameInRow="DataCreaz" msprop:Generator_ColumnPropNameInTable="DataCreazColumn" msprop:Generator_UserColumnName="DataCreaz" type="xs:dateTime" />
|
||||
<xs:element name="UserMod" msprop:Generator_ColumnVarNameInTable="columnUserMod" msprop:Generator_ColumnPropNameInRow="UserMod" msprop:Generator_ColumnPropNameInTable="UserModColumn" msprop:Generator_UserColumnName="UserMod">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="DataMod" msprop:Generator_ColumnVarNameInTable="columnDataMod" msprop:Generator_ColumnPropNameInRow="DataMod" msprop:Generator_ColumnPropNameInTable="DataModColumn" msprop:Generator_UserColumnName="DataMod" type="xs:dateTime" />
|
||||
</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">
|
||||
@@ -1994,7 +2054,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">
|
||||
@@ -2019,7 +2079,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">
|
||||
@@ -2099,7 +2159,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">
|
||||
@@ -2136,7 +2196,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">
|
||||
@@ -2206,7 +2266,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">
|
||||
@@ -2461,7 +2521,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">
|
||||
@@ -2699,7 +2759,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">
|
||||
@@ -2720,7 +2780,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">
|
||||
@@ -2855,11 +2915,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>
|
||||
@@ -4,18 +4,18 @@
|
||||
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="445" 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="129" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||
<Shapes>
|
||||
<Shape ID="DesignTable:QuoteList" ZOrder="4" X="462" Y="129" Height="533" Width="243" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="368" />
|
||||
<Shape ID="DesignTable:QuoteList" ZOrder="1" X="462" Y="129" Height="438" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="256" />
|
||||
<Shape ID="DesignTable:QuoteRM" ZOrder="13" X="122" Y="271" Height="324" Width="264" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:QuoteWorkExt" ZOrder="14" X="102" Y="35" Height="210" Width="230" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
|
||||
<Shape ID="DesignTable:QuoteWorkInt" ZOrder="12" X="882" Y="11" Height="305" Width="228" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:QuoteParam" ZOrder="10" X="486" Y="720" Height="210" Width="217" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
|
||||
<Shape ID="DesignTable:QuoteOC" ZOrder="8" X="889" Y="418" Height="305" Width="197" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:QuoteFull_Q" ZOrder="1" X="40" Y="606" Height="571" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:QuoteFull_Q" ZOrder="2" X="40" Y="606" Height="571" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:QuoteFull_S" ZOrder="5" X="854" Y="760" Height="230" Width="249" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
|
||||
<Shape ID="DesignTable:RawMatDet" ZOrder="3" X="496" Y="971" Height="267" Width="213" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
|
||||
<Shape ID="DesignTable:StdCostList" ZOrder="2" X="920" Y="1091" Height="343" Width="209" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:RawMatDet" ZOrder="4" X="496" Y="971" Height="267" Width="213" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
|
||||
<Shape ID="DesignTable:StdCostList" ZOrder="3" X="920" Y="1091" Height="343" Width="209" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
</Shapes>
|
||||
<Connectors>
|
||||
<Connector ID="DesignRelation:FK_QuoteRM_QuoteList" ZOrder="15" LineWidth="11">
|
||||
@@ -62,7 +62,7 @@
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>559</X>
|
||||
<Y>662</Y>
|
||||
<Y>567</Y>
|
||||
</Point>
|
||||
<Point>
|
||||
<X>559</X>
|
||||
@@ -73,7 +73,7 @@
|
||||
<Connector ID="DesignRelation:FK_QuoteExtra_QuoteList" ZOrder="7" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>705</X>
|
||||
<X>762</X>
|
||||
<Y>430</Y>
|
||||
</Point>
|
||||
<Point>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,6 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<parameters>
|
||||
<setParameter name="IIS Web Application Name" value="C2P" />
|
||||
<setParameter name="C2P_Data.Properties.Settings.Proxima_C2PConnectionString-Deployment Connection String" value="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=Proxima_C2P;Persist Security Info=True;User ID=sa;Password=keyhammer" />
|
||||
<setParameter name="C2P_Data.Properties.Settings.Proxima_C2PConnectionString-Web.config Connection String" value="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=Proxima_C2P;Persist Security Info=True;User ID=sa;Password=keyhammer;" />
|
||||
<setParameter name="IIS Web Application Name" value="Default Web Site/C2P" />
|
||||
<setParameter name="C2P_Data.Properties.Settings.Proxima_C2PConnectionString-Web.config Connection String" value="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=Proxima_C2P;Persist Security Info=True;User ID=sa;Password=keyhammer" />
|
||||
</parameters>
|
||||
@@ -1,6 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<sitemanifest>
|
||||
<DbDacFx path="C:\Users\samuele\Documents\Visual Studio 2012\Projects\C2P\C2P\obj\Release\AutoScripts\C2P_Data.Properties.Settings.Proxima_C2PConnectionString_IncrementalSchemaOnly.dacpac" dacpacAction="Deploy" />
|
||||
<IisApp path="C:\Users\samuele\Documents\Visual Studio 2012\Projects\C2P\C2P\obj\Release\Package\PackageTmp" managedRuntimeVersion="v4.0" />
|
||||
<setAcl path="C:\Users\samuele\Documents\Visual Studio 2012\Projects\C2P\C2P\obj\Release\Package\PackageTmp" setAclResourceType="Directory" />
|
||||
<setAcl path="C:\Users\samuele\Documents\Visual Studio 2012\Projects\C2P\C2P\obj\Release\Package\PackageTmp" setAclUser="anonymousAuthenticationUser" setAclResourceType="Directory" />
|
||||
|
||||
@@ -177,9 +177,9 @@ call :CheckParameterFile
|
||||
echo. Start executing msdeploy.exe
|
||||
echo -------------------------------------------------------
|
||||
if not exist "%_DeploySetParametersFile%" (
|
||||
set _MSDeployCommandline="%MSDeployPath%msdeploy.exe" -source:package='%RootPath%C2P.zip' -dest:%_Destination% -verb:sync -disableLink:AppPoolExtension -disableLink:ContentExtension -disableLink:CertificateExtension -skip:objectname='dirPath',absolutepath='obj\\Release\\Package\\PackageTmp\\App_Data$' -skip:objectname='dirPath',absolutepath='C2P\\App_Data$'
|
||||
set _MSDeployCommandline="%MSDeployPath%msdeploy.exe" -source:package='%RootPath%C2P.zip' -dest:%_Destination% -verb:sync -disableLink:AppPoolExtension -disableLink:ContentExtension -disableLink:CertificateExtension -skip:objectname='dirPath',absolutepath='obj\\Release\\Package\\PackageTmp\\App_Data$' -skip:objectname='dirPath',absolutepath='Default\ Web\ Site/C2P\\App_Data$'
|
||||
) else (
|
||||
set _MSDeployCommandline="%MSDeployPath%msdeploy.exe" -source:package='%RootPath%C2P.zip' -dest:%_Destination% -verb:sync -disableLink:AppPoolExtension -disableLink:ContentExtension -disableLink:CertificateExtension -skip:objectname='dirPath',absolutepath='obj\\Release\\Package\\PackageTmp\\App_Data$' -skip:objectname='dirPath',absolutepath='C2P\\App_Data$' -setParamFile:"%_DeploySetParametersFile%"
|
||||
set _MSDeployCommandline="%MSDeployPath%msdeploy.exe" -source:package='%RootPath%C2P.zip' -dest:%_Destination% -verb:sync -disableLink:AppPoolExtension -disableLink:ContentExtension -disableLink:CertificateExtension -skip:objectname='dirPath',absolutepath='obj\\Release\\Package\\PackageTmp\\App_Data$' -skip:objectname='dirPath',absolutepath='Default\ Web\ Site/C2P\\App_Data$' -setParamFile:"%_DeploySetParametersFile%"
|
||||
)
|
||||
|
||||
if "%_HaveArgMSDeployAdditonalFlags%" == "" (
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user