using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Xml.Serialization; namespace HUIWEI.SAL_SaleOrder { public partial class ORDCHG : PurchaseOrder { /// public PurchaseOrderHeader Header { get; set; } /// [XmlElement("LineItem")] public PurchaseOrderLineItem[] LineItem { get; set; } } public partial class PurchaseOrderHeader { /// public uint RequestedDeliveryDate { get; set; } /// public string Currency { get; set; } /// public decimal TotalAmount { get; set; } /// public string Incoterms { get; set; } /// public ushort SalesOrganisation { get; set; } /// public PurchaseOrderHeaderVendor Vendor { get; set; } /// public PurchaseOrderHeaderShipTo ShipTo { get; set; } /// public PurchaseOrderHeaderBillTo BillTo { get; set; } } /// [Serializable()] [DesignerCategory("code")] [XmlType(AnonymousType = true)] public partial class PurchaseOrderHeaderVendor { private uint partyIdField; /// public uint PartyId { get { return this.partyIdField; } set { this.partyIdField = value; } } } /// [System.SerializableAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] public partial class PurchaseOrderHeaderShipTo { private string partyIdField; private string nameField; private string addressLine1Field; private string cityField; private object stateField; private uint postalCodeField; private string countryField; /// public string PartyId { get { return this.partyIdField; } set { this.partyIdField = value; } } /// public string Name { get { return this.nameField; } set { this.nameField = value; } } /// public string AddressLine1 { get { return this.addressLine1Field; } set { this.addressLine1Field = value; } } /// public string City { get { return this.cityField; } set { this.cityField = value; } } /// public object State { get { return this.stateField; } set { this.stateField = value; } } /// public uint PostalCode { get { return this.postalCodeField; } set { this.postalCodeField = value; } } /// public string Country { get { return this.countryField; } set { this.countryField = value; } } } /// [System.SerializableAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] public partial class PurchaseOrderHeaderBillTo { private ushort partyIdField; private string nameField; private string addressLine1Field; private string cityField; private ushort postalCodeField; private string countryField; private string contactNameField; private string emailField; /// public ushort PartyId { get { return this.partyIdField; } set { this.partyIdField = value; } } /// public string Name { get { return this.nameField; } set { this.nameField = value; } } /// public string AddressLine1 { get { return this.addressLine1Field; } set { this.addressLine1Field = value; } } /// public string City { get { return this.cityField; } set { this.cityField = value; } } /// public ushort PostalCode { get { return this.postalCodeField; } set { this.postalCodeField = value; } } /// public string Country { get { return this.countryField; } set { this.countryField = value; } } /// public string ContactName { get { return this.contactNameField; } set { this.contactNameField = value; } } /// public string Email { get { return this.emailField; } set { this.emailField = value; } } } /// public partial class PurchaseOrderLineItem { /// //public byte ItemLineNumber { get; set; } /// //public string MaterialNumber { get; set; } /// public ulong EANorUPCNumber { get; set; } /// //public byte ItemQuantity { get; set; } /// public decimal ItemUnitPrice { get; set; } /// public decimal NetPrice { get; set; } /// //public string ItemUOM { get; set; } /// public string ItemDescription { get; set; } /// public byte ItemCustomField1 { get; set; } } }