This commit is contained in:
@@ -91,6 +91,7 @@
|
||||
<Compile Include="CopyableMessageBox.Designer.cs">
|
||||
<DependentUpon>CopyableMessageBox.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Customer.cs" />
|
||||
<Compile Include="Integration.cs" />
|
||||
<Compile Include="LinkAyaObjectToQBConfirm.cs">
|
||||
<SubType>Form</SubType>
|
||||
@@ -126,9 +127,11 @@
|
||||
<Compile Include="NameIdActiveChargeCostItem.cs" />
|
||||
<Compile Include="NameIdActiveItem.cs" />
|
||||
<Compile Include="NameIdItem.cs" />
|
||||
<Compile Include="Part.cs" />
|
||||
<Compile Include="Program.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="QBIIntegrationData.cs" />
|
||||
<Compile Include="ServiceRate.cs" />
|
||||
<Compile Include="SetAutoClose.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
@@ -196,8 +199,10 @@
|
||||
<DependentUpon>tfa.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Timestamp.cs" />
|
||||
<Compile Include="TravelRate.cs" />
|
||||
<Compile Include="UserType.cs" />
|
||||
<Compile Include="util.cs" />
|
||||
<Compile Include="Vendor.cs" />
|
||||
<Compile Include="Waiting.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
|
||||
72
AyaNovaQBI/Customer.cs
Normal file
72
AyaNovaQBI/Customer.cs
Normal file
@@ -0,0 +1,72 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace AyaNovaQBI
|
||||
{
|
||||
public class Customer
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public uint Concurrency { get; set; }
|
||||
|
||||
|
||||
public string Name { get; set; }
|
||||
public bool Active { get; set; }
|
||||
public string Notes { get; set; }
|
||||
public string Wiki { get; set; }
|
||||
public string CustomFields { get; set; }
|
||||
public List<string> Tags { get; set; }
|
||||
|
||||
|
||||
public string WebAddress { get; set; }
|
||||
public string AlertNotes { get; set; }
|
||||
public bool BillHeadOffice { get; set; }
|
||||
public long? HeadOfficeId { get; set; }
|
||||
|
||||
public string HeadOfficeViz { get; set; }
|
||||
public string TechNotes { get; set; }
|
||||
public string AccountNumber { get; set; }
|
||||
//public bool UsesBanking { get; set; }
|
||||
public long? ContractId { get; set; }
|
||||
|
||||
public string ContractViz { get; set; }
|
||||
public DateTime? ContractExpires { get; set; }
|
||||
|
||||
public long? LastWorkOrderViz { get; set; }
|
||||
|
||||
public DateTime? LastServiceDateViz { get; set; }
|
||||
public string Phone1 { get; set; }
|
||||
public string Phone2 { get; set; }
|
||||
public string Phone3 { get; set; }
|
||||
public string Phone4 { get; set; }
|
||||
public string Phone5 { get; set; }
|
||||
public string EmailAddress { get; set; }
|
||||
|
||||
//POSTAL ADDRESS
|
||||
public string PostAddress { get; set; }
|
||||
public string PostCity { get; set; }
|
||||
public string PostRegion { get; set; }
|
||||
public string PostCountry { get; set; }
|
||||
public string PostCode { get; set; }
|
||||
|
||||
//PHYSICAL ADDRESS
|
||||
public string Address { get; set; }
|
||||
public string City { get; set; }
|
||||
public string Region { get; set; }
|
||||
public string Country { get; set; }
|
||||
public decimal? Latitude { get; set; }
|
||||
public decimal? Longitude { get; set; }
|
||||
|
||||
|
||||
public Customer()
|
||||
{
|
||||
Tags = new List<string>();
|
||||
BillHeadOffice = false;
|
||||
//UsesBanking = false;
|
||||
}
|
||||
|
||||
|
||||
}//eoc
|
||||
}
|
||||
49
AyaNovaQBI/Part.cs
Normal file
49
AyaNovaQBI/Part.cs
Normal file
@@ -0,0 +1,49 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace AyaNovaQBI
|
||||
{
|
||||
public class Part
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public uint Concurrency { get; set; }
|
||||
public string Name { get; set; }//was partnumber in v7
|
||||
public bool Active { get; set; }
|
||||
public string Description { get; set; }//was "name" in v7
|
||||
public string Notes { get; set; }
|
||||
public string Wiki { get; set; }
|
||||
public string CustomFields { get; set; }
|
||||
public List<string> Tags { get; set; }
|
||||
|
||||
|
||||
public long? ManufacturerId { get; set; }
|
||||
public string ManufacturerViz { get; set; }
|
||||
public string ManufacturerNumber { get; set; }
|
||||
public long? WholeSalerId { get; set; }
|
||||
public string WholeSalerViz { get; set; }
|
||||
public string WholeSalerNumber { get; set; }
|
||||
public long? AlternativeWholeSalerId { get; set; }
|
||||
public string AlternativeWholeSalerViz { get; set; }
|
||||
public string AlternativeWholeSalerNumber { get; set; }
|
||||
public decimal Cost { get; set; }
|
||||
public decimal Retail { get; set; }
|
||||
public string UnitOfMeasure { get; set; }
|
||||
public string UPC { get; set; }
|
||||
public string PartSerialsViz { get; set; }
|
||||
|
||||
|
||||
public Part()
|
||||
{
|
||||
Tags = new List<string>();
|
||||
Active = true;
|
||||
Cost = 0m;
|
||||
Retail = 0m;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}//eoc
|
||||
}
|
||||
34
AyaNovaQBI/ServiceRate.cs
Normal file
34
AyaNovaQBI/ServiceRate.cs
Normal file
@@ -0,0 +1,34 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace AyaNovaQBI
|
||||
{
|
||||
public class ServiceRate
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public uint Concurrency { get; set; }
|
||||
public string Name { get; set; }
|
||||
public bool Active { get; set; }
|
||||
public string Notes { get; set; }
|
||||
public string Wiki { get; set; }
|
||||
public string CustomFields { get; set; }
|
||||
public List<string> Tags { get; set; }
|
||||
|
||||
public string AccountNumber { get; set; }
|
||||
public decimal Cost { get; set; }
|
||||
public decimal Charge { get; set; }
|
||||
public string Unit { get; set; }
|
||||
public bool ContractOnly { get; set; }
|
||||
|
||||
|
||||
|
||||
public ServiceRate()
|
||||
{
|
||||
Tags = new List<string>();
|
||||
}
|
||||
|
||||
}//eoc
|
||||
}
|
||||
34
AyaNovaQBI/TravelRate.cs
Normal file
34
AyaNovaQBI/TravelRate.cs
Normal file
@@ -0,0 +1,34 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace AyaNovaQBI
|
||||
{
|
||||
public class TravelRate
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public uint Concurrency { get; set; }
|
||||
public string Name { get; set; }
|
||||
public bool Active { get; set; }
|
||||
public string Notes { get; set; }
|
||||
public string Wiki { get; set; }
|
||||
public string CustomFields { get; set; }
|
||||
public List<string> Tags { get; set; }
|
||||
|
||||
public string AccountNumber { get; set; }
|
||||
public decimal Cost { get; set; }
|
||||
public decimal Charge { get; set; }
|
||||
public string Unit { get; set; }
|
||||
public bool ContractOnly { get; set; }
|
||||
|
||||
|
||||
public TravelRate()
|
||||
{
|
||||
Tags = new List<string>();
|
||||
}
|
||||
|
||||
|
||||
}//eoc
|
||||
}
|
||||
60
AyaNovaQBI/Vendor.cs
Normal file
60
AyaNovaQBI/Vendor.cs
Normal file
@@ -0,0 +1,60 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace AyaNovaQBI
|
||||
{
|
||||
public class Vendor
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public uint Concurrency { get; set; }
|
||||
|
||||
|
||||
public string Name { get; set; }
|
||||
public bool Active { get; set; }
|
||||
public string Notes { get; set; }
|
||||
public string Wiki { get; set; }
|
||||
public string CustomFields { get; set; }
|
||||
public List<string> Tags { get; set; }
|
||||
|
||||
public string Contact { get; set; }
|
||||
public string ContactNotes { get; set; }
|
||||
public string AlertNotes { get; set; }
|
||||
public string WebAddress { get; set; }
|
||||
public string AccountNumber { get; set; }
|
||||
public string Phone1 { get; set; }
|
||||
public string Phone2 { get; set; }
|
||||
public string Phone3 { get; set; }
|
||||
public string Phone4 { get; set; }
|
||||
public string Phone5 { get; set; }
|
||||
public string EmailAddress { get; set; }
|
||||
|
||||
|
||||
//POSTAL ADDRESS
|
||||
public string PostAddress { get; set; }
|
||||
public string PostCity { get; set; }
|
||||
public string PostRegion { get; set; }
|
||||
public string PostCountry { get; set; }
|
||||
public string PostCode { get; set; }
|
||||
|
||||
//PHYSICAL ADDRESS
|
||||
public string Address { get; set; }
|
||||
public string City { get; set; }
|
||||
public string Region { get; set; }
|
||||
public string Country { get; set; }
|
||||
public decimal? Latitude { get; set; }
|
||||
public decimal? Longitude { get; set; }
|
||||
|
||||
|
||||
|
||||
public Vendor()
|
||||
{
|
||||
Tags = new List<string>();
|
||||
}
|
||||
|
||||
|
||||
|
||||
}//eoc
|
||||
}
|
||||
1964
AyaNovaQBI/util.cs
1964
AyaNovaQBI/util.cs
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user