396 lines
10 KiB
C#
396 lines
10 KiB
C#
namespace SytelineSaAppDataModel
|
|
{
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.Data.Entity.Spatial;
|
|
|
|
[Table("co")]
|
|
public partial class CustomerOrder
|
|
{
|
|
[StringLength(1)]
|
|
[Column("type")]
|
|
public string Type { get; set; }
|
|
|
|
[Key]
|
|
[StringLength(10)]
|
|
[Column("co_num")]
|
|
public string CustomerOrderNumber { get; set; }
|
|
|
|
[StringLength(10)]
|
|
[Column("est_num")]
|
|
public string EstimatedNumber { get; set; }
|
|
|
|
[StringLength(7)]
|
|
[Column("cust_num")]
|
|
public string CustomerNumber { get; set; }
|
|
|
|
[Column("cust_seq")]
|
|
public int? CustomerSequenceNumber { get; set; }
|
|
|
|
[StringLength(30)]
|
|
[Column("contact")]
|
|
public string Contact { get; set; }
|
|
|
|
[StringLength(25)]
|
|
[Column("phone")]
|
|
public string Phone { get; set; }
|
|
|
|
[StringLength(22)]
|
|
[Column("cust_po")]
|
|
public string CustomerPoNumber { get; set; }
|
|
|
|
[Column("order_date")]
|
|
public DateTime OrderDate { get; set; }
|
|
|
|
[StringLength(15)]
|
|
[Column("taken_by")]
|
|
public string TakenBy { get; set; }
|
|
|
|
[StringLength(3)]
|
|
[Column("terms_code")]
|
|
public string TermsCode { get; set; }
|
|
|
|
[StringLength(4)]
|
|
[Column("ship_code")]
|
|
public string ShipCode { get; set; }
|
|
|
|
[Column("price")]
|
|
public decimal? Price { get; set; }
|
|
|
|
[Column("weight")]
|
|
public decimal? Weight { get; set; }
|
|
|
|
[Column("qty_packages")]
|
|
public short? QuantityPackages { get; set; }
|
|
|
|
[Column("freight")]
|
|
public decimal? Freight { get; set; }
|
|
|
|
[Column("misc_charges")]
|
|
public decimal? MiscCharges { get; set; }
|
|
|
|
[Column("prepaid_amt")]
|
|
public decimal? PrepaidAmount { get; set; }
|
|
|
|
[Column("sales_tax")]
|
|
public decimal? SalesTax { get; set; }
|
|
|
|
[StringLength(1)]
|
|
[Column("stat")]
|
|
public string Status { get; set; }
|
|
|
|
[Column("cost")]
|
|
public decimal? Cost { get; set; }
|
|
|
|
[Column("close_date")]
|
|
public DateTime? CloseDate { get; set; }
|
|
|
|
[Column("freight_t")]
|
|
public decimal? FreightT { get; set; }
|
|
|
|
[Column("m_charges_t")]
|
|
public decimal? MiscChargesT { get; set; }
|
|
|
|
[Column("prepaid_t")]
|
|
public decimal? PrepaidT { get; set; }
|
|
|
|
[Column("sales_tax_t")]
|
|
public decimal? SalesTaxT { get; set; }
|
|
|
|
[StringLength(8)]
|
|
[Column("slsman")]
|
|
public string Salesman { get; set; }
|
|
|
|
[Column("eff_date")]
|
|
public DateTime? EffectiveDate { get; set; }
|
|
|
|
[Column("exp_date")]
|
|
public DateTime? ExpirationDate { get; set; }
|
|
|
|
[StringLength(4)]
|
|
[Column("whse")]
|
|
public string Warehouse { get; set; }
|
|
|
|
[Column("sales_tax_2")]
|
|
public decimal? SalesTaxTwo { get; set; }
|
|
|
|
[Column("sales_tax_t2")]
|
|
public decimal? SalesTaxTtwo { get; set; }
|
|
|
|
[Column("edi_order")]
|
|
public byte? EdiOrder { get; set; }
|
|
|
|
[StringLength(2)]
|
|
[Column("trans_nat")]
|
|
public string TransactionNat { get; set; }
|
|
|
|
[StringLength(1)]
|
|
[Column("process_ind")]
|
|
public string ProcessInd { get; set; }
|
|
|
|
[StringLength(4)]
|
|
[Column("delterm")]
|
|
public string DelTerm { get; set; }
|
|
|
|
[Column("use_exch_rate")]
|
|
public byte? UseExchangeRate { get; set; }
|
|
|
|
[StringLength(6)]
|
|
[Column("tax_code1")]
|
|
public string TaxCodeOne { get; set; }
|
|
|
|
[StringLength(6)]
|
|
[Column("tax_code2")]
|
|
public string TaxCodeTwo { get; set; }
|
|
|
|
[StringLength(6)]
|
|
[Column("frt_tax_code1")]
|
|
public string FreightTaxCodeOne { get; set; }
|
|
|
|
[StringLength(6)]
|
|
[Column("frt_tax_code2")]
|
|
public string FreightTaxCodeTwo { get; set; }
|
|
|
|
[StringLength(6)]
|
|
[Column("msc_tax_code1")]
|
|
public string MscTaxCodeOne { get; set; }
|
|
|
|
[StringLength(6)]
|
|
[Column("msc_tax_code2")]
|
|
public string MscTaxCodeTwo { get; set; }
|
|
|
|
[StringLength(1)]
|
|
[Column("discount_type")]
|
|
public string DiscountType { get; set; }
|
|
|
|
[Column("disc_amount")]
|
|
public decimal? DiscountAmount { get; set; }
|
|
|
|
[Column("disc")]
|
|
public decimal? Discount { get; set; }
|
|
|
|
[StringLength(3)]
|
|
[Column("pricecode")]
|
|
public string PriceCode { get; set; }
|
|
|
|
[Column("ship_partial")]
|
|
public byte? ShipPartial { get; set; }
|
|
|
|
//[Column("")]
|
|
//public byte? ShipEarly { get; set; }
|
|
//[Column("")]
|
|
//public decimal? MatlCostT { get; set; }
|
|
|
|
[Column("lbr_cost_t")]
|
|
public decimal? LbrCostT { get; set; }
|
|
|
|
[Column("fovhd_cost_t")]
|
|
public decimal? FovHdCostT { get; set; }
|
|
|
|
[Column("vovhd_cost_t")]
|
|
public decimal? VovHdCostT { get; set; }
|
|
|
|
[Column("out_cost_t")]
|
|
public decimal? OutCostT { get; set; }
|
|
|
|
[StringLength(6)]
|
|
[Column("end_user_type")]
|
|
public string EndUserType { get; set; }
|
|
|
|
[Column("exch_rate")]
|
|
public decimal? ExchangeRate { get; set; }
|
|
|
|
[Column("fixed_rate")]
|
|
public byte? FixedRate { get; set; }
|
|
|
|
[StringLength(8)]
|
|
[Column("orig_site")]
|
|
public string OrigSite { get; set; }
|
|
|
|
[StringLength(20)]
|
|
[Column("lcr_num")]
|
|
public string LcrNum { get; set; }
|
|
|
|
[StringLength(1)]
|
|
[Column("edi_type")]
|
|
public string EdiType { get; set; }
|
|
|
|
[Column("invoiced")]
|
|
public byte? Invoiced { get; set; }
|
|
|
|
[Column("credit_hold")]
|
|
public byte? CreditHold { get; set; }
|
|
|
|
[Column("credit_hold_date")]
|
|
public DateTime? CreditHoldDate { get; set; }
|
|
|
|
[StringLength(3)]
|
|
[Column("credit_hold_reason")]
|
|
public string CreditHoldReason { get; set; }
|
|
|
|
[StringLength(3)]
|
|
[Column("credit_hold_user")]
|
|
public string CreditHoldUser { get; set; }
|
|
|
|
[Column("sync_reqd")]
|
|
public byte? SyncRequired { get; set; }
|
|
|
|
[Column("projected_date")]
|
|
public DateTime? ProjectedDate { get; set; }
|
|
|
|
[StringLength(8)]
|
|
[Column("order_source")]
|
|
public string OrderSource { get; set; }
|
|
|
|
[StringLength(1)]
|
|
[Column("convert_type")]
|
|
public string ConvertType { get; set; }
|
|
|
|
[Column("aps_pull_up")]
|
|
public byte? ApsPullUp { get; set; }
|
|
|
|
[Column("consolidate")]
|
|
public byte? Consolidate { get; set; }
|
|
|
|
[StringLength(1)]
|
|
[Column("inv_freq")]
|
|
public string InvFreq { get; set; }
|
|
|
|
[Column("summarize")]
|
|
public byte? Summarize { get; set; }
|
|
|
|
[Column("NoteExistsFlag")]
|
|
public byte NoteExistsFlag { get; set; }
|
|
|
|
[Column("RecordDate")]
|
|
public DateTime RecordDate { get; set; }
|
|
|
|
[Column("RowPointer")]
|
|
public Guid RowPointer { get; set; }
|
|
|
|
[Column("einvoice")]
|
|
public byte? ElectronicInvoice { get; set; }
|
|
|
|
[StringLength(20)]
|
|
[Column("charfld1")]
|
|
public string CharFieldOne { get; set; }
|
|
|
|
[StringLength(20)]
|
|
[Column("charfld2")]
|
|
public string CharFieldTwo { get; set; }
|
|
|
|
[StringLength(20)]
|
|
[Column("charfld3")]
|
|
public string CharFieldThree { get; set; }
|
|
|
|
//[Column("")]
|
|
//public DateTime? DateField { get; set; }
|
|
|
|
[Column("decifld1")]
|
|
public decimal? DecimalFieldOne { get; set; }
|
|
|
|
[Column("decifld2")]
|
|
public decimal? DecimalFieldTwo { get; set; }
|
|
|
|
[Column("decifld3")]
|
|
public decimal? DecimalFieldThree { get; set; }
|
|
|
|
[Column("logifld")]
|
|
public byte? LogicField { get; set; }
|
|
|
|
[StringLength(1)]
|
|
[Column("ack_stat")]
|
|
public string AckStatus { get; set; }
|
|
|
|
[StringLength(12)]
|
|
[Column("config_id")]
|
|
public string ConfigId { get; set; }
|
|
|
|
[Required]
|
|
[StringLength(30)]
|
|
[Column("CreatedBy")]
|
|
public string CreatedBy { get; set; }
|
|
|
|
[Required]
|
|
[StringLength(30)]
|
|
[Column("UpdatedBy")]
|
|
public string UpdatedBy { get; set; }
|
|
|
|
[Column("CreateDate")]
|
|
public DateTime CreateDate { get; set; }
|
|
|
|
[Column("InWorkflow")]
|
|
public byte InWorkflow { get; set; }
|
|
|
|
[Column("include_tax_in_price")]
|
|
public byte? IncludeTaxInPrice { get; set; }
|
|
|
|
[StringLength(2)]
|
|
[Column("trans_nat_2")]
|
|
public string TransNatTwo { get; set; }
|
|
|
|
[StringLength(12)]
|
|
[Column("apply_to_inv_num")]
|
|
public string ApplyToInvoiceNumber { get; set; }
|
|
|
|
[Required]
|
|
[StringLength(1)]
|
|
[Column("export_type")]
|
|
public string ExportType { get; set; }
|
|
|
|
[StringLength(80)]
|
|
[Column("external_confirmation_ref")]
|
|
public string ExternalConfirmationReference { get; set; }
|
|
|
|
[Column("is_external")]
|
|
public byte IsExternal { get; set; }
|
|
|
|
[StringLength(7)]
|
|
[Column("prospect_id")]
|
|
public string ProspectId { get; set; }
|
|
|
|
[StringLength(10)]
|
|
[Column("opp_id")]
|
|
public string OppId { get; set; }
|
|
|
|
[StringLength(10)]
|
|
[Column("lead_id")]
|
|
public string LeadId { get; set; }
|
|
|
|
[Column("days_shipped_before_due_date_tolerance")]
|
|
public short? DaysShippedBeforeDueDateTolerance { get; set; }
|
|
|
|
[Column("days_shipped_after_due_date_tolerance")]
|
|
public short? DaysShippedAfterDueDateTolerance { get; set; }
|
|
|
|
[Column("shipped_over_ordered_qty_tolerance")]
|
|
public decimal? ShippedOverOrderedQtyTolerance { get; set; }
|
|
|
|
[Column("shipped_under_ordered_qty_tolerance")]
|
|
public decimal? ShippedUnderOrderedQtyTolerance { get; set; }
|
|
|
|
[Column("consignment")]
|
|
public byte Consignment { get; set; }
|
|
|
|
[Column("priority")]
|
|
public short? Priority { get; set; }
|
|
|
|
[StringLength(8)]
|
|
[Column("demanding_site")]
|
|
public string DemandingSite { get; set; }
|
|
|
|
[StringLength(10)]
|
|
[Column("demanding_site_po_num")]
|
|
public string DemandingSitePoNumber { get; set; }
|
|
|
|
[StringLength(20)]
|
|
[Column("Uf_FKR_CoContract")]
|
|
public string UfFkrCoContract { get; set; }
|
|
|
|
[Column("Uf_BPX_DeliveryDate")]
|
|
public DateTime? UfBpxDeliveryDate { get; set; }
|
|
}
|
|
}
|