update x pagina margin report 0.8
- upload dati ok - vanno gestiti step 2 (mostrare dati pre-import) - step 3 - download excel di analisi
This commit is contained in:
@@ -322,7 +322,9 @@
|
||||
<Content Include="Vocabolario.aspx" />
|
||||
<Content Include="WebUserControls\mod_display.ascx" />
|
||||
<Content Include="WebUserControls\mod_displayHor.ascx" />
|
||||
<Content Include="WebUserControls\mod_fileUploader.ascx" />
|
||||
<Content Include="WebUserControls\mod_lemmiVocab.ascx" />
|
||||
<Content Include="WebUserControls\mod_MaRepActData.ascx" />
|
||||
<Content Include="WebUserControls\mod_marginReport.ascx" />
|
||||
<Content Include="WebUserControls\mod_newProduct.ascx" />
|
||||
<Content Include="WebUserControls\mod_OffersArchive.ascx" />
|
||||
@@ -599,6 +601,13 @@
|
||||
<Compile Include="WebUserControls\mod_displayHor.ascx.designer.cs">
|
||||
<DependentUpon>mod_displayHor.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_fileUploader.ascx.cs">
|
||||
<DependentUpon>mod_fileUploader.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_fileUploader.ascx.designer.cs">
|
||||
<DependentUpon>mod_fileUploader.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_lemmiVocab.ascx.cs">
|
||||
<DependentUpon>mod_lemmiVocab.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
@@ -606,6 +615,13 @@
|
||||
<Compile Include="WebUserControls\mod_lemmiVocab.ascx.designer.cs">
|
||||
<DependentUpon>mod_lemmiVocab.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_MaRepActData.ascx.cs">
|
||||
<DependentUpon>mod_MaRepActData.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_MaRepActData.ascx.designer.cs">
|
||||
<DependentUpon>mod_MaRepActData.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_marginReport.ascx.cs">
|
||||
<DependentUpon>mod_marginReport.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
|
||||
@@ -9,4 +9,8 @@
|
||||
<br />
|
||||
Export report in formato tabellare delle righe del dettalgio di costo da vista v_StdCostList
|
||||
</div>
|
||||
<div style="background-color: white;">
|
||||
<%--<rsweb:ReportViewer ID="ReportOffers" runat="server" Font-Names="Verdana" Font-Size="8pt" Width="100%" WaitMessageFont-Names="Verdana" WaitMessageFont-Size="14pt" SizeToReportContent="true" Height="100%"></rsweb:ReportViewer>--%>
|
||||
<iframe id="repView" runat="server" style="background-color: white; border: 0; position: fixed; top: 80px; left: 0; right: 0; bottom: 0px; width: 100%; height: 80%;"></iframe>
|
||||
</div>
|
||||
</asp:Content>
|
||||
|
||||
@@ -4,6 +4,7 @@ using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using SteamWare;
|
||||
|
||||
namespace C2P
|
||||
{
|
||||
@@ -11,7 +12,11 @@ namespace C2P
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
if (!Page.IsPostBack)
|
||||
{
|
||||
// imposto iframe! con tutti i possibili valori di URL
|
||||
repView.Src = string.Format(@"{0}/ReportViewer.aspx?ticket={1}&lingua={2}&QuoteType={3}&CodQuote={4}&QuoteRev={5}", memLayer.ML.confReadString("reportsUrl"), Request.QueryString["ticket"], user_std.UtSn.lingua, Request.QueryString["QuoteType"], Request.QueryString["CodQuote"], Request.QueryString["QuoteRev"]);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Generated
+14
-7
@@ -3,15 +3,22 @@
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace C2P
|
||||
{
|
||||
|
||||
|
||||
public partial class StdCostList
|
||||
{
|
||||
namespace C2P {
|
||||
|
||||
|
||||
public partial class StdCostList {
|
||||
|
||||
/// <summary>
|
||||
/// repView control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlIframe repView;
|
||||
}
|
||||
}
|
||||
|
||||
+3
-1
@@ -25,6 +25,8 @@
|
||||
<add key="_logMaxMb" value="30" />
|
||||
<add key="defDayFrom" value="-365" />
|
||||
<add key="intUpdatePagina_ms" value="60000" />
|
||||
<!--area import dati-->
|
||||
<add key="importDataFolder" value="\\10.74.82.217\e$\test" />
|
||||
<!--area reports-->
|
||||
<add key="ReportRemoteRender" value="true" />
|
||||
<add key="enableQueue" value="false" />
|
||||
@@ -57,7 +59,7 @@
|
||||
<add extension=".rdlc" type="Microsoft.Reporting.RdlBuildProvider, Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" />
|
||||
</buildProviders>-->
|
||||
</compilation>
|
||||
<httpRuntime targetFramework="4.5" />
|
||||
<httpRuntime targetFramework="4.5" maxRequestLength="204800" />
|
||||
<globalization culture="it-IT" enableClientBasedCulture="false" uiCulture="it-IT" />
|
||||
<pages>
|
||||
<namespaces>
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_MaRepActData.ascx.cs" Inherits="C2P.WebUserControls.mod_MaRepActData" %>
|
||||
<%@ Register Src="~/WebUserControls/mod_display.ascx" TagName="mod_display" TagPrefix="uc1" %>
|
||||
|
||||
<asp:FormView ID="FormView1" runat="server" DataSourceID="odsStats" Width="100%">
|
||||
<ItemTemplate>
|
||||
<div class="row bottomLine">
|
||||
<div class="col-xs-6 text-left">
|
||||
<uc1:mod_display ID="mod_display1" runat="server" etichetta='<%# traduci("FromDate") %>' valore='<%# Eval("FromDate", "{0:ddd dd/MM/yyyy}") %>' />
|
||||
</div>
|
||||
<div class="col-xs-6 text-right">
|
||||
<uc1:mod_display ID="mod_display2" runat="server" etichetta='<%# traduci("ToDate") %>' valore='<%# Eval("ToDate", "{0:ddd dd/MM/yyyy}") %>' />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-3 text-left">
|
||||
<uc1:mod_display ID="mod_display3" runat="server" etichetta='<%# traduci("NumOrderRows") %>' valore='<%# Eval("NumOrderRows") %>' />
|
||||
</div>
|
||||
<div class="col-xs-3 text-left">
|
||||
<uc1:mod_display ID="mod_display4" runat="server" etichetta='<%# traduci("NumOrders") %>' valore='<%# Eval("NumOrders") %>' />
|
||||
</div>
|
||||
<div class="col-xs-3 text-right">
|
||||
<uc1:mod_display ID="mod_display5" runat="server" etichetta='<%# traduci("NumItem") %>' valore='<%# Eval("NumItem") %>' />
|
||||
</div>
|
||||
<div class="col-xs-3 text-right">
|
||||
<uc1:mod_display ID="mod_display6" runat="server" etichetta='<%# traduci("NumClients") %>' valore='<%# Eval("NumClients") %>' />
|
||||
</div>
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
</asp:FormView>
|
||||
<asp:ObjectDataSource ID="odsStats" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="C2P_Data.DS_UtilityTableAdapters.v_MarginReportStatsTableAdapter"></asp:ObjectDataSource>
|
||||
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace C2P.WebUserControls
|
||||
{
|
||||
public partial class mod_MaRepActData : SteamWare.UserControl
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace C2P.WebUserControls {
|
||||
|
||||
|
||||
public partial class mod_MaRepActData {
|
||||
|
||||
/// <summary>
|
||||
/// FormView1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.FormView FormView1;
|
||||
|
||||
/// <summary>
|
||||
/// odsStats control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource odsStats;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_fileUploader.ascx.cs" Inherits="C2P.WebUserControls.mod_fileUploader" %>
|
||||
<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="conditional">
|
||||
<Triggers>
|
||||
<asp:PostBackTrigger ControlID="btnUpload" />
|
||||
</Triggers>
|
||||
<ContentTemplate>
|
||||
<asp:FileUpload ID="FileUploadControl" runat="server" />
|
||||
<asp:Button ID="btnUpload" runat="server" Text="Upload" OnClick="btnUpload_Click" />
|
||||
<div class="didascalia">
|
||||
<asp:Label runat="server" ID="StatusLabel" />
|
||||
</div>
|
||||
</ContentTemplate>
|
||||
</asp:UpdatePanel>
|
||||
@@ -0,0 +1,74 @@
|
||||
using SteamWare;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace C2P.WebUserControls
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public partial class mod_fileUploader : SteamWare.UserControl
|
||||
{
|
||||
/// <summary>
|
||||
/// effettuato upload file!
|
||||
/// </summary>
|
||||
public event EventHandler eh_uploadDone;
|
||||
/// <summary>
|
||||
/// caricamento pagina
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
this.Page.Form.Enctype = "multipart/form-data";
|
||||
}
|
||||
/// <summary>
|
||||
/// caricamento file!
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnUpload_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (FileUploadControl.HasFile)
|
||||
{
|
||||
try
|
||||
{
|
||||
if (FileUploadControl.PostedFile.ContentType == contTypeFilt && contTypeFilt != "")
|
||||
{
|
||||
//if (FileUploadControl.PostedFile.ContentLength < 102400000)
|
||||
//{
|
||||
//string filename = Path.GetFileName(FileUploadControl.FileName);
|
||||
//FileUploadControl.SaveAs(Server.MapPath("~/") + filename);
|
||||
|
||||
string fileDest = string.Format(@"{0}\{1}", memLayer.ML.confReadString("importDataFolder"), FileUploadControl.FileName);
|
||||
FileUploadControl.SaveAs(fileDest);
|
||||
|
||||
StatusLabel.Text = string.Format("Upload status: File uploaded! - size: {0} kb", FileUploadControl.PostedFile.ContentLength / 1024);
|
||||
if (eh_uploadDone != null)
|
||||
{
|
||||
eh_uploadDone(this, new EventArgs());
|
||||
}
|
||||
//}
|
||||
//else
|
||||
// StatusLabel.Text = "Upload status: The file has to be less than 100 Mb!";
|
||||
}
|
||||
else
|
||||
StatusLabel.Text = string.Format("{0} - {1}", traduci("ERR-FU-001"), contTypeFilt);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
StatusLabel.Text = "Upload status: The file could not be uploaded. The following error occured: " + ex.Message;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// content type permesso
|
||||
/// </summary>
|
||||
public string contTypeFilt { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace C2P.WebUserControls {
|
||||
|
||||
|
||||
public partial class mod_fileUploader {
|
||||
|
||||
/// <summary>
|
||||
/// UpdatePanel1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.UpdatePanel UpdatePanel1;
|
||||
|
||||
/// <summary>
|
||||
/// FileUploadControl control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.FileUpload FileUploadControl;
|
||||
|
||||
/// <summary>
|
||||
/// btnUpload control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Button btnUpload;
|
||||
|
||||
/// <summary>
|
||||
/// StatusLabel control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label StatusLabel;
|
||||
}
|
||||
}
|
||||
@@ -1,7 +1,9 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_marginReport.ascx.cs" Inherits="C2P.WebUserControls.mod_marginReport" %>
|
||||
<%@ Register Src="~/WebUserControls/mod_fileUploader.ascx" TagName="mod_fileUploader" TagPrefix="uc2" %>
|
||||
<%@ Register Src="~/WebUserControls/mod_MaRepActData.ascx" TagName="mod_MaRepActData" TagPrefix="uc1" %>
|
||||
|
||||
<div class="row" style="min-height: 322px;">
|
||||
<div class="panel panel-default">
|
||||
<%--<div class="panel-heading">--%>
|
||||
<div class="btn-group btn-group-justified">
|
||||
<div class="btn-group">
|
||||
<asp:LinkButton runat="server" ID="lbHeader" class="btn btn-default" OnClick="lbt_Click" CommandArgument="DataIn"><i class="fa fa-tasks"></i> <%: traduci("MarginReportDataIn") %></asp:LinkButton>
|
||||
@@ -13,17 +15,44 @@
|
||||
<asp:LinkButton runat="server" ID="lbExtrPar" class="btn btn-default" OnClick="lbt_Click" CommandArgument="Analisys"><i class="fa fa-tasks"></i> <%: traduci("MarginReportAnalisys") %></asp:LinkButton>
|
||||
</div>
|
||||
</div>
|
||||
<%--</div>--%><div class="panel-body">
|
||||
<div runat="server" id="divDataIn">
|
||||
Caricamento Dati
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<div runat="server" id="divHelp">
|
||||
Per procedere seguire le 3 fasi (IN - PROC - ANALISYS)
|
||||
<h2><%: traduci("HMaRepTitle") %></h2>
|
||||
<%: traduci("HMaRepBody") %>
|
||||
<div class="panel panel-success">
|
||||
<div class="panel-heading">
|
||||
<h4><%: traduci("HMaRepActData") %></h4>
|
||||
</div>
|
||||
<div class="panel-body bg-success">
|
||||
<uc1:mod_MaRepActData ID="mod_MaRepActData1" runat="server" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div runat="server" id="divDataIn">
|
||||
<h3>Step 1</h3>
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h4><%: traduci("HMaRepLoadData") %></h4>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<uc2:mod_fileUploader ID="mod_fileUploader1" runat="server" contTypeFilt="application/vnd.ms-excel" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div runat="server" id="divDataProc">
|
||||
<h3>Step 2</h3>
|
||||
Processing Dati
|
||||
<br />
|
||||
EXEC [tmp].[importOrdersHistRaw]
|
||||
<br />
|
||||
EXEC [tmp].[convertOrdersHistRaw]
|
||||
<br />
|
||||
EXEC [ext].[stp_mergeOrdersHist]
|
||||
<br />
|
||||
EXEC dbo.stp_QLR_insNew
|
||||
</div>
|
||||
<div runat="server" id="divAnalisys">
|
||||
<h3>Step 3</h3>
|
||||
<asp:HyperLink runat="server" ID="HyperLink2" class="shortcut" NavigateUrl="~/Reports/MarginReport.xlsx">
|
||||
<i class="fa fa-list-alt shortcut-icon"></i> <span class="shortcut-label"><%: traduci("MarginReport") %></span>
|
||||
</asp:HyperLink>
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using SteamWare;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
@@ -26,12 +27,12 @@ namespace C2P.WebUserControls
|
||||
LinkButton lBtn = ((LinkButton)sender);
|
||||
setModVisibility(lBtn.CommandArgument);
|
||||
}
|
||||
/// <summary>
|
||||
/// <summary>
|
||||
/// sistemazione della visibilità dei moduli di dettaglio/editing
|
||||
/// </summary>
|
||||
private void setModVisibility(string req)
|
||||
{
|
||||
divHelp.Visible = false;
|
||||
//divHelp.Visible = false;
|
||||
divDataIn.Visible = false;
|
||||
divDataProc.Visible = false;
|
||||
divAnalisys.Visible = false;
|
||||
@@ -47,7 +48,7 @@ namespace C2P.WebUserControls
|
||||
divAnalisys.Visible = true;
|
||||
break;
|
||||
default:
|
||||
divHelp.Visible = true;
|
||||
//divHelp.Visible = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
+20
-2
@@ -39,6 +39,24 @@ namespace C2P.WebUserControls {
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.LinkButton lbExtrPar;
|
||||
|
||||
/// <summary>
|
||||
/// divHelp control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divHelp;
|
||||
|
||||
/// <summary>
|
||||
/// mod_MaRepActData1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::C2P.WebUserControls.mod_MaRepActData mod_MaRepActData1;
|
||||
|
||||
/// <summary>
|
||||
/// divDataIn control.
|
||||
/// </summary>
|
||||
@@ -49,13 +67,13 @@ namespace C2P.WebUserControls {
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divDataIn;
|
||||
|
||||
/// <summary>
|
||||
/// divHelp control.
|
||||
/// mod_fileUploader1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divHelp;
|
||||
protected global::C2P.WebUserControls.mod_fileUploader mod_fileUploader1;
|
||||
|
||||
/// <summary>
|
||||
/// divDataProc control.
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1 +0,0 @@
|
||||
|
||||
+43
-10
@@ -305,6 +305,27 @@ SELECT Ticket, Report, Chiave, UserReq, DataReq, DataPrint FROM ReportPrintTicke
|
||||
</Mappings>
|
||||
<Sources />
|
||||
</TableAdapter>
|
||||
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="v_MarginReportStatsTableAdapter" GeneratorDataComponentClassName="v_MarginReportStatsTableAdapter" Name="v_MarginReportStats" UserDataComponentName="v_MarginReportStatsTableAdapter">
|
||||
<MainSource>
|
||||
<DbSource ConnectionRef="Proxima_C2PConnectionString (Settings)" DbObjectName="Proxima_C2P.dbo.v_MarginReportStats" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" 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">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>SELECT FromDate, ToDate, NumOrderRows, NumOrders, NumItem, NumClients FROM dbo.v_MarginReportStats</CommandText>
|
||||
<Parameters />
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
</MainSource>
|
||||
<Mappings>
|
||||
<Mapping SourceColumn="FromDate" DataSetColumn="FromDate" />
|
||||
<Mapping SourceColumn="ToDate" DataSetColumn="ToDate" />
|
||||
<Mapping SourceColumn="NumOrderRows" DataSetColumn="NumOrderRows" />
|
||||
<Mapping SourceColumn="NumOrders" DataSetColumn="NumOrders" />
|
||||
<Mapping SourceColumn="NumItem" DataSetColumn="NumItem" />
|
||||
<Mapping SourceColumn="NumClients" DataSetColumn="NumClients" />
|
||||
</Mappings>
|
||||
<Sources />
|
||||
</TableAdapter>
|
||||
</Tables>
|
||||
<Sources />
|
||||
</DataSource>
|
||||
@@ -313,7 +334,7 @@ SELECT Ticket, Report, Chiave, UserReq, DataReq, DataPrint FROM ReportPrintTicke
|
||||
<xs:element name="DS_Utility" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DS_Utility" msprop:Generator_UserDSName="DS_Utility">
|
||||
<xs:complexType>
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="v_selClient" msprop:Generator_TableClassName="v_selClientDataTable" msprop:Generator_TableVarName="tablev_selClient" msprop:Generator_RowChangedName="v_selClientRowChanged" msprop:Generator_TablePropName="v_selClient" msprop:Generator_RowDeletingName="v_selClientRowDeleting" msprop:Generator_RowChangingName="v_selClientRowChanging" msprop:Generator_RowEvHandlerName="v_selClientRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selClientRowDeleted" msprop:Generator_RowClassName="v_selClientRow" msprop:Generator_UserTableName="v_selClient" msprop:Generator_RowEvArgName="v_selClientRowChangeEvent">
|
||||
<xs:element name="v_selClient" msprop:Generator_TableClassName="v_selClientDataTable" msprop:Generator_TableVarName="tablev_selClient" msprop:Generator_TablePropName="v_selClient" msprop:Generator_RowDeletingName="v_selClientRowDeleting" msprop:Generator_RowChangingName="v_selClientRowChanging" msprop:Generator_RowEvHandlerName="v_selClientRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selClientRowDeleted" msprop:Generator_UserTableName="v_selClient" msprop:Generator_RowChangedName="v_selClientRowChanged" msprop:Generator_RowEvArgName="v_selClientRowChangeEvent" msprop:Generator_RowClassName="v_selClientRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value">
|
||||
@@ -333,7 +354,7 @@ SELECT Ticket, Report, Chiave, UserReq, DataReq, DataPrint FROM ReportPrintTicke
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="v_selItems" msprop:Generator_TableClassName="v_selItemsDataTable" msprop:Generator_TableVarName="tablev_selItems" msprop:Generator_TablePropName="v_selItems" msprop:Generator_RowDeletingName="v_selItemsRowDeleting" msprop:Generator_RowChangingName="v_selItemsRowChanging" msprop:Generator_RowEvHandlerName="v_selItemsRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selItemsRowDeleted" msprop:Generator_UserTableName="v_selItems" msprop:Generator_RowChangedName="v_selItemsRowChanged" msprop:Generator_RowEvArgName="v_selItemsRowChangeEvent" msprop:Generator_RowClassName="v_selItemsRow">
|
||||
<xs:element name="v_selItems" msprop:Generator_TableClassName="v_selItemsDataTable" msprop:Generator_TableVarName="tablev_selItems" msprop:Generator_RowChangedName="v_selItemsRowChanged" msprop:Generator_TablePropName="v_selItems" msprop:Generator_RowDeletingName="v_selItemsRowDeleting" msprop:Generator_RowChangingName="v_selItemsRowChanging" msprop:Generator_RowEvHandlerName="v_selItemsRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selItemsRowDeleted" msprop:Generator_RowClassName="v_selItemsRow" msprop:Generator_UserTableName="v_selItems" msprop:Generator_RowEvArgName="v_selItemsRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value">
|
||||
@@ -353,7 +374,7 @@ SELECT Ticket, Report, Chiave, UserReq, DataReq, DataPrint FROM ReportPrintTicke
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="v_selRawMat" msprop:Generator_TableClassName="v_selRawMatDataTable" msprop:Generator_TableVarName="tablev_selRawMat" msprop:Generator_RowChangedName="v_selRawMatRowChanged" msprop:Generator_TablePropName="v_selRawMat" msprop:Generator_RowDeletingName="v_selRawMatRowDeleting" msprop:Generator_RowChangingName="v_selRawMatRowChanging" msprop:Generator_RowEvHandlerName="v_selRawMatRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selRawMatRowDeleted" msprop:Generator_RowClassName="v_selRawMatRow" msprop:Generator_UserTableName="v_selRawMat" msprop:Generator_RowEvArgName="v_selRawMatRowChangeEvent">
|
||||
<xs:element name="v_selRawMat" msprop:Generator_TableClassName="v_selRawMatDataTable" msprop:Generator_TableVarName="tablev_selRawMat" msprop:Generator_TablePropName="v_selRawMat" msprop:Generator_RowDeletingName="v_selRawMatRowDeleting" msprop:Generator_RowChangingName="v_selRawMatRowChanging" msprop:Generator_RowEvHandlerName="v_selRawMatRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selRawMatRowDeleted" msprop:Generator_UserTableName="v_selRawMat" msprop:Generator_RowChangedName="v_selRawMatRowChanged" msprop:Generator_RowEvArgName="v_selRawMatRowChangeEvent" msprop:Generator_RowClassName="v_selRawMatRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value">
|
||||
@@ -373,7 +394,7 @@ SELECT Ticket, Report, Chiave, UserReq, DataReq, DataPrint FROM ReportPrintTicke
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="v_selCons" msprop:Generator_TableClassName="v_selConsDataTable" msprop:Generator_TableVarName="tablev_selCons" msprop:Generator_TablePropName="v_selCons" msprop:Generator_RowDeletingName="v_selConsRowDeleting" msprop:Generator_RowChangingName="v_selConsRowChanging" msprop:Generator_RowEvHandlerName="v_selConsRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selConsRowDeleted" msprop:Generator_UserTableName="v_selCons" msprop:Generator_RowChangedName="v_selConsRowChanged" msprop:Generator_RowEvArgName="v_selConsRowChangeEvent" msprop:Generator_RowClassName="v_selConsRow">
|
||||
<xs:element name="v_selCons" msprop:Generator_TableClassName="v_selConsDataTable" msprop:Generator_TableVarName="tablev_selCons" msprop:Generator_RowChangedName="v_selConsRowChanged" msprop:Generator_TablePropName="v_selCons" msprop:Generator_RowDeletingName="v_selConsRowDeleting" msprop:Generator_RowChangingName="v_selConsRowChanging" msprop:Generator_RowEvHandlerName="v_selConsRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selConsRowDeleted" msprop:Generator_RowClassName="v_selConsRow" msprop:Generator_UserTableName="v_selCons" msprop:Generator_RowEvArgName="v_selConsRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value">
|
||||
@@ -393,7 +414,7 @@ SELECT Ticket, Report, Chiave, UserReq, DataReq, DataPrint FROM ReportPrintTicke
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="v_selIncoterms" msprop:Generator_TableClassName="v_selIncotermsDataTable" msprop:Generator_TableVarName="tablev_selIncoterms" msprop:Generator_RowChangedName="v_selIncotermsRowChanged" msprop:Generator_TablePropName="v_selIncoterms" msprop:Generator_RowDeletingName="v_selIncotermsRowDeleting" msprop:Generator_RowChangingName="v_selIncotermsRowChanging" msprop:Generator_RowEvHandlerName="v_selIncotermsRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selIncotermsRowDeleted" msprop:Generator_RowClassName="v_selIncotermsRow" msprop:Generator_UserTableName="v_selIncoterms" msprop:Generator_RowEvArgName="v_selIncotermsRowChangeEvent">
|
||||
<xs:element name="v_selIncoterms" msprop:Generator_TableClassName="v_selIncotermsDataTable" msprop:Generator_TableVarName="tablev_selIncoterms" msprop:Generator_TablePropName="v_selIncoterms" msprop:Generator_RowDeletingName="v_selIncotermsRowDeleting" msprop:Generator_RowChangingName="v_selIncotermsRowChanging" msprop:Generator_RowEvHandlerName="v_selIncotermsRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selIncotermsRowDeleted" msprop:Generator_UserTableName="v_selIncoterms" msprop:Generator_RowChangedName="v_selIncotermsRowChanged" msprop:Generator_RowEvArgName="v_selIncotermsRowChangeEvent" msprop:Generator_RowClassName="v_selIncotermsRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value">
|
||||
@@ -413,7 +434,7 @@ SELECT Ticket, Report, Chiave, UserReq, DataReq, DataPrint FROM ReportPrintTicke
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="ReportPrintTicket" msprop:Generator_TableClassName="ReportPrintTicketDataTable" msprop:Generator_TableVarName="tableReportPrintTicket" msprop:Generator_TablePropName="ReportPrintTicket" msprop:Generator_RowDeletingName="ReportPrintTicketRowDeleting" msprop:Generator_RowChangingName="ReportPrintTicketRowChanging" msprop:Generator_RowEvHandlerName="ReportPrintTicketRowChangeEventHandler" msprop:Generator_RowDeletedName="ReportPrintTicketRowDeleted" msprop:Generator_UserTableName="ReportPrintTicket" msprop:Generator_RowChangedName="ReportPrintTicketRowChanged" msprop:Generator_RowEvArgName="ReportPrintTicketRowChangeEvent" msprop:Generator_RowClassName="ReportPrintTicketRow">
|
||||
<xs:element name="ReportPrintTicket" msprop:Generator_TableClassName="ReportPrintTicketDataTable" msprop:Generator_TableVarName="tableReportPrintTicket" msprop:Generator_RowChangedName="ReportPrintTicketRowChanged" msprop:Generator_TablePropName="ReportPrintTicket" msprop:Generator_RowDeletingName="ReportPrintTicketRowDeleting" msprop:Generator_RowChangingName="ReportPrintTicketRowChanging" msprop:Generator_RowEvHandlerName="ReportPrintTicketRowChangeEventHandler" msprop:Generator_RowDeletedName="ReportPrintTicketRowDeleted" msprop:Generator_RowClassName="ReportPrintTicketRow" msprop:Generator_UserTableName="ReportPrintTicket" msprop:Generator_RowEvArgName="ReportPrintTicketRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Ticket" msprop:Generator_ColumnVarNameInTable="columnTicket" msprop:Generator_ColumnPropNameInRow="Ticket" msprop:Generator_ColumnPropNameInTable="TicketColumn" msprop:Generator_UserColumnName="Ticket" type="xs:int" />
|
||||
@@ -443,7 +464,7 @@ SELECT Ticket, Report, Chiave, UserReq, DataReq, DataPrint FROM ReportPrintTicke
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="Offers4Item" msprop:Generator_TableClassName="Offers4ItemDataTable" msprop:Generator_TableVarName="tableOffers4Item" msprop:Generator_RowChangedName="Offers4ItemRowChanged" msprop:Generator_TablePropName="Offers4Item" msprop:Generator_RowDeletingName="Offers4ItemRowDeleting" msprop:Generator_RowChangingName="Offers4ItemRowChanging" msprop:Generator_RowEvHandlerName="Offers4ItemRowChangeEventHandler" msprop:Generator_RowDeletedName="Offers4ItemRowDeleted" msprop:Generator_RowClassName="Offers4ItemRow" msprop:Generator_UserTableName="Offers4Item" msprop:Generator_RowEvArgName="Offers4ItemRowChangeEvent">
|
||||
<xs:element name="Offers4Item" msprop:Generator_TableClassName="Offers4ItemDataTable" msprop:Generator_TableVarName="tableOffers4Item" msprop:Generator_TablePropName="Offers4Item" msprop:Generator_RowDeletingName="Offers4ItemRowDeleting" msprop:Generator_RowChangingName="Offers4ItemRowChanging" msprop:Generator_RowEvHandlerName="Offers4ItemRowChangeEventHandler" msprop:Generator_RowDeletedName="Offers4ItemRowDeleted" msprop:Generator_UserTableName="Offers4Item" msprop:Generator_RowChangedName="Offers4ItemRowChanged" msprop:Generator_RowEvArgName="Offers4ItemRowChangeEvent" msprop:Generator_RowClassName="Offers4ItemRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="RawMat" msprop:Generator_ColumnVarNameInTable="columnRawMat" msprop:Generator_ColumnPropNameInRow="RawMat" msprop:Generator_ColumnPropNameInTable="RawMatColumn" msprop:Generator_UserColumnName="RawMat">
|
||||
@@ -464,7 +485,7 @@ SELECT Ticket, Report, Chiave, UserReq, DataReq, DataPrint FROM ReportPrintTicke
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="v_selPackage" msprop:Generator_TableClassName="v_selPackageDataTable" msprop:Generator_TableVarName="tablev_selPackage" msprop:Generator_RowChangedName="v_selPackageRowChanged" msprop:Generator_TablePropName="v_selPackage" msprop:Generator_RowDeletingName="v_selPackageRowDeleting" msprop:Generator_RowChangingName="v_selPackageRowChanging" msprop:Generator_RowEvHandlerName="v_selPackageRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selPackageRowDeleted" msprop:Generator_RowClassName="v_selPackageRow" msprop:Generator_UserTableName="v_selPackage" msprop:Generator_RowEvArgName="v_selPackageRowChangeEvent">
|
||||
<xs:element name="v_selPackage" msprop:Generator_TableClassName="v_selPackageDataTable" msprop:Generator_TableVarName="tablev_selPackage" msprop:Generator_TablePropName="v_selPackage" msprop:Generator_RowDeletingName="v_selPackageRowDeleting" msprop:Generator_RowChangingName="v_selPackageRowChanging" msprop:Generator_RowEvHandlerName="v_selPackageRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selPackageRowDeleted" msprop:Generator_UserTableName="v_selPackage" msprop:Generator_RowChangedName="v_selPackageRowChanged" msprop:Generator_RowEvArgName="v_selPackageRowChangeEvent" msprop:Generator_RowClassName="v_selPackageRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value">
|
||||
@@ -484,7 +505,7 @@ SELECT Ticket, Report, Chiave, UserReq, DataReq, DataPrint FROM ReportPrintTicke
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="v_selPlant" msprop:Generator_TableClassName="v_selPlantDataTable" msprop:Generator_TableVarName="tablev_selPlant" msprop:Generator_RowChangedName="v_selPlantRowChanged" msprop:Generator_TablePropName="v_selPlant" msprop:Generator_RowDeletingName="v_selPlantRowDeleting" msprop:Generator_RowChangingName="v_selPlantRowChanging" msprop:Generator_RowEvHandlerName="v_selPlantRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selPlantRowDeleted" msprop:Generator_RowClassName="v_selPlantRow" msprop:Generator_UserTableName="v_selPlant" msprop:Generator_RowEvArgName="v_selPlantRowChangeEvent">
|
||||
<xs:element name="v_selPlant" msprop:Generator_TableClassName="v_selPlantDataTable" msprop:Generator_TableVarName="tablev_selPlant" msprop:Generator_TablePropName="v_selPlant" msprop:Generator_RowDeletingName="v_selPlantRowDeleting" msprop:Generator_RowChangingName="v_selPlantRowChanging" msprop:Generator_RowEvHandlerName="v_selPlantRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selPlantRowDeleted" msprop:Generator_UserTableName="v_selPlant" msprop:Generator_RowChangedName="v_selPlantRowChanged" msprop:Generator_RowEvArgName="v_selPlantRowChangeEvent" msprop:Generator_RowClassName="v_selPlantRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value">
|
||||
@@ -504,7 +525,7 @@ SELECT Ticket, Report, Chiave, UserReq, DataReq, DataPrint FROM ReportPrintTicke
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="PickListTrad" msprop:Generator_TableClassName="PickListTradDataTable" msprop:Generator_TableVarName="tablePickListTrad" msprop:Generator_TablePropName="PickListTrad" msprop:Generator_RowDeletingName="PickListTradRowDeleting" msprop:Generator_RowChangingName="PickListTradRowChanging" msprop:Generator_RowEvHandlerName="PickListTradRowChangeEventHandler" msprop:Generator_RowDeletedName="PickListTradRowDeleted" msprop:Generator_UserTableName="PickListTrad" msprop:Generator_RowChangedName="PickListTradRowChanged" msprop:Generator_RowEvArgName="PickListTradRowChangeEvent" msprop:Generator_RowClassName="PickListTradRow">
|
||||
<xs:element name="PickListTrad" msprop:Generator_TableClassName="PickListTradDataTable" msprop:Generator_TableVarName="tablePickListTrad" msprop:Generator_RowChangedName="PickListTradRowChanged" msprop:Generator_TablePropName="PickListTrad" msprop:Generator_RowDeletingName="PickListTradRowDeleting" msprop:Generator_RowChangingName="PickListTradRowChanging" msprop:Generator_RowEvHandlerName="PickListTradRowChangeEventHandler" msprop:Generator_RowDeletedName="PickListTradRowDeleted" msprop:Generator_RowClassName="PickListTradRow" msprop:Generator_UserTableName="PickListTrad" msprop:Generator_RowEvArgName="PickListTradRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Value" msprop:Generator_ColumnVarNameInTable="columnValue" msprop:Generator_ColumnPropNameInRow="Value" msprop:Generator_ColumnPropNameInTable="ValueColumn" msprop:Generator_UserColumnName="Value">
|
||||
@@ -524,6 +545,18 @@ SELECT Ticket, Report, Chiave, UserReq, DataReq, DataPrint FROM ReportPrintTicke
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="v_MarginReportStats" msprop:Generator_TableClassName="v_MarginReportStatsDataTable" msprop:Generator_TableVarName="tablev_MarginReportStats" msprop:Generator_TablePropName="v_MarginReportStats" msprop:Generator_RowDeletingName="v_MarginReportStatsRowDeleting" msprop:Generator_RowChangingName="v_MarginReportStatsRowChanging" msprop:Generator_RowEvHandlerName="v_MarginReportStatsRowChangeEventHandler" msprop:Generator_RowDeletedName="v_MarginReportStatsRowDeleted" msprop:Generator_UserTableName="v_MarginReportStats" msprop:Generator_RowChangedName="v_MarginReportStatsRowChanged" msprop:Generator_RowEvArgName="v_MarginReportStatsRowChangeEvent" msprop:Generator_RowClassName="v_MarginReportStatsRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="FromDate" msprop:Generator_ColumnVarNameInTable="columnFromDate" msprop:Generator_ColumnPropNameInRow="FromDate" msprop:Generator_ColumnPropNameInTable="FromDateColumn" msprop:Generator_UserColumnName="FromDate" type="xs:dateTime" minOccurs="0" />
|
||||
<xs:element name="ToDate" msprop:Generator_ColumnVarNameInTable="columnToDate" msprop:Generator_ColumnPropNameInRow="ToDate" msprop:Generator_ColumnPropNameInTable="ToDateColumn" msprop:Generator_UserColumnName="ToDate" type="xs:dateTime" minOccurs="0" />
|
||||
<xs:element name="NumOrderRows" msprop:Generator_ColumnVarNameInTable="columnNumOrderRows" msprop:Generator_ColumnPropNameInRow="NumOrderRows" msprop:Generator_ColumnPropNameInTable="NumOrderRowsColumn" msprop:Generator_UserColumnName="NumOrderRows" type="xs:int" minOccurs="0" />
|
||||
<xs:element name="NumOrders" msprop:Generator_ColumnVarNameInTable="columnNumOrders" msprop:Generator_ColumnPropNameInRow="NumOrders" msprop:Generator_ColumnPropNameInTable="NumOrdersColumn" msprop:Generator_UserColumnName="NumOrders" type="xs:int" minOccurs="0" />
|
||||
<xs:element name="NumItem" msprop:Generator_ColumnVarNameInTable="columnNumItem" msprop:Generator_ColumnPropNameInRow="NumItem" msprop:Generator_ColumnPropNameInTable="NumItemColumn" msprop:Generator_UserColumnName="NumItem" type="xs:int" minOccurs="0" />
|
||||
<xs:element name="NumClients" msprop:Generator_ColumnVarNameInTable="columnNumClients" msprop:Generator_ColumnPropNameInRow="NumClients" msprop:Generator_ColumnPropNameInTable="NumClientsColumn" msprop:Generator_UserColumnName="NumClients" type="xs:int" minOccurs="0" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
|
||||
|
||||
+12
-11
@@ -4,18 +4,19 @@
|
||||
Changes to this file may cause incorrect behavior and will be lost if
|
||||
the code is regenerated.
|
||||
</autogenerated>-->
|
||||
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="-10" 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="84" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||
<Shapes>
|
||||
<Shape ID="DesignTable:v_selClient" ZOrder="10" X="164" Y="164" Height="134" Width="205" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_selItems" ZOrder="9" X="506" Y="657" Height="134" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_selRawMat" ZOrder="8" X="239" Y="585" Height="134" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_selCons" ZOrder="7" X="844" Y="518" Height="115" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_selIncoterms" ZOrder="6" X="552" Y="476" Height="115" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:ReportPrintTicket" ZOrder="5" X="786" Y="162" Height="248" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
|
||||
<Shape ID="DesignTable:Offers4Item" ZOrder="4" X="817" Y="748" Height="134" Width="214" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:v_selPackage" ZOrder="3" X="136" Y="450" Height="115" Width="220" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_selPlant" ZOrder="2" X="509" Y="312" Height="115" Width="202" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:PickListTrad" ZOrder="1" X="118" Y="797" Height="115" Width="183" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_selClient" ZOrder="11" X="164" Y="164" Height="134" Width="205" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_selItems" ZOrder="10" X="506" Y="657" Height="134" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_selRawMat" ZOrder="9" X="239" Y="585" Height="134" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_selCons" ZOrder="8" X="844" Y="518" Height="115" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_selIncoterms" ZOrder="7" X="552" Y="476" Height="115" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:ReportPrintTicket" ZOrder="6" X="786" Y="162" Height="248" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
|
||||
<Shape ID="DesignTable:Offers4Item" ZOrder="5" X="817" Y="748" Height="134" Width="214" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:v_selPackage" ZOrder="4" X="136" Y="450" Height="115" Width="220" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_selPlant" ZOrder="3" X="509" Y="312" Height="115" Width="202" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:PickListTrad" ZOrder="2" X="118" Y="797" Height="115" Width="183" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_MarginReportStats" ZOrder="1" X="461" Y="875" Height="191" Width="267" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
|
||||
</Shapes>
|
||||
<Connectors />
|
||||
</DiagramLayout>
|
||||
Generated
+742
@@ -44,6 +44,8 @@ namespace C2P_Data {
|
||||
|
||||
private PickListTradDataTable tablePickListTrad;
|
||||
|
||||
private v_MarginReportStatsDataTable tablev_MarginReportStats;
|
||||
|
||||
private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -102,6 +104,9 @@ namespace C2P_Data {
|
||||
if ((ds.Tables["PickListTrad"] != null)) {
|
||||
base.Tables.Add(new PickListTradDataTable(ds.Tables["PickListTrad"]));
|
||||
}
|
||||
if ((ds.Tables["v_MarginReportStats"] != null)) {
|
||||
base.Tables.Add(new v_MarginReportStatsDataTable(ds.Tables["v_MarginReportStats"]));
|
||||
}
|
||||
this.DataSetName = ds.DataSetName;
|
||||
this.Prefix = ds.Prefix;
|
||||
this.Namespace = ds.Namespace;
|
||||
@@ -220,6 +225,16 @@ namespace C2P_Data {
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Browsable(false)]
|
||||
[global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
|
||||
public v_MarginReportStatsDataTable v_MarginReportStats {
|
||||
get {
|
||||
return this.tablev_MarginReportStats;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.BrowsableAttribute(true)]
|
||||
@@ -317,6 +332,9 @@ namespace C2P_Data {
|
||||
if ((ds.Tables["PickListTrad"] != null)) {
|
||||
base.Tables.Add(new PickListTradDataTable(ds.Tables["PickListTrad"]));
|
||||
}
|
||||
if ((ds.Tables["v_MarginReportStats"] != null)) {
|
||||
base.Tables.Add(new v_MarginReportStatsDataTable(ds.Tables["v_MarginReportStats"]));
|
||||
}
|
||||
this.DataSetName = ds.DataSetName;
|
||||
this.Prefix = ds.Prefix;
|
||||
this.Namespace = ds.Namespace;
|
||||
@@ -410,6 +428,12 @@ namespace C2P_Data {
|
||||
this.tablePickListTrad.InitVars();
|
||||
}
|
||||
}
|
||||
this.tablev_MarginReportStats = ((v_MarginReportStatsDataTable)(base.Tables["v_MarginReportStats"]));
|
||||
if ((initTable == true)) {
|
||||
if ((this.tablev_MarginReportStats != null)) {
|
||||
this.tablev_MarginReportStats.InitVars();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -440,6 +464,8 @@ namespace C2P_Data {
|
||||
base.Tables.Add(this.tablev_selPlant);
|
||||
this.tablePickListTrad = new PickListTradDataTable();
|
||||
base.Tables.Add(this.tablePickListTrad);
|
||||
this.tablev_MarginReportStats = new v_MarginReportStatsDataTable();
|
||||
base.Tables.Add(this.tablev_MarginReportStats);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -502,6 +528,12 @@ namespace C2P_Data {
|
||||
return false;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
private bool ShouldSerializev_MarginReportStats() {
|
||||
return false;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
|
||||
@@ -587,6 +619,9 @@ namespace C2P_Data {
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public delegate void PickListTradRowChangeEventHandler(object sender, PickListTradRowChangeEvent e);
|
||||
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public delegate void v_MarginReportStatsRowChangeEventHandler(object sender, v_MarginReportStatsRowChangeEvent e);
|
||||
|
||||
/// <summary>
|
||||
///Represents the strongly named DataTable class.
|
||||
///</summary>
|
||||
@@ -3406,6 +3441,323 @@ namespace C2P_Data {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///Represents the strongly named DataTable class.
|
||||
///</summary>
|
||||
[global::System.Serializable()]
|
||||
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
|
||||
public partial class v_MarginReportStatsDataTable : global::System.Data.TypedTableBase<v_MarginReportStatsRow> {
|
||||
|
||||
private global::System.Data.DataColumn columnFromDate;
|
||||
|
||||
private global::System.Data.DataColumn columnToDate;
|
||||
|
||||
private global::System.Data.DataColumn columnNumOrderRows;
|
||||
|
||||
private global::System.Data.DataColumn columnNumOrders;
|
||||
|
||||
private global::System.Data.DataColumn columnNumItem;
|
||||
|
||||
private global::System.Data.DataColumn columnNumClients;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public v_MarginReportStatsDataTable() {
|
||||
this.TableName = "v_MarginReportStats";
|
||||
this.BeginInit();
|
||||
this.InitClass();
|
||||
this.EndInit();
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
internal v_MarginReportStatsDataTable(global::System.Data.DataTable table) {
|
||||
this.TableName = table.TableName;
|
||||
if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
|
||||
this.CaseSensitive = table.CaseSensitive;
|
||||
}
|
||||
if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
|
||||
this.Locale = table.Locale;
|
||||
}
|
||||
if ((table.Namespace != table.DataSet.Namespace)) {
|
||||
this.Namespace = table.Namespace;
|
||||
}
|
||||
this.Prefix = table.Prefix;
|
||||
this.MinimumCapacity = table.MinimumCapacity;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
protected v_MarginReportStatsDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
|
||||
base(info, context) {
|
||||
this.InitVars();
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public global::System.Data.DataColumn FromDateColumn {
|
||||
get {
|
||||
return this.columnFromDate;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public global::System.Data.DataColumn ToDateColumn {
|
||||
get {
|
||||
return this.columnToDate;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public global::System.Data.DataColumn NumOrderRowsColumn {
|
||||
get {
|
||||
return this.columnNumOrderRows;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public global::System.Data.DataColumn NumOrdersColumn {
|
||||
get {
|
||||
return this.columnNumOrders;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public global::System.Data.DataColumn NumItemColumn {
|
||||
get {
|
||||
return this.columnNumItem;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public global::System.Data.DataColumn NumClientsColumn {
|
||||
get {
|
||||
return this.columnNumClients;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Browsable(false)]
|
||||
public int Count {
|
||||
get {
|
||||
return this.Rows.Count;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public v_MarginReportStatsRow this[int index] {
|
||||
get {
|
||||
return ((v_MarginReportStatsRow)(this.Rows[index]));
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public event v_MarginReportStatsRowChangeEventHandler v_MarginReportStatsRowChanging;
|
||||
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public event v_MarginReportStatsRowChangeEventHandler v_MarginReportStatsRowChanged;
|
||||
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public event v_MarginReportStatsRowChangeEventHandler v_MarginReportStatsRowDeleting;
|
||||
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public event v_MarginReportStatsRowChangeEventHandler v_MarginReportStatsRowDeleted;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public void Addv_MarginReportStatsRow(v_MarginReportStatsRow row) {
|
||||
this.Rows.Add(row);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public v_MarginReportStatsRow Addv_MarginReportStatsRow(System.DateTime FromDate, System.DateTime ToDate, int NumOrderRows, int NumOrders, int NumItem, int NumClients) {
|
||||
v_MarginReportStatsRow rowv_MarginReportStatsRow = ((v_MarginReportStatsRow)(this.NewRow()));
|
||||
object[] columnValuesArray = new object[] {
|
||||
FromDate,
|
||||
ToDate,
|
||||
NumOrderRows,
|
||||
NumOrders,
|
||||
NumItem,
|
||||
NumClients};
|
||||
rowv_MarginReportStatsRow.ItemArray = columnValuesArray;
|
||||
this.Rows.Add(rowv_MarginReportStatsRow);
|
||||
return rowv_MarginReportStatsRow;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public override global::System.Data.DataTable Clone() {
|
||||
v_MarginReportStatsDataTable cln = ((v_MarginReportStatsDataTable)(base.Clone()));
|
||||
cln.InitVars();
|
||||
return cln;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
protected override global::System.Data.DataTable CreateInstance() {
|
||||
return new v_MarginReportStatsDataTable();
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
internal void InitVars() {
|
||||
this.columnFromDate = base.Columns["FromDate"];
|
||||
this.columnToDate = base.Columns["ToDate"];
|
||||
this.columnNumOrderRows = base.Columns["NumOrderRows"];
|
||||
this.columnNumOrders = base.Columns["NumOrders"];
|
||||
this.columnNumItem = base.Columns["NumItem"];
|
||||
this.columnNumClients = base.Columns["NumClients"];
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
private void InitClass() {
|
||||
this.columnFromDate = new global::System.Data.DataColumn("FromDate", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnFromDate);
|
||||
this.columnToDate = new global::System.Data.DataColumn("ToDate", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnToDate);
|
||||
this.columnNumOrderRows = new global::System.Data.DataColumn("NumOrderRows", typeof(int), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnNumOrderRows);
|
||||
this.columnNumOrders = new global::System.Data.DataColumn("NumOrders", typeof(int), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnNumOrders);
|
||||
this.columnNumItem = new global::System.Data.DataColumn("NumItem", typeof(int), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnNumItem);
|
||||
this.columnNumClients = new global::System.Data.DataColumn("NumClients", typeof(int), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnNumClients);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public v_MarginReportStatsRow Newv_MarginReportStatsRow() {
|
||||
return ((v_MarginReportStatsRow)(this.NewRow()));
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
|
||||
return new v_MarginReportStatsRow(builder);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
protected override global::System.Type GetRowType() {
|
||||
return typeof(v_MarginReportStatsRow);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
|
||||
base.OnRowChanged(e);
|
||||
if ((this.v_MarginReportStatsRowChanged != null)) {
|
||||
this.v_MarginReportStatsRowChanged(this, new v_MarginReportStatsRowChangeEvent(((v_MarginReportStatsRow)(e.Row)), e.Action));
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
|
||||
base.OnRowChanging(e);
|
||||
if ((this.v_MarginReportStatsRowChanging != null)) {
|
||||
this.v_MarginReportStatsRowChanging(this, new v_MarginReportStatsRowChangeEvent(((v_MarginReportStatsRow)(e.Row)), e.Action));
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
|
||||
base.OnRowDeleted(e);
|
||||
if ((this.v_MarginReportStatsRowDeleted != null)) {
|
||||
this.v_MarginReportStatsRowDeleted(this, new v_MarginReportStatsRowChangeEvent(((v_MarginReportStatsRow)(e.Row)), e.Action));
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
|
||||
base.OnRowDeleting(e);
|
||||
if ((this.v_MarginReportStatsRowDeleting != null)) {
|
||||
this.v_MarginReportStatsRowDeleting(this, new v_MarginReportStatsRowChangeEvent(((v_MarginReportStatsRow)(e.Row)), e.Action));
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public void Removev_MarginReportStatsRow(v_MarginReportStatsRow row) {
|
||||
this.Rows.Remove(row);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
|
||||
global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
|
||||
global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
|
||||
DS_Utility ds = new DS_Utility();
|
||||
global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
|
||||
any1.Namespace = "http://www.w3.org/2001/XMLSchema";
|
||||
any1.MinOccurs = new decimal(0);
|
||||
any1.MaxOccurs = decimal.MaxValue;
|
||||
any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
|
||||
sequence.Items.Add(any1);
|
||||
global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
|
||||
any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
|
||||
any2.MinOccurs = new decimal(1);
|
||||
any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
|
||||
sequence.Items.Add(any2);
|
||||
global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
|
||||
attribute1.Name = "namespace";
|
||||
attribute1.FixedValue = ds.Namespace;
|
||||
type.Attributes.Add(attribute1);
|
||||
global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
|
||||
attribute2.Name = "tableTypeName";
|
||||
attribute2.FixedValue = "v_MarginReportStatsDataTable";
|
||||
type.Attributes.Add(attribute2);
|
||||
type.Particle = sequence;
|
||||
global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
|
||||
if (xs.Contains(dsSchema.TargetNamespace)) {
|
||||
global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
|
||||
global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
|
||||
try {
|
||||
global::System.Xml.Schema.XmlSchema schema = null;
|
||||
dsSchema.Write(s1);
|
||||
for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
|
||||
schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
|
||||
s2.SetLength(0);
|
||||
schema.Write(s2);
|
||||
if ((s1.Length == s2.Length)) {
|
||||
s1.Position = 0;
|
||||
s2.Position = 0;
|
||||
for (; ((s1.Position != s1.Length)
|
||||
&& (s1.ReadByte() == s2.ReadByte())); ) {
|
||||
;
|
||||
}
|
||||
if ((s1.Position == s1.Length)) {
|
||||
return type;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
finally {
|
||||
if ((s1 != null)) {
|
||||
s1.Close();
|
||||
}
|
||||
if ((s2 != null)) {
|
||||
s2.Close();
|
||||
}
|
||||
}
|
||||
}
|
||||
xs.Add(dsSchema);
|
||||
return type;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///Represents strongly named DataRow class.
|
||||
///</summary>
|
||||
@@ -3967,6 +4319,189 @@ namespace C2P_Data {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///Represents strongly named DataRow class.
|
||||
///</summary>
|
||||
public partial class v_MarginReportStatsRow : global::System.Data.DataRow {
|
||||
|
||||
private v_MarginReportStatsDataTable tablev_MarginReportStats;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
internal v_MarginReportStatsRow(global::System.Data.DataRowBuilder rb) :
|
||||
base(rb) {
|
||||
this.tablev_MarginReportStats = ((v_MarginReportStatsDataTable)(this.Table));
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public System.DateTime FromDate {
|
||||
get {
|
||||
try {
|
||||
return ((global::System.DateTime)(this[this.tablev_MarginReportStats.FromDateColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("The value for column \'FromDate\' in table \'v_MarginReportStats\' is DBNull.", e);
|
||||
}
|
||||
}
|
||||
set {
|
||||
this[this.tablev_MarginReportStats.FromDateColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public System.DateTime ToDate {
|
||||
get {
|
||||
try {
|
||||
return ((global::System.DateTime)(this[this.tablev_MarginReportStats.ToDateColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("The value for column \'ToDate\' in table \'v_MarginReportStats\' is DBNull.", e);
|
||||
}
|
||||
}
|
||||
set {
|
||||
this[this.tablev_MarginReportStats.ToDateColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public int NumOrderRows {
|
||||
get {
|
||||
try {
|
||||
return ((int)(this[this.tablev_MarginReportStats.NumOrderRowsColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("The value for column \'NumOrderRows\' in table \'v_MarginReportStats\' is DBNull.", e);
|
||||
}
|
||||
}
|
||||
set {
|
||||
this[this.tablev_MarginReportStats.NumOrderRowsColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public int NumOrders {
|
||||
get {
|
||||
try {
|
||||
return ((int)(this[this.tablev_MarginReportStats.NumOrdersColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("The value for column \'NumOrders\' in table \'v_MarginReportStats\' is DBNull.", e);
|
||||
}
|
||||
}
|
||||
set {
|
||||
this[this.tablev_MarginReportStats.NumOrdersColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public int NumItem {
|
||||
get {
|
||||
try {
|
||||
return ((int)(this[this.tablev_MarginReportStats.NumItemColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("The value for column \'NumItem\' in table \'v_MarginReportStats\' is DBNull.", e);
|
||||
}
|
||||
}
|
||||
set {
|
||||
this[this.tablev_MarginReportStats.NumItemColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public int NumClients {
|
||||
get {
|
||||
try {
|
||||
return ((int)(this[this.tablev_MarginReportStats.NumClientsColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("The value for column \'NumClients\' in table \'v_MarginReportStats\' is DBNull.", e);
|
||||
}
|
||||
}
|
||||
set {
|
||||
this[this.tablev_MarginReportStats.NumClientsColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public bool IsFromDateNull() {
|
||||
return this.IsNull(this.tablev_MarginReportStats.FromDateColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public void SetFromDateNull() {
|
||||
this[this.tablev_MarginReportStats.FromDateColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public bool IsToDateNull() {
|
||||
return this.IsNull(this.tablev_MarginReportStats.ToDateColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public void SetToDateNull() {
|
||||
this[this.tablev_MarginReportStats.ToDateColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public bool IsNumOrderRowsNull() {
|
||||
return this.IsNull(this.tablev_MarginReportStats.NumOrderRowsColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public void SetNumOrderRowsNull() {
|
||||
this[this.tablev_MarginReportStats.NumOrderRowsColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public bool IsNumOrdersNull() {
|
||||
return this.IsNull(this.tablev_MarginReportStats.NumOrdersColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public void SetNumOrdersNull() {
|
||||
this[this.tablev_MarginReportStats.NumOrdersColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public bool IsNumItemNull() {
|
||||
return this.IsNull(this.tablev_MarginReportStats.NumItemColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public void SetNumItemNull() {
|
||||
this[this.tablev_MarginReportStats.NumItemColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public bool IsNumClientsNull() {
|
||||
return this.IsNull(this.tablev_MarginReportStats.NumClientsColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public void SetNumClientsNull() {
|
||||
this[this.tablev_MarginReportStats.NumClientsColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///Row event argument class
|
||||
///</summary>
|
||||
@@ -4306,6 +4841,40 @@ namespace C2P_Data {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///Row event argument class
|
||||
///</summary>
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public class v_MarginReportStatsRowChangeEvent : global::System.EventArgs {
|
||||
|
||||
private v_MarginReportStatsRow eventRow;
|
||||
|
||||
private global::System.Data.DataRowAction eventAction;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public v_MarginReportStatsRowChangeEvent(v_MarginReportStatsRow row, global::System.Data.DataRowAction action) {
|
||||
this.eventRow = row;
|
||||
this.eventAction = action;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public v_MarginReportStatsRow Row {
|
||||
get {
|
||||
return this.eventRow;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public global::System.Data.DataRowAction Action {
|
||||
get {
|
||||
return this.eventAction;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
namespace C2P_Data.DS_UtilityTableAdapters {
|
||||
@@ -6455,6 +7024,179 @@ SELECT Ticket, Report, Chiave, UserReq, DataReq, DataPrint FROM ReportPrintTicke
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///Represents the connection and commands used to retrieve and save data.
|
||||
///</summary>
|
||||
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
|
||||
[global::System.ComponentModel.ToolboxItem(true)]
|
||||
[global::System.ComponentModel.DataObjectAttribute(true)]
|
||||
[global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
|
||||
", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
public partial class v_MarginReportStatsTableAdapter : global::System.ComponentModel.Component {
|
||||
|
||||
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
|
||||
|
||||
private global::System.Data.SqlClient.SqlConnection _connection;
|
||||
|
||||
private global::System.Data.SqlClient.SqlTransaction _transaction;
|
||||
|
||||
private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
|
||||
|
||||
private bool _clearBeforeFill;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public v_MarginReportStatsTableAdapter() {
|
||||
this.ClearBeforeFill = true;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
|
||||
get {
|
||||
if ((this._adapter == null)) {
|
||||
this.InitAdapter();
|
||||
}
|
||||
return this._adapter;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
internal global::System.Data.SqlClient.SqlConnection Connection {
|
||||
get {
|
||||
if ((this._connection == null)) {
|
||||
this.InitConnection();
|
||||
}
|
||||
return this._connection;
|
||||
}
|
||||
set {
|
||||
this._connection = value;
|
||||
if ((this.Adapter.InsertCommand != null)) {
|
||||
this.Adapter.InsertCommand.Connection = value;
|
||||
}
|
||||
if ((this.Adapter.DeleteCommand != null)) {
|
||||
this.Adapter.DeleteCommand.Connection = value;
|
||||
}
|
||||
if ((this.Adapter.UpdateCommand != null)) {
|
||||
this.Adapter.UpdateCommand.Connection = value;
|
||||
}
|
||||
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
|
||||
if ((this.CommandCollection[i] != null)) {
|
||||
((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
internal global::System.Data.SqlClient.SqlTransaction Transaction {
|
||||
get {
|
||||
return this._transaction;
|
||||
}
|
||||
set {
|
||||
this._transaction = value;
|
||||
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
|
||||
this.CommandCollection[i].Transaction = this._transaction;
|
||||
}
|
||||
if (((this.Adapter != null)
|
||||
&& (this.Adapter.DeleteCommand != null))) {
|
||||
this.Adapter.DeleteCommand.Transaction = this._transaction;
|
||||
}
|
||||
if (((this.Adapter != null)
|
||||
&& (this.Adapter.InsertCommand != null))) {
|
||||
this.Adapter.InsertCommand.Transaction = this._transaction;
|
||||
}
|
||||
if (((this.Adapter != null)
|
||||
&& (this.Adapter.UpdateCommand != null))) {
|
||||
this.Adapter.UpdateCommand.Transaction = this._transaction;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
|
||||
get {
|
||||
if ((this._commandCollection == null)) {
|
||||
this.InitCommandCollection();
|
||||
}
|
||||
return this._commandCollection;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public bool ClearBeforeFill {
|
||||
get {
|
||||
return this._clearBeforeFill;
|
||||
}
|
||||
set {
|
||||
this._clearBeforeFill = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
private void InitAdapter() {
|
||||
this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
|
||||
global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
|
||||
tableMapping.SourceTable = "Table";
|
||||
tableMapping.DataSetTable = "v_MarginReportStats";
|
||||
tableMapping.ColumnMappings.Add("FromDate", "FromDate");
|
||||
tableMapping.ColumnMappings.Add("ToDate", "ToDate");
|
||||
tableMapping.ColumnMappings.Add("NumOrderRows", "NumOrderRows");
|
||||
tableMapping.ColumnMappings.Add("NumOrders", "NumOrders");
|
||||
tableMapping.ColumnMappings.Add("NumItem", "NumItem");
|
||||
tableMapping.ColumnMappings.Add("NumClients", "NumClients");
|
||||
this._adapter.TableMappings.Add(tableMapping);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
private void InitConnection() {
|
||||
this._connection = new global::System.Data.SqlClient.SqlConnection();
|
||||
this._connection.ConnectionString = global::C2P_Data.Properties.Settings.Default.Proxima_C2PConnectionString;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
private void InitCommandCollection() {
|
||||
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
|
||||
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[0].Connection = this.Connection;
|
||||
this._commandCollection[0].CommandText = "SELECT FromDate, ToDate, NumOrderRows, NumOrders, NumItem, NumClients FROM dbo.v_" +
|
||||
"MarginReportStats";
|
||||
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
|
||||
public virtual int Fill(DS_Utility.v_MarginReportStatsDataTable dataTable) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[0];
|
||||
if ((this.ClearBeforeFill == true)) {
|
||||
dataTable.Clear();
|
||||
}
|
||||
int returnValue = this.Adapter.Fill(dataTable);
|
||||
return returnValue;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
|
||||
public virtual DS_Utility.v_MarginReportStatsDataTable GetData() {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[0];
|
||||
DS_Utility.v_MarginReportStatsDataTable dataTable = new DS_Utility.v_MarginReportStatsDataTable();
|
||||
this.Adapter.Fill(dataTable);
|
||||
return dataTable;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios
|
||||
///</summary>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user