Dycode SimpleUBL UBL 2.0 Class Library

Order Class

Remarks

The document used to order goods and services.

Public Instance Constructors

Order Constructor Default constructor.
Order Copy Constructor Copy constructor. (Only C++)
Order Constructor with required values Constructor with required values. (Only C++, .NET)

Public Instance Properties

 
Property UBL 2.0OIO UBLNES UBL Description
UBLVersionID0..111 UBL Version Identifier. The earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. (Ex: 2.0.5)
UBLExtensions0..10..1  A container for all extensions present in the document.
CustomizationID0..111 Customization Identifier. Identifies a user-defined customization of UBL for a specific use. (Ex: NES)
ProfileID0..111 Profile Identifier. Identifies a user-defined profile of the customization of UBL being used. (Ex: BasicProcurementProcess)
ID111 Identifier. An identifier for the Order assigned by the Buyer.
SalesOrderID0..1   Sales Order Identifier. An identifier for the Order assigned by the Seller.
CopyIndicator0..10..10..1 Indicator. Indicates whether the Order is a copy (true) or not (false).
UUID0..10..1  UUID. A universally unique identifier for an instance of this ABIE.
IssueDate111 Issue Date. The date assigned by the Buyer on which the Order was issued.
IssueTime0..10..10..1 Issue Time. The time assigned by the Buyer on which the Order was issued.
Notes0..n0..n0..1 Note. Free-form text applying to the Order. This element may contain notes or any other similar information that is not contained explicitly in another structure.
RequestedInvoiceCurrencyCode0..10..1  Currency Code. The currency requested for amount totals in Invoices related to this Order.
DocumentCurrencyCode0..10..10..1 Currency Code. The currency in which the Document is presented. This may be the same currency as the pricing or as the tax.
PricingCurrencyCode0..10..1  Currency Code. The currency that is used for all prices in the Order.
TaxCurrencyCode0..10..1  Currency Code. The currency requested for tax amounts in Invoices related to this Order.
CustomerReference0..10..1  Customer Reference. A supplementary reference for the Order. (Ex: CRI in a purchasing card transaction)
AccountingCostCode0..10..1  Accounting Cost Code. The Buyer's accounting code applied to the Order as a whole.
AccountingCost0..10..10..1 Accounting Cost. The Buyer's accounting cost centre applied to the Order as a whole, expressed as text.
LineCountNumeric0..1   Line Count. The number of lines in the document.
ValidityPeriods0..n0..10..n Period. The period for which the Order is valid.
QuotationDocumentReference0..10..1  Document Reference. An associative reference to Quotation.
OrderDocumentReferences0..n   Document Reference. An associative reference to [another] Order.
OriginatorDocumentReference0..10..10..1 Document Reference. An associative reference to Originator Document.
AdditionalDocumentReferences0..n0..n0..n Document Reference. An associative reference to Additional Document.
Contracts0..n0..10..n Contract. An association to Contract.
Signatures0..n0..n0..n Signature. An association to Signature.
BuyerCustomerParty111 Customer Party. An association to the Buyer.
SellerSupplierParty111 Supplier Party. An association to the Seller.
OriginatorCustomerParty0..10..10..1 Customer Party. An association to the Originator.
FreightForwarderParty0..10..1  Party. An association to a Freight Forwarder or Carrier.
AccountingCustomerParty0..10..1  Customer Party. An association to the Accounting Customer Party. The party that Invoice is expected to be sent to if not the buyer party.
Deliveries0..n0..10..1 Delivery. An association to Delivery.
DeliveryTerms0..10..10..1 Delivery Terms. An association to Delivery Terms.
PaymentMeans0..10..10..1 Payment Means. An association to Payment Means.
TransactionConditions0..10..1  Transaction Conditions. An association with any purchasing or sales conditions applying to the whole order.
AllowanceCharges0..n0..n0..n Allowance Charge. An association to Allowances and Charges that apply to the Order as a whole.
DestinationCountry0..10..1  Country. An association to the country of destination (for customs purposes).
TaxTotals0..n0..n  Tax Total. An association to the total tax amount of the Order (as calculated by the Buyer).
AnticipatedMonetaryTotal0..10..10..1 Monetary Total. An association to the total amounts for the Order anticipated by the Buyer.
OrderLines1..n1..n1..n Order Line. An association to one or more Order Lines.
 
XML XML Document in the string format.

Public Instance Methods

GetSchemaValidationErrors Validate document by schema. If document is not valid, return validation error.
GetSchemaValidationErrorsFromXML Validate XML by schema. If XML is not valid, return validation error.
GetValueValidationErrors Validate document by value. If document is not valid, return validation error.
GetValueValidationErrorsFromXML Validate XML by value. If XML is not valid, return validation error.
GetValidationErrors Validate document by schema and then by value. If document is not valid, return validation error.
GetValidationErrorsFromXML Validate XML by schema and then by value. If XML is not valid, return validation error.
Write Write document XML.
Read Read document XML.

Public Operators

Operator=Overloading of Assignment Operator. (Only C++)

Thread Safety

Public static members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

See Also

Order Properties | Dycode.SimpleUBL | Order Example