346 lines
7.0 KiB
C#
346 lines
7.0 KiB
C#
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
|
|
{
|
|
|
|
/// <remarks/>
|
|
public PurchaseOrderHeader Header { get; set; }
|
|
|
|
/// <remarks/>
|
|
[XmlElement("LineItem")]
|
|
public PurchaseOrderLineItem[] LineItem { get; set; }
|
|
}
|
|
|
|
|
|
public partial class PurchaseOrderHeader
|
|
{
|
|
/// <remarks/>
|
|
public uint RequestedDeliveryDate { get; set; }
|
|
|
|
/// <remarks/>
|
|
public string Currency { get; set; }
|
|
|
|
/// <remarks/>
|
|
public decimal TotalAmount { get; set; }
|
|
|
|
/// <remarks/>
|
|
public string Incoterms { get; set; }
|
|
|
|
/// <remarks/>
|
|
public ushort SalesOrganisation { get; set; }
|
|
|
|
/// <remarks/>
|
|
public PurchaseOrderHeaderVendor Vendor { get; set; }
|
|
/// <remarks/>
|
|
public PurchaseOrderHeaderShipTo ShipTo { get; set; }
|
|
|
|
/// <remarks/>
|
|
public PurchaseOrderHeaderBillTo BillTo { get; set; }
|
|
}
|
|
|
|
/// <remarks/>
|
|
[Serializable()]
|
|
[DesignerCategory("code")]
|
|
[XmlType(AnonymousType = true)]
|
|
public partial class PurchaseOrderHeaderVendor
|
|
{
|
|
|
|
private uint partyIdField;
|
|
|
|
/// <remarks/>
|
|
public uint PartyId
|
|
{
|
|
get
|
|
{
|
|
return this.partyIdField;
|
|
}
|
|
set
|
|
{
|
|
this.partyIdField = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[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;
|
|
|
|
/// <remarks/>
|
|
public string PartyId
|
|
{
|
|
get
|
|
{
|
|
return this.partyIdField;
|
|
}
|
|
set
|
|
{
|
|
this.partyIdField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
public string Name
|
|
{
|
|
get
|
|
{
|
|
return this.nameField;
|
|
}
|
|
set
|
|
{
|
|
this.nameField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
public string AddressLine1
|
|
{
|
|
get
|
|
{
|
|
return this.addressLine1Field;
|
|
}
|
|
set
|
|
{
|
|
this.addressLine1Field = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
public string City
|
|
{
|
|
get
|
|
{
|
|
return this.cityField;
|
|
}
|
|
set
|
|
{
|
|
this.cityField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
public object State
|
|
{
|
|
get
|
|
{
|
|
return this.stateField;
|
|
}
|
|
set
|
|
{
|
|
this.stateField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
public uint PostalCode
|
|
{
|
|
get
|
|
{
|
|
return this.postalCodeField;
|
|
}
|
|
set
|
|
{
|
|
this.postalCodeField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
public string Country
|
|
{
|
|
get
|
|
{
|
|
return this.countryField;
|
|
}
|
|
set
|
|
{
|
|
this.countryField = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[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;
|
|
|
|
/// <remarks/>
|
|
public ushort PartyId
|
|
{
|
|
get
|
|
{
|
|
return this.partyIdField;
|
|
}
|
|
set
|
|
{
|
|
this.partyIdField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
public string Name
|
|
{
|
|
get
|
|
{
|
|
return this.nameField;
|
|
}
|
|
set
|
|
{
|
|
this.nameField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
public string AddressLine1
|
|
{
|
|
get
|
|
{
|
|
return this.addressLine1Field;
|
|
}
|
|
set
|
|
{
|
|
this.addressLine1Field = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
public string City
|
|
{
|
|
get
|
|
{
|
|
return this.cityField;
|
|
}
|
|
set
|
|
{
|
|
this.cityField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
public ushort PostalCode
|
|
{
|
|
get
|
|
{
|
|
return this.postalCodeField;
|
|
}
|
|
set
|
|
{
|
|
this.postalCodeField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
public string Country
|
|
{
|
|
get
|
|
{
|
|
return this.countryField;
|
|
}
|
|
set
|
|
{
|
|
this.countryField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
public string ContactName
|
|
{
|
|
get
|
|
{
|
|
return this.contactNameField;
|
|
}
|
|
set
|
|
{
|
|
this.contactNameField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
public string Email
|
|
{
|
|
get
|
|
{
|
|
return this.emailField;
|
|
}
|
|
set
|
|
{
|
|
this.emailField = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
public partial class PurchaseOrderLineItem
|
|
{
|
|
/// <remarks/>
|
|
//public byte ItemLineNumber { get; set; }
|
|
|
|
/// <remarks/>
|
|
//public string MaterialNumber { get; set; }
|
|
|
|
/// <remarks/>
|
|
public ulong EANorUPCNumber { get; set; }
|
|
|
|
/// <remarks/>
|
|
//public byte ItemQuantity { get; set; }
|
|
|
|
/// <remarks/>
|
|
public decimal ItemUnitPrice { get; set; }
|
|
|
|
/// <remarks/>
|
|
public decimal NetPrice { get; set; }
|
|
|
|
/// <remarks/>
|
|
//public string ItemUOM { get; set; }
|
|
|
|
/// <remarks/>
|
|
public string ItemDescription { get; set; }
|
|
|
|
/// <remarks/>
|
|
public byte ItemCustomField1 { get; set; }
|
|
}
|
|
|
|
|
|
}
|