This commit is contained in:
@@ -92,6 +92,12 @@
|
|||||||
<DependentUpon>CopyableMessageBox.cs</DependentUpon>
|
<DependentUpon>CopyableMessageBox.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Customer.cs" />
|
<Compile Include="Customer.cs" />
|
||||||
|
<Compile Include="FixInvoiceProblems.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="FixInvoiceProblems.Designer.cs">
|
||||||
|
<DependentUpon>FixInvoiceProblems.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
<Compile Include="Integration.cs" />
|
<Compile Include="Integration.cs" />
|
||||||
<Compile Include="InvoiceTemplateBuilder.cs">
|
<Compile Include="InvoiceTemplateBuilder.cs">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
@@ -249,6 +255,9 @@
|
|||||||
<EmbeddedResource Include="CopyableMessageBox.resx">
|
<EmbeddedResource Include="CopyableMessageBox.resx">
|
||||||
<DependentUpon>CopyableMessageBox.cs</DependentUpon>
|
<DependentUpon>CopyableMessageBox.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="FixInvoiceProblems.resx">
|
||||||
|
<DependentUpon>FixInvoiceProblems.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="InvoiceTemplateBuilder.resx">
|
<EmbeddedResource Include="InvoiceTemplateBuilder.resx">
|
||||||
<DependentUpon>InvoiceTemplateBuilder.cs</DependentUpon>
|
<DependentUpon>InvoiceTemplateBuilder.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
|
|||||||
164
AyaNovaQBI/FixInvoiceProblems.Designer.cs
generated
Normal file
164
AyaNovaQBI/FixInvoiceProblems.Designer.cs
generated
Normal file
@@ -0,0 +1,164 @@
|
|||||||
|
namespace AyaNovaQBI
|
||||||
|
{
|
||||||
|
partial class FixInvoiceProblems
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Required designer variable.
|
||||||
|
/// </summary>
|
||||||
|
private System.ComponentModel.IContainer components = null;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Clean up any resources being used.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||||
|
protected override void Dispose(bool disposing)
|
||||||
|
{
|
||||||
|
if (disposing && (components != null))
|
||||||
|
{
|
||||||
|
components.Dispose();
|
||||||
|
}
|
||||||
|
base.Dispose(disposing);
|
||||||
|
}
|
||||||
|
|
||||||
|
#region Windows Form Designer generated code
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Required method for Designer support - do not modify
|
||||||
|
/// the contents of this method with the code editor.
|
||||||
|
/// </summary>
|
||||||
|
private void InitializeComponent()
|
||||||
|
{
|
||||||
|
this.grid = new System.Windows.Forms.DataGridView();
|
||||||
|
this.btnOK = new System.Windows.Forms.Button();
|
||||||
|
this.Object = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.Fix = new System.Windows.Forms.DataGridViewButtonColumn();
|
||||||
|
this.Name = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.Problem = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.ObjectId = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.AyaPrice = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.QBPrice = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.WorkOrderItemPartId = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.QBListID = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.grid)).BeginInit();
|
||||||
|
this.SuspendLayout();
|
||||||
|
//
|
||||||
|
// grid
|
||||||
|
//
|
||||||
|
this.grid.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||||
|
| System.Windows.Forms.AnchorStyles.Left)
|
||||||
|
| System.Windows.Forms.AnchorStyles.Right)));
|
||||||
|
this.grid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||||
|
this.grid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||||
|
this.Object,
|
||||||
|
this.Fix,
|
||||||
|
this.Name,
|
||||||
|
this.Problem,
|
||||||
|
this.ObjectId,
|
||||||
|
this.AyaPrice,
|
||||||
|
this.QBPrice,
|
||||||
|
this.WorkOrderItemPartId,
|
||||||
|
this.QBListID});
|
||||||
|
this.grid.Location = new System.Drawing.Point(2, 3);
|
||||||
|
this.grid.Name = "grid";
|
||||||
|
this.grid.Size = new System.Drawing.Size(1021, 519);
|
||||||
|
this.grid.TabIndex = 0;
|
||||||
|
//
|
||||||
|
// btnOK
|
||||||
|
//
|
||||||
|
this.btnOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||||
|
this.btnOK.Location = new System.Drawing.Point(948, 584);
|
||||||
|
this.btnOK.Name = "btnOK";
|
||||||
|
this.btnOK.Size = new System.Drawing.Size(75, 23);
|
||||||
|
this.btnOK.TabIndex = 16;
|
||||||
|
this.btnOK.Text = "OK";
|
||||||
|
this.btnOK.UseVisualStyleBackColor = true;
|
||||||
|
this.btnOK.Click += new System.EventHandler(this.btnOK_Click);
|
||||||
|
//
|
||||||
|
// Object
|
||||||
|
//
|
||||||
|
this.Object.HeaderText = "Object";
|
||||||
|
this.Object.Name = "Object";
|
||||||
|
this.Object.ReadOnly = true;
|
||||||
|
//
|
||||||
|
// Fix
|
||||||
|
//
|
||||||
|
this.Fix.HeaderText = "Fix";
|
||||||
|
this.Fix.Name = "Fix";
|
||||||
|
this.Fix.ReadOnly = true;
|
||||||
|
//
|
||||||
|
// Name
|
||||||
|
//
|
||||||
|
this.Name.HeaderText = "Name";
|
||||||
|
this.Name.Name = "Name";
|
||||||
|
this.Name.ReadOnly = true;
|
||||||
|
//
|
||||||
|
// Problem
|
||||||
|
//
|
||||||
|
this.Problem.HeaderText = "Problem";
|
||||||
|
this.Problem.Name = "Problem";
|
||||||
|
this.Problem.ReadOnly = true;
|
||||||
|
//
|
||||||
|
// ObjectId
|
||||||
|
//
|
||||||
|
this.ObjectId.HeaderText = "ObjectId";
|
||||||
|
this.ObjectId.Name = "ObjectId";
|
||||||
|
this.ObjectId.Visible = false;
|
||||||
|
//
|
||||||
|
// AyaPrice
|
||||||
|
//
|
||||||
|
this.AyaPrice.HeaderText = "AyaPrice";
|
||||||
|
this.AyaPrice.Name = "AyaPrice";
|
||||||
|
this.AyaPrice.Visible = false;
|
||||||
|
//
|
||||||
|
// QBPrice
|
||||||
|
//
|
||||||
|
this.QBPrice.HeaderText = "QBPrice";
|
||||||
|
this.QBPrice.Name = "QBPrice";
|
||||||
|
this.QBPrice.Visible = false;
|
||||||
|
//
|
||||||
|
// WorkOrderItemPartId
|
||||||
|
//
|
||||||
|
this.WorkOrderItemPartId.HeaderText = "WorkOrderItemPartId";
|
||||||
|
this.WorkOrderItemPartId.Name = "WorkOrderItemPartId";
|
||||||
|
this.WorkOrderItemPartId.Visible = false;
|
||||||
|
//
|
||||||
|
// QBListID
|
||||||
|
//
|
||||||
|
this.QBListID.HeaderText = "QBListID";
|
||||||
|
this.QBListID.Name = "QBListID";
|
||||||
|
this.QBListID.Visible = false;
|
||||||
|
//
|
||||||
|
// FixInvoiceProblems
|
||||||
|
//
|
||||||
|
this.AcceptButton = this.btnOK;
|
||||||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
|
this.ClientSize = new System.Drawing.Size(1027, 619);
|
||||||
|
this.ControlBox = false;
|
||||||
|
this.Controls.Add(this.btnOK);
|
||||||
|
this.Controls.Add(this.grid);
|
||||||
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
|
||||||
|
this.MinimumSize = new System.Drawing.Size(300, 300);
|
||||||
|
this.Name = "FixInvoiceProblems";
|
||||||
|
this.Text = "Fix problems";
|
||||||
|
this.Load += new System.EventHandler(this.FixInvoiceProblems_Load);
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.grid)).EndInit();
|
||||||
|
this.ResumeLayout(false);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
private System.Windows.Forms.DataGridView grid;
|
||||||
|
private System.Windows.Forms.Button btnOK;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn Object;
|
||||||
|
private System.Windows.Forms.DataGridViewButtonColumn Fix;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn Name;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn Problem;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn ObjectId;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn AyaPrice;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn QBPrice;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn WorkOrderItemPartId;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn QBListID;
|
||||||
|
}
|
||||||
|
}
|
||||||
31
AyaNovaQBI/FixInvoiceProblems.cs
Normal file
31
AyaNovaQBI/FixInvoiceProblems.cs
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.ComponentModel;
|
||||||
|
using System.Data;
|
||||||
|
using System.Drawing;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
namespace AyaNovaQBI
|
||||||
|
{
|
||||||
|
public partial class FixInvoiceProblems : Form
|
||||||
|
{
|
||||||
|
public FixInvoiceProblems()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void FixInvoiceProblems_Load(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
btnOK.Text = util.AyaTranslations["OK"];
|
||||||
|
}
|
||||||
|
|
||||||
|
private void btnOK_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
DialogResult = DialogResult.OK;
|
||||||
|
Close();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
147
AyaNovaQBI/FixInvoiceProblems.resx
Normal file
147
AyaNovaQBI/FixInvoiceProblems.resx
Normal file
@@ -0,0 +1,147 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<root>
|
||||||
|
<!--
|
||||||
|
Microsoft ResX Schema
|
||||||
|
|
||||||
|
Version 2.0
|
||||||
|
|
||||||
|
The primary goals of this format is to allow a simple XML format
|
||||||
|
that is mostly human readable. The generation and parsing of the
|
||||||
|
various data types are done through the TypeConverter classes
|
||||||
|
associated with the data types.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
... ado.net/XML headers & schema ...
|
||||||
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
|
<resheader name="version">2.0</resheader>
|
||||||
|
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||||
|
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||||
|
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||||
|
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||||
|
</data>
|
||||||
|
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||||
|
<comment>This is a comment</comment>
|
||||||
|
</data>
|
||||||
|
|
||||||
|
There are any number of "resheader" rows that contain simple
|
||||||
|
name/value pairs.
|
||||||
|
|
||||||
|
Each data row contains a name, and value. The row also contains a
|
||||||
|
type or mimetype. Type corresponds to a .NET class that support
|
||||||
|
text/value conversion through the TypeConverter architecture.
|
||||||
|
Classes that don't support this are serialized and stored with the
|
||||||
|
mimetype set.
|
||||||
|
|
||||||
|
The mimetype is used for serialized objects, and tells the
|
||||||
|
ResXResourceReader how to depersist the object. This is currently not
|
||||||
|
extensible. For a given mimetype the value must be set accordingly:
|
||||||
|
|
||||||
|
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||||
|
that the ResXResourceWriter will generate, however the reader can
|
||||||
|
read any of the formats listed below.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.binary.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.soap.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||||
|
value : The object must be serialized into a byte array
|
||||||
|
: using a System.ComponentModel.TypeConverter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
-->
|
||||||
|
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||||
|
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||||
|
<xsd:element name="root" msdata:IsDataSet="true">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:choice maxOccurs="unbounded">
|
||||||
|
<xsd:element name="metadata">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="assembly">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:attribute name="alias" type="xsd:string" />
|
||||||
|
<xsd:attribute name="name" type="xsd:string" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="data">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="resheader">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:choice>
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:schema>
|
||||||
|
<resheader name="resmimetype">
|
||||||
|
<value>text/microsoft-resx</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="version">
|
||||||
|
<value>2.0</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="reader">
|
||||||
|
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="writer">
|
||||||
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<metadata name="Object.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="Fix.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="Name.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="Problem.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="ObjectId.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="AyaPrice.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="QBPrice.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="WorkOrderItemPartId.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="QBListID.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
</root>
|
||||||
Reference in New Issue
Block a user