inserita scelta data listino
This commit is contained in:
+11
-4
@@ -12,11 +12,18 @@
|
||||
<h4><%: traduci("StdCostList") %></h4>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<div class="row">
|
||||
<div class="col-xs-6">
|
||||
<asp:DropDownList ID="ddlData" runat="server" DataSourceID="odsDate" DataTextField="DataRif" DataValueField="DataRif" AppendDataBoundItems="True" AutoPostBack="True" OnSelectedIndexChanged="ddlData_SelectedIndexChanged">
|
||||
<asp:ListItem Text="Select" Value="" />
|
||||
</asp:DropDownList>
|
||||
<asp:ObjectDataSource ID="odsDate" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="C2P_Data.DS_UtilityTableAdapters.v_dateStdCostListTableAdapter"></asp:ObjectDataSource>
|
||||
</div>
|
||||
<div class="col-xs-6">
|
||||
btn x generare nuovo in data odierna?!? come MarRep x ricalcolo a step...
|
||||
|
||||
Export report in formato tabellare delle righe del dettalgio di costo da vista v_StdCostList, con elenco tendina listini disponibili (if any)
|
||||
<br />
|
||||
btn x generare nuovo in data odierna?!? come MarRep x ricalcolo a step...
|
||||
<br />
|
||||
</div>
|
||||
</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; width: 100%; height: 500px;"></iframe>
|
||||
|
||||
+22
-2
@@ -12,11 +12,31 @@ namespace C2P
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!Page.IsPostBack)
|
||||
fixReport();
|
||||
}
|
||||
|
||||
private void fixReport()
|
||||
{
|
||||
// se ho un valore data valido seleziono, altrimenti no...
|
||||
if (ddlData.SelectedValue != "")
|
||||
{
|
||||
// imposto iframe! con tutti i possibili valori di URL
|
||||
repView.Src = string.Format(@"{0}/StdCostList.aspx?DataRif={1}&lingua={2}", memLayer.ML.confReadString("reportsUrl"), Request.QueryString["DataRif"], user_std.UtSn.lingua);
|
||||
repView.Src = string.Format(@"{0}/StdCostList.aspx?DataRif={1}&lingua={2}", memLayer.ML.confReadString("reportsUrl"), ddlData.SelectedValue, user_std.UtSn.lingua);
|
||||
repView.Visible = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
repView.Visible = false;
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// cambio data visualizzata
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void ddlData_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
fixReport();
|
||||
}
|
||||
}
|
||||
}
|
||||
Generated
+18
@@ -12,6 +12,24 @@ namespace C2P {
|
||||
|
||||
public partial class StdCostList {
|
||||
|
||||
/// <summary>
|
||||
/// ddlData 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.DropDownList ddlData;
|
||||
|
||||
/// <summary>
|
||||
/// odsDate 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 odsDate;
|
||||
|
||||
/// <summary>
|
||||
/// repView control.
|
||||
/// </summary>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Generated
+48
-172
@@ -7662,7 +7662,7 @@ namespace C2P_Data {
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public StdCostListRow AddStdCostListRow(System.DateTime DataRif, string Class01, string Class02, string CodItem, string RawMat, string CodPlant, string CodDiesGroup, string CodPackag, int batchQty, string CodInco, decimal RawMatFullCost, int FVC, int FullCost) {
|
||||
public StdCostListRow AddStdCostListRow(System.DateTime DataRif, string Class01, string Class02, string CodItem, string RawMat, string CodPlant, string CodDiesGroup, string CodPackag, int batchQty, string CodInco, decimal RawMatFullCost, decimal FVC, decimal FullCost) {
|
||||
StdCostListRow rowStdCostListRow = ((StdCostListRow)(this.NewRow()));
|
||||
object[] columnValuesArray = new object[] {
|
||||
DataRif,
|
||||
@@ -7740,9 +7740,9 @@ namespace C2P_Data {
|
||||
base.Columns.Add(this.columnCodInco);
|
||||
this.columnRawMatFullCost = new global::System.Data.DataColumn("RawMatFullCost", typeof(decimal), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnRawMatFullCost);
|
||||
this.columnFVC = new global::System.Data.DataColumn("FVC", typeof(int), null, global::System.Data.MappingType.Element);
|
||||
this.columnFVC = new global::System.Data.DataColumn("FVC", typeof(decimal), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnFVC);
|
||||
this.columnFullCost = new global::System.Data.DataColumn("FullCost", typeof(int), null, global::System.Data.MappingType.Element);
|
||||
this.columnFullCost = new global::System.Data.DataColumn("FullCost", typeof(decimal), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnFullCost);
|
||||
this.columnDataRif.ReadOnly = true;
|
||||
this.columnClass01.AllowDBNull = false;
|
||||
@@ -7751,20 +7751,27 @@ namespace C2P_Data {
|
||||
this.columnClass02.MaxLength = 50;
|
||||
this.columnCodItem.AllowDBNull = false;
|
||||
this.columnCodItem.MaxLength = 50;
|
||||
this.columnRawMat.AllowDBNull = false;
|
||||
this.columnRawMat.ReadOnly = true;
|
||||
this.columnRawMat.MaxLength = 50;
|
||||
this.columnCodPlant.AllowDBNull = false;
|
||||
this.columnCodPlant.ReadOnly = true;
|
||||
this.columnCodPlant.MaxLength = 1;
|
||||
this.columnCodDiesGroup.AllowDBNull = false;
|
||||
this.columnCodDiesGroup.ReadOnly = true;
|
||||
this.columnCodDiesGroup.MaxLength = 1;
|
||||
this.columnCodPackag.AllowDBNull = false;
|
||||
this.columnCodPackag.ReadOnly = true;
|
||||
this.columnCodPackag.MaxLength = 1;
|
||||
this.columnbatchQty.AllowDBNull = false;
|
||||
this.columnbatchQty.ReadOnly = true;
|
||||
this.columnCodInco.AllowDBNull = false;
|
||||
this.columnCodInco.ReadOnly = true;
|
||||
this.columnCodInco.MaxLength = 3;
|
||||
this.columnRawMatFullCost.AllowDBNull = false;
|
||||
this.columnRawMatFullCost.ReadOnly = true;
|
||||
this.columnFVC.ReadOnly = true;
|
||||
this.columnFullCost.ReadOnly = true;
|
||||
this.columnFVC.AllowDBNull = false;
|
||||
this.columnFullCost.AllowDBNull = false;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -12952,12 +12959,7 @@ namespace C2P_Data {
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public string RawMat {
|
||||
get {
|
||||
try {
|
||||
return ((string)(this[this.tableStdCostList.RawMatColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("The value for column \'RawMat\' in table \'StdCostList\' is DBNull.", e);
|
||||
}
|
||||
return ((string)(this[this.tableStdCostList.RawMatColumn]));
|
||||
}
|
||||
set {
|
||||
this[this.tableStdCostList.RawMatColumn] = value;
|
||||
@@ -12968,12 +12970,7 @@ namespace C2P_Data {
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public string CodPlant {
|
||||
get {
|
||||
try {
|
||||
return ((string)(this[this.tableStdCostList.CodPlantColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("The value for column \'CodPlant\' in table \'StdCostList\' is DBNull.", e);
|
||||
}
|
||||
return ((string)(this[this.tableStdCostList.CodPlantColumn]));
|
||||
}
|
||||
set {
|
||||
this[this.tableStdCostList.CodPlantColumn] = value;
|
||||
@@ -12984,12 +12981,7 @@ namespace C2P_Data {
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public string CodDiesGroup {
|
||||
get {
|
||||
try {
|
||||
return ((string)(this[this.tableStdCostList.CodDiesGroupColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("The value for column \'CodDiesGroup\' in table \'StdCostList\' is DBNull.", e);
|
||||
}
|
||||
return ((string)(this[this.tableStdCostList.CodDiesGroupColumn]));
|
||||
}
|
||||
set {
|
||||
this[this.tableStdCostList.CodDiesGroupColumn] = value;
|
||||
@@ -13000,12 +12992,7 @@ namespace C2P_Data {
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public string CodPackag {
|
||||
get {
|
||||
try {
|
||||
return ((string)(this[this.tableStdCostList.CodPackagColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("The value for column \'CodPackag\' in table \'StdCostList\' is DBNull.", e);
|
||||
}
|
||||
return ((string)(this[this.tableStdCostList.CodPackagColumn]));
|
||||
}
|
||||
set {
|
||||
this[this.tableStdCostList.CodPackagColumn] = value;
|
||||
@@ -13016,12 +13003,7 @@ namespace C2P_Data {
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public int batchQty {
|
||||
get {
|
||||
try {
|
||||
return ((int)(this[this.tableStdCostList.batchQtyColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("The value for column \'batchQty\' in table \'StdCostList\' is DBNull.", e);
|
||||
}
|
||||
return ((int)(this[this.tableStdCostList.batchQtyColumn]));
|
||||
}
|
||||
set {
|
||||
this[this.tableStdCostList.batchQtyColumn] = value;
|
||||
@@ -13032,12 +13014,7 @@ namespace C2P_Data {
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public string CodInco {
|
||||
get {
|
||||
try {
|
||||
return ((string)(this[this.tableStdCostList.CodIncoColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("The value for column \'CodInco\' in table \'StdCostList\' is DBNull.", e);
|
||||
}
|
||||
return ((string)(this[this.tableStdCostList.CodIncoColumn]));
|
||||
}
|
||||
set {
|
||||
this[this.tableStdCostList.CodIncoColumn] = value;
|
||||
@@ -13048,12 +13025,7 @@ namespace C2P_Data {
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public decimal RawMatFullCost {
|
||||
get {
|
||||
try {
|
||||
return ((decimal)(this[this.tableStdCostList.RawMatFullCostColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("The value for column \'RawMatFullCost\' in table \'StdCostList\' is DBNull.", e);
|
||||
}
|
||||
return ((decimal)(this[this.tableStdCostList.RawMatFullCostColumn]));
|
||||
}
|
||||
set {
|
||||
this[this.tableStdCostList.RawMatFullCostColumn] = value;
|
||||
@@ -13062,14 +13034,9 @@ namespace C2P_Data {
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public int FVC {
|
||||
public decimal FVC {
|
||||
get {
|
||||
try {
|
||||
return ((int)(this[this.tableStdCostList.FVCColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("The value for column \'FVC\' in table \'StdCostList\' is DBNull.", e);
|
||||
}
|
||||
return ((decimal)(this[this.tableStdCostList.FVCColumn]));
|
||||
}
|
||||
set {
|
||||
this[this.tableStdCostList.FVCColumn] = value;
|
||||
@@ -13078,14 +13045,9 @@ namespace C2P_Data {
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public int FullCost {
|
||||
public decimal FullCost {
|
||||
get {
|
||||
try {
|
||||
return ((int)(this[this.tableStdCostList.FullCostColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("The value for column \'FullCost\' in table \'StdCostList\' is DBNull.", e);
|
||||
}
|
||||
return ((decimal)(this[this.tableStdCostList.FullCostColumn]));
|
||||
}
|
||||
set {
|
||||
this[this.tableStdCostList.FullCostColumn] = value;
|
||||
@@ -13103,114 +13065,6 @@ namespace C2P_Data {
|
||||
public void SetDataRifNull() {
|
||||
this[this.tableStdCostList.DataRifColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public bool IsRawMatNull() {
|
||||
return this.IsNull(this.tableStdCostList.RawMatColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public void SetRawMatNull() {
|
||||
this[this.tableStdCostList.RawMatColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public bool IsCodPlantNull() {
|
||||
return this.IsNull(this.tableStdCostList.CodPlantColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public void SetCodPlantNull() {
|
||||
this[this.tableStdCostList.CodPlantColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public bool IsCodDiesGroupNull() {
|
||||
return this.IsNull(this.tableStdCostList.CodDiesGroupColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public void SetCodDiesGroupNull() {
|
||||
this[this.tableStdCostList.CodDiesGroupColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public bool IsCodPackagNull() {
|
||||
return this.IsNull(this.tableStdCostList.CodPackagColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public void SetCodPackagNull() {
|
||||
this[this.tableStdCostList.CodPackagColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public bool IsbatchQtyNull() {
|
||||
return this.IsNull(this.tableStdCostList.batchQtyColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public void SetbatchQtyNull() {
|
||||
this[this.tableStdCostList.batchQtyColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public bool IsCodIncoNull() {
|
||||
return this.IsNull(this.tableStdCostList.CodIncoColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public void SetCodIncoNull() {
|
||||
this[this.tableStdCostList.CodIncoColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public bool IsRawMatFullCostNull() {
|
||||
return this.IsNull(this.tableStdCostList.RawMatFullCostColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public void SetRawMatFullCostNull() {
|
||||
this[this.tableStdCostList.RawMatFullCostColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public bool IsFVCNull() {
|
||||
return this.IsNull(this.tableStdCostList.FVCColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public void SetFVCNull() {
|
||||
this[this.tableStdCostList.FVCColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public bool IsFullCostNull() {
|
||||
return this.IsNull(this.tableStdCostList.FullCostColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public void SetFullCostNull() {
|
||||
this[this.tableStdCostList.FullCostColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -22372,12 +22226,17 @@ SELECT RawMat, ProcCost, ProcYield, CSR, SSR, SSVA, SSVR, ExtraMatCost, ExtraSer
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
private void InitCommandCollection() {
|
||||
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
|
||||
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2];
|
||||
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[0].Connection = this.Connection;
|
||||
this._commandCollection[0].CommandText = "SELECT DataRif, Class01, Class02, CodItem, RawMat, CodPlant, CodDiesGroup, CodPac" +
|
||||
"kag, batchQty, CodInco, RawMatFullCost, FVC, FullCost FROM dbo.v_StdCostList";
|
||||
this._commandCollection[0].CommandText = "SELECT * FROM v_StdCostList";
|
||||
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
|
||||
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[1].Connection = this.Connection;
|
||||
this._commandCollection[1].CommandText = "dbo.stp_QLR_getByDate";
|
||||
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("@DataRif", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -22403,6 +22262,23 @@ SELECT RawMat, ProcCost, ProcYield, CSR, SSR, SSVA, SSVR, ExtraMatCost, ExtraSer
|
||||
this.Adapter.Fill(dataTable);
|
||||
return dataTable;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
||||
public virtual DS_Quotes.StdCostListDataTable getByDate(global::System.Nullable<global::System.DateTime> DataRif) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[1];
|
||||
if ((DataRif.HasValue == true)) {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = ((System.DateTime)(DataRif.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
||||
}
|
||||
DS_Quotes.StdCostListDataTable dataTable = new DS_Quotes.StdCostListDataTable();
|
||||
this.Adapter.Fill(dataTable);
|
||||
return dataTable;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
+25
-13
@@ -1799,10 +1799,10 @@ SELECT RawMat, ProcCost, ProcYield, CSR, SSR, SSVA, SSVR, ExtraMatCost, ExtraSer
|
||||
</TableAdapter>
|
||||
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="StdCostListTableAdapter" GeneratorDataComponentClassName="StdCostListTableAdapter" Name="StdCostList" UserDataComponentName="StdCostListTableAdapter">
|
||||
<MainSource>
|
||||
<DbSource ConnectionRef="Proxima_C2PConnectionString (Settings)" DbObjectName="Proxima_C2P.dbo.v_StdCostList" 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">
|
||||
<DbSource ConnectionRef="Proxima_C2PConnectionString (Settings)" DbObjectName="Proxima_C2P.dbo.v_StdCostList" 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="false" UserGetMethodName="GetData" UserSourceName="Fill">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>SELECT DataRif, Class01, Class02, CodItem, RawMat, CodPlant, CodDiesGroup, CodPackag, batchQty, CodInco, RawMatFullCost, FVC, FullCost FROM dbo.v_StdCostList</CommandText>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
||||
<CommandText>SELECT * FROM v_StdCostList</CommandText>
|
||||
<Parameters />
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
@@ -1823,7 +1823,19 @@ SELECT RawMat, ProcCost, ProcYield, CSR, SSR, SSVA, SSVR, ExtraMatCost, ExtraSer
|
||||
<Mapping SourceColumn="FVC" DataSetColumn="FVC" />
|
||||
<Mapping SourceColumn="FullCost" DataSetColumn="FullCost" />
|
||||
</Mappings>
|
||||
<Sources />
|
||||
<Sources>
|
||||
<DbSource ConnectionRef="Proxima_C2PConnectionString (Settings)" DbObjectName="Proxima_C2P.dbo.stp_QLR_getByDate" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByDate" GetMethodModifier="Public" GetMethodName="getByDate" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByDate" UserSourceName="getByDate">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_QLR_getByDate</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@DataRif" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
</Sources>
|
||||
</TableAdapter>
|
||||
</Tables>
|
||||
<Sources />
|
||||
@@ -2704,45 +2716,45 @@ SELECT RawMat, ProcCost, ProcYield, CSR, SSR, SSVA, SSVR, ExtraMatCost, ExtraSer
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="RawMat" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnRawMat" msprop:Generator_ColumnPropNameInRow="RawMat" msprop:Generator_ColumnPropNameInTable="RawMatColumn" msprop:Generator_UserColumnName="RawMat" minOccurs="0">
|
||||
<xs:element name="RawMat" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnRawMat" msprop:Generator_ColumnPropNameInRow="RawMat" msprop:Generator_ColumnPropNameInTable="RawMatColumn" msprop:Generator_UserColumnName="RawMat">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="CodPlant" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnCodPlant" msprop:Generator_ColumnPropNameInRow="CodPlant" msprop:Generator_ColumnPropNameInTable="CodPlantColumn" msprop:Generator_UserColumnName="CodPlant" minOccurs="0">
|
||||
<xs:element name="CodPlant" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnCodPlant" msprop:Generator_ColumnPropNameInRow="CodPlant" msprop:Generator_ColumnPropNameInTable="CodPlantColumn" msprop:Generator_UserColumnName="CodPlant">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="1" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="CodDiesGroup" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnCodDiesGroup" msprop:Generator_ColumnPropNameInRow="CodDiesGroup" msprop:Generator_ColumnPropNameInTable="CodDiesGroupColumn" msprop:Generator_UserColumnName="CodDiesGroup" minOccurs="0">
|
||||
<xs:element name="CodDiesGroup" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnCodDiesGroup" msprop:Generator_ColumnPropNameInRow="CodDiesGroup" msprop:Generator_ColumnPropNameInTable="CodDiesGroupColumn" msprop:Generator_UserColumnName="CodDiesGroup">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="1" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="CodPackag" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnCodPackag" msprop:Generator_ColumnPropNameInRow="CodPackag" msprop:Generator_ColumnPropNameInTable="CodPackagColumn" msprop:Generator_UserColumnName="CodPackag" minOccurs="0">
|
||||
<xs:element name="CodPackag" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnCodPackag" msprop:Generator_ColumnPropNameInRow="CodPackag" msprop:Generator_ColumnPropNameInTable="CodPackagColumn" msprop:Generator_UserColumnName="CodPackag">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="1" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="batchQty" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnbatchQty" msprop:Generator_ColumnPropNameInRow="batchQty" msprop:Generator_ColumnPropNameInTable="batchQtyColumn" msprop:Generator_UserColumnName="batchQty" type="xs:int" minOccurs="0" />
|
||||
<xs:element name="CodInco" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnCodInco" msprop:Generator_ColumnPropNameInRow="CodInco" msprop:Generator_ColumnPropNameInTable="CodIncoColumn" msprop:Generator_UserColumnName="CodInco" minOccurs="0">
|
||||
<xs:element name="batchQty" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnbatchQty" msprop:Generator_ColumnPropNameInRow="batchQty" msprop:Generator_ColumnPropNameInTable="batchQtyColumn" msprop:Generator_UserColumnName="batchQty" type="xs:int" />
|
||||
<xs:element name="CodInco" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnCodInco" msprop:Generator_ColumnPropNameInRow="CodInco" msprop:Generator_ColumnPropNameInTable="CodIncoColumn" msprop:Generator_UserColumnName="CodInco">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="3" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="RawMatFullCost" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnRawMatFullCost" msprop:Generator_ColumnPropNameInRow="RawMatFullCost" msprop:Generator_ColumnPropNameInTable="RawMatFullCostColumn" msprop:Generator_UserColumnName="RawMatFullCost" type="xs:decimal" minOccurs="0" />
|
||||
<xs:element name="FVC" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnFVC" msprop:Generator_ColumnPropNameInRow="FVC" msprop:Generator_ColumnPropNameInTable="FVCColumn" msprop:Generator_UserColumnName="FVC" type="xs:int" minOccurs="0" />
|
||||
<xs:element name="FullCost" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnFullCost" msprop:Generator_ColumnPropNameInRow="FullCost" msprop:Generator_ColumnPropNameInTable="FullCostColumn" msprop:Generator_UserColumnName="FullCost" type="xs:int" minOccurs="0" />
|
||||
<xs:element name="RawMatFullCost" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnRawMatFullCost" msprop:Generator_ColumnPropNameInRow="RawMatFullCost" msprop:Generator_ColumnPropNameInTable="RawMatFullCostColumn" msprop:Generator_UserColumnName="RawMatFullCost" type="xs:decimal" />
|
||||
<xs:element name="FVC" msprop:Generator_ColumnVarNameInTable="columnFVC" msprop:Generator_ColumnPropNameInRow="FVC" msprop:Generator_ColumnPropNameInTable="FVCColumn" msprop:Generator_UserColumnName="FVC" type="xs:decimal" />
|
||||
<xs:element name="FullCost" msprop:Generator_ColumnVarNameInTable="columnFullCost" msprop:Generator_ColumnPropNameInRow="FullCost" msprop:Generator_ColumnPropNameInTable="FullCostColumn" msprop:Generator_UserColumnName="FullCost" type="xs:decimal" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
Changes to this file may cause incorrect behavior and will be lost if
|
||||
the code is regenerated.
|
||||
</autogenerated>-->
|
||||
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="351" 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="370" 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:QuoteRM" ZOrder="13" X="122" Y="271" Height="324" Width="264" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
@@ -15,7 +15,7 @@
|
||||
<Shape ID="DesignTable:QuoteFull_Q" ZOrder="3" X="40" Y="606" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:QuoteFull_S" ZOrder="5" X="854" Y="760" Height="230" Width="249" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
|
||||
<Shape ID="DesignTable:RawMatDet" ZOrder="2" X="496" Y="971" Height="267" Width="213" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
|
||||
<Shape ID="DesignTable:StdCostList" ZOrder="1" X="832" Y="1045" Height="305" Width="221" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:StdCostList" ZOrder="1" X="832" Y="1045" Height="324" Width="209" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
</Shapes>
|
||||
<Connectors>
|
||||
<Connector ID="DesignRelation:FK_QuoteRM_QuoteList" ZOrder="15" LineWidth="11">
|
||||
|
||||
@@ -423,6 +423,22 @@ SELECT Ticket, Report, Chiave, UserReq, DataReq, DataPrint FROM ReportPrintTicke
|
||||
</Mappings>
|
||||
<Sources />
|
||||
</TableAdapter>
|
||||
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="v_dateStdCostListTableAdapter" GeneratorDataComponentClassName="v_dateStdCostListTableAdapter" Name="v_dateStdCostList" UserDataComponentName="v_dateStdCostListTableAdapter">
|
||||
<MainSource>
|
||||
<DbSource ConnectionRef="Proxima_C2PConnectionString (Settings)" DbObjectName="Proxima_C2P.dbo.v_dateStdCostList" 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 DataRif FROM dbo.v_dateStdCostList</CommandText>
|
||||
<Parameters />
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
</MainSource>
|
||||
<Mappings>
|
||||
<Mapping SourceColumn="DataRif" DataSetColumn="DataRif" />
|
||||
</Mappings>
|
||||
<Sources />
|
||||
</TableAdapter>
|
||||
</Tables>
|
||||
<Sources />
|
||||
</DataSource>
|
||||
@@ -673,6 +689,13 @@ SELECT Ticket, Report, Chiave, UserReq, DataReq, DataPrint FROM ReportPrintTicke
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="v_dateStdCostList" msprop:Generator_TableClassName="v_dateStdCostListDataTable" msprop:Generator_TableVarName="tablev_dateStdCostList" msprop:Generator_TablePropName="v_dateStdCostList" msprop:Generator_RowDeletingName="v_dateStdCostListRowDeleting" msprop:Generator_RowChangingName="v_dateStdCostListRowChanging" msprop:Generator_RowEvHandlerName="v_dateStdCostListRowChangeEventHandler" msprop:Generator_RowDeletedName="v_dateStdCostListRowDeleted" msprop:Generator_UserTableName="v_dateStdCostList" msprop:Generator_RowChangedName="v_dateStdCostListRowChanged" msprop:Generator_RowEvArgName="v_dateStdCostListRowChangeEvent" msprop:Generator_RowClassName="v_dateStdCostListRow">
|
||||
<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" type="xs:dateTime" minOccurs="0" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
|
||||
|
||||
+15
-14
@@ -4,21 +4,22 @@
|
||||
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="188" 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="-10" 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="13" X="164" Y="164" Height="134" Width="205" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_selItems" ZOrder="12" X="506" Y="657" Height="134" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_selRawMat" ZOrder="11" X="239" Y="585" Height="134" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_selCons" ZOrder="10" X="844" Y="518" Height="115" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_selIncoterms" ZOrder="9" X="552" Y="476" Height="115" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:ReportPrintTicket" ZOrder="8" X="786" Y="162" Height="248" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
|
||||
<Shape ID="DesignTable:Offers4Item" ZOrder="7" X="859" Y="692" Height="134" Width="214" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:v_selPackage" ZOrder="6" X="136" Y="450" Height="115" Width="220" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_selPlant" ZOrder="5" X="509" Y="312" Height="115" Width="202" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:PickListTrad" ZOrder="4" X="118" Y="797" Height="115" Width="183" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_MarginReportStats" ZOrder="3" X="412" Y="834" Height="191" Width="267" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
|
||||
<Shape ID="DesignTable:OrderHist" ZOrder="1" X="771" Y="874" Height="173" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="46" />
|
||||
<Shape ID="DesignTable:v_MarginReportStatsNewData" ZOrder="2" X="74" Y="956" Height="191" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
|
||||
<Shape ID="DesignTable:v_selClient" ZOrder="14" X="164" Y="164" Height="134" Width="205" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_selItems" ZOrder="13" X="506" Y="657" Height="134" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_selRawMat" ZOrder="12" X="239" Y="585" Height="134" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_selCons" ZOrder="11" X="844" Y="518" Height="115" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_selIncoterms" ZOrder="10" X="552" Y="476" Height="115" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:ReportPrintTicket" ZOrder="9" X="786" Y="162" Height="248" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
|
||||
<Shape ID="DesignTable:Offers4Item" ZOrder="8" X="859" Y="692" Height="134" Width="214" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:v_selPackage" ZOrder="7" X="136" Y="450" Height="115" Width="220" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_selPlant" ZOrder="6" X="509" Y="312" Height="115" Width="202" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:PickListTrad" ZOrder="5" X="118" Y="797" Height="115" Width="183" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_MarginReportStats" ZOrder="4" X="412" Y="834" Height="191" Width="267" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
|
||||
<Shape ID="DesignTable:OrderHist" ZOrder="2" X="771" Y="874" Height="173" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="46" />
|
||||
<Shape ID="DesignTable:v_MarginReportStatsNewData" ZOrder="3" X="74" Y="956" Height="191" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
|
||||
<Shape ID="DesignTable:v_dateStdCostList" ZOrder="1" X="503" Y="162" Height="96" Width="247" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="46" />
|
||||
</Shapes>
|
||||
<Connectors />
|
||||
</DiagramLayout>
|
||||
Generated
+527
@@ -50,6 +50,8 @@ namespace C2P_Data {
|
||||
|
||||
private v_MarginReportStatsNewDataDataTable tablev_MarginReportStatsNewData;
|
||||
|
||||
private v_dateStdCostListDataTable tablev_dateStdCostList;
|
||||
|
||||
private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -117,6 +119,9 @@ namespace C2P_Data {
|
||||
if ((ds.Tables["v_MarginReportStatsNewData"] != null)) {
|
||||
base.Tables.Add(new v_MarginReportStatsNewDataDataTable(ds.Tables["v_MarginReportStatsNewData"]));
|
||||
}
|
||||
if ((ds.Tables["v_dateStdCostList"] != null)) {
|
||||
base.Tables.Add(new v_dateStdCostListDataTable(ds.Tables["v_dateStdCostList"]));
|
||||
}
|
||||
this.DataSetName = ds.DataSetName;
|
||||
this.Prefix = ds.Prefix;
|
||||
this.Namespace = ds.Namespace;
|
||||
@@ -265,6 +270,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_dateStdCostListDataTable v_dateStdCostList {
|
||||
get {
|
||||
return this.tablev_dateStdCostList;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.BrowsableAttribute(true)]
|
||||
@@ -371,6 +386,9 @@ namespace C2P_Data {
|
||||
if ((ds.Tables["v_MarginReportStatsNewData"] != null)) {
|
||||
base.Tables.Add(new v_MarginReportStatsNewDataDataTable(ds.Tables["v_MarginReportStatsNewData"]));
|
||||
}
|
||||
if ((ds.Tables["v_dateStdCostList"] != null)) {
|
||||
base.Tables.Add(new v_dateStdCostListDataTable(ds.Tables["v_dateStdCostList"]));
|
||||
}
|
||||
this.DataSetName = ds.DataSetName;
|
||||
this.Prefix = ds.Prefix;
|
||||
this.Namespace = ds.Namespace;
|
||||
@@ -482,6 +500,12 @@ namespace C2P_Data {
|
||||
this.tablev_MarginReportStatsNewData.InitVars();
|
||||
}
|
||||
}
|
||||
this.tablev_dateStdCostList = ((v_dateStdCostListDataTable)(base.Tables["v_dateStdCostList"]));
|
||||
if ((initTable == true)) {
|
||||
if ((this.tablev_dateStdCostList != null)) {
|
||||
this.tablev_dateStdCostList.InitVars();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -518,6 +542,8 @@ namespace C2P_Data {
|
||||
base.Tables.Add(this.tableOrderHist);
|
||||
this.tablev_MarginReportStatsNewData = new v_MarginReportStatsNewDataDataTable();
|
||||
base.Tables.Add(this.tablev_MarginReportStatsNewData);
|
||||
this.tablev_dateStdCostList = new v_dateStdCostListDataTable();
|
||||
base.Tables.Add(this.tablev_dateStdCostList);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -598,6 +624,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_dateStdCostList() {
|
||||
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) {
|
||||
@@ -692,6 +724,9 @@ namespace C2P_Data {
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public delegate void v_MarginReportStatsNewDataRowChangeEventHandler(object sender, v_MarginReportStatsNewDataRowChangeEvent e);
|
||||
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public delegate void v_dateStdCostListRowChangeEventHandler(object sender, v_dateStdCostListRowChangeEvent e);
|
||||
|
||||
/// <summary>
|
||||
///Represents the strongly named DataTable class.
|
||||
///</summary>
|
||||
@@ -4393,6 +4428,254 @@ namespace C2P_Data {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///Represents the strongly named DataTable class.
|
||||
///</summary>
|
||||
[global::System.Serializable()]
|
||||
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
|
||||
public partial class v_dateStdCostListDataTable : global::System.Data.TypedTableBase<v_dateStdCostListRow> {
|
||||
|
||||
private global::System.Data.DataColumn columnDataRif;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public v_dateStdCostListDataTable() {
|
||||
this.TableName = "v_dateStdCostList";
|
||||
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_dateStdCostListDataTable(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_dateStdCostListDataTable(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 DataRifColumn {
|
||||
get {
|
||||
return this.columnDataRif;
|
||||
}
|
||||
}
|
||||
|
||||
[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_dateStdCostListRow this[int index] {
|
||||
get {
|
||||
return ((v_dateStdCostListRow)(this.Rows[index]));
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public event v_dateStdCostListRowChangeEventHandler v_dateStdCostListRowChanging;
|
||||
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public event v_dateStdCostListRowChangeEventHandler v_dateStdCostListRowChanged;
|
||||
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public event v_dateStdCostListRowChangeEventHandler v_dateStdCostListRowDeleting;
|
||||
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public event v_dateStdCostListRowChangeEventHandler v_dateStdCostListRowDeleted;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public void Addv_dateStdCostListRow(v_dateStdCostListRow row) {
|
||||
this.Rows.Add(row);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public v_dateStdCostListRow Addv_dateStdCostListRow(System.DateTime DataRif) {
|
||||
v_dateStdCostListRow rowv_dateStdCostListRow = ((v_dateStdCostListRow)(this.NewRow()));
|
||||
object[] columnValuesArray = new object[] {
|
||||
DataRif};
|
||||
rowv_dateStdCostListRow.ItemArray = columnValuesArray;
|
||||
this.Rows.Add(rowv_dateStdCostListRow);
|
||||
return rowv_dateStdCostListRow;
|
||||
}
|
||||
|
||||
[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_dateStdCostListDataTable cln = ((v_dateStdCostListDataTable)(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_dateStdCostListDataTable();
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
internal void InitVars() {
|
||||
this.columnDataRif = base.Columns["DataRif"];
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
private void InitClass() {
|
||||
this.columnDataRif = new global::System.Data.DataColumn("DataRif", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnDataRif);
|
||||
this.columnDataRif.ReadOnly = true;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public v_dateStdCostListRow Newv_dateStdCostListRow() {
|
||||
return ((v_dateStdCostListRow)(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_dateStdCostListRow(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_dateStdCostListRow);
|
||||
}
|
||||
|
||||
[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_dateStdCostListRowChanged != null)) {
|
||||
this.v_dateStdCostListRowChanged(this, new v_dateStdCostListRowChangeEvent(((v_dateStdCostListRow)(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_dateStdCostListRowChanging != null)) {
|
||||
this.v_dateStdCostListRowChanging(this, new v_dateStdCostListRowChangeEvent(((v_dateStdCostListRow)(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_dateStdCostListRowDeleted != null)) {
|
||||
this.v_dateStdCostListRowDeleted(this, new v_dateStdCostListRowChangeEvent(((v_dateStdCostListRow)(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_dateStdCostListRowDeleting != null)) {
|
||||
this.v_dateStdCostListRowDeleting(this, new v_dateStdCostListRowChangeEvent(((v_dateStdCostListRow)(e.Row)), e.Action));
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public void Removev_dateStdCostListRow(v_dateStdCostListRow 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_dateStdCostListDataTable";
|
||||
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>
|
||||
@@ -5366,6 +5649,49 @@ namespace C2P_Data {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///Represents strongly named DataRow class.
|
||||
///</summary>
|
||||
public partial class v_dateStdCostListRow : global::System.Data.DataRow {
|
||||
|
||||
private v_dateStdCostListDataTable tablev_dateStdCostList;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
internal v_dateStdCostListRow(global::System.Data.DataRowBuilder rb) :
|
||||
base(rb) {
|
||||
this.tablev_dateStdCostList = ((v_dateStdCostListDataTable)(this.Table));
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public System.DateTime DataRif {
|
||||
get {
|
||||
try {
|
||||
return ((global::System.DateTime)(this[this.tablev_dateStdCostList.DataRifColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("The value for column \'DataRif\' in table \'v_dateStdCostList\' is DBNull.", e);
|
||||
}
|
||||
}
|
||||
set {
|
||||
this[this.tablev_dateStdCostList.DataRifColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public bool IsDataRifNull() {
|
||||
return this.IsNull(this.tablev_dateStdCostList.DataRifColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public void SetDataRifNull() {
|
||||
this[this.tablev_dateStdCostList.DataRifColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///Row event argument class
|
||||
///</summary>
|
||||
@@ -5807,6 +6133,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_dateStdCostListRowChangeEvent : global::System.EventArgs {
|
||||
|
||||
private v_dateStdCostListRow 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_dateStdCostListRowChangeEvent(v_dateStdCostListRow 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_dateStdCostListRow 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 {
|
||||
@@ -8627,6 +8987,173 @@ 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_dateStdCostListTableAdapter : 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_dateStdCostListTableAdapter() {
|
||||
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_dateStdCostList";
|
||||
tableMapping.ColumnMappings.Add("DataRif", "DataRif");
|
||||
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 DataRif FROM dbo.v_dateStdCostList";
|
||||
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_dateStdCostListDataTable 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_dateStdCostListDataTable GetData() {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[0];
|
||||
DS_Utility.v_dateStdCostListDataTable dataTable = new DS_Utility.v_dateStdCostListDataTable();
|
||||
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.
Binary file not shown.
Reference in New Issue
Block a user