Showing:

Annotations
Attributes
Diagrams
Facets
Instances
Properties
Source
Used by
Included schema OTRNLibrary-V3.2.xsd
Namespace http://www.onetrail.net
Annotations
Onetrail Common V3.2 Format.
Copyright 2013 Onetrail TPN™. All rights reserved.
Properties
attribute form default: unqualified
element form default: qualified
Element PartnerRoleDescriptionType / ContactInformation
Namespace http://www.onetrail.net
Diagram
Diagram OTRNLibrary-V3_2_xsd.tmp#ContactInformationType_contactName OTRNLibrary-V3_2_xsd.tmp#ContactInformationType_EmailAddress OTRNLibrary-V3_2_xsd.tmp#ContactInformationType_facsimileNumber OTRNLibrary-V3_2_xsd.tmp#ContactInformationType_telephoneNumber OTRNLibrary-V3_2_xsd.tmp#ContactInformationType
Type ContactInformationType
Properties
content: complex
Model contactName , EmailAddress , facsimileNumber{0,1} , telephoneNumber
Children EmailAddress, contactName, facsimileNumber, telephoneNumber
Instance
<ContactInformation xmlns="http://www.onetrail.net">
  <contactName>{1,1}</contactName>
  <EmailAddress>{1,1}</EmailAddress>
  <facsimileNumber>{0,1}</facsimileNumber>
  <telephoneNumber>{1,1}</telephoneNumber>
</ContactInformation>
Source
<xsd:element name="ContactInformation" type="ContactInformationType"/>
Element ContactInformationType / contactName
Namespace http://www.onetrail.net
Diagram
Diagram OTRNLibrary-V3_2_xsd.tmp#FreeFormTextType_FreeFormText OTRNLibrary-V3_2_xsd.tmp#FreeFormTextType
Type FreeFormTextType
Properties
content: complex
Model FreeFormText
Children FreeFormText
Instance
<contactName xmlns="http://www.onetrail.net">
  <FreeFormText lang="">{1,1}</FreeFormText>
</contactName>
Source
<xsd:element name="contactName" type="FreeFormTextType"/>
Element FreeFormTextType / FreeFormText
Namespace http://www.onetrail.net
Diagram
Diagram OTRNLibrary-V3_2_xsd.tmp#fftType_lang OTRNLibrary-V3_2_xsd.tmp#fftType
Type fftType
Properties
content: complex
Attributes
QName Type Fixed Default Use Annotation
lang restriction of xsd:string optional
Specifies the language which is used in the text. Please use ISO 639-1, 2-letter codes in capitals.
Source
<xsd:element name="FreeFormText" type="fftType"/>
Element ContactInformationType / EmailAddress
Namespace http://www.onetrail.net
Diagram
Diagram
Type xsd:string
Properties
content: simple
Source
<xsd:element name="EmailAddress" type="xsd:string"/>
Element ContactInformationType / facsimileNumber
Namespace http://www.onetrail.net
Diagram
Diagram OTRNLibrary-V3_2_xsd.tmp#CommunicationsNumberType_CommunicationsNumber OTRNLibrary-V3_2_xsd.tmp#CommunicationsNumberType
Type CommunicationsNumberType
Properties
content: complex
minOccurs: 0
Model CommunicationsNumber
Children CommunicationsNumber
Instance
<facsimileNumber xmlns="http://www.onetrail.net">
  <CommunicationsNumber>{1,1}</CommunicationsNumber>
</facsimileNumber>
Source
<xsd:element name="facsimileNumber" minOccurs="0" type="CommunicationsNumberType"/>
Element CommunicationsNumberType / CommunicationsNumber
Namespace http://www.onetrail.net
Diagram
Diagram
Type xsd:string
Properties
content: simple
Source
<xsd:element name="CommunicationsNumber" type="xsd:string"/>
Element ContactInformationType / telephoneNumber
Namespace http://www.onetrail.net
Diagram
Diagram OTRNLibrary-V3_2_xsd.tmp#CommunicationsNumberType_CommunicationsNumber OTRNLibrary-V3_2_xsd.tmp#CommunicationsNumberType
Type CommunicationsNumberType
Properties
content: complex
Model CommunicationsNumber
Children CommunicationsNumber
Instance
<telephoneNumber xmlns="http://www.onetrail.net">
  <CommunicationsNumber>{1,1}</CommunicationsNumber>
</telephoneNumber>
Source
<xsd:element name="telephoneNumber" type="CommunicationsNumberType"/>
Element PartnerRoleDescriptionType / GlobalPartnerRoleClassificationCode
Namespace http://www.onetrail.net
Annotations

V3.1

Purchase Order:
In case of the fromRole, billTo and shipTo elements the value = 'Reseller'.
In case of the toRole element the value = 'Distributor' or 'Manufacturer'.

Purchase Order Confirmation:
In case of the toRole, billTo and shipTo elements the value = 'Reseller'.
In case of the fromRole element the value = 'Distributor' or 'Manufacturer'.

Advanced Shipment Notification:
In case of toRole, BuyingPartner, ReceivingPartner (shipTo) elements the value = 'Reseller'.
In case of fromRole, OriginatingPartner and SellingPartner elements the value = 'Distributor' or 'Manufacturer'.
Diagram
Diagram OTRNLibrary-V3_2_xsd.tmp#GlobalPartnerRoleClassificationCodeType
Type GlobalPartnerRoleClassificationCodeType
Properties
content: simple
Facets
enumeration Distributor
enumeration Reseller
enumeration Manufacturer
Source
<xsd:element name="GlobalPartnerRoleClassificationCode" type="GlobalPartnerRoleClassificationCodeType">
  <xsd:annotation>
    <xsd:documentation xml:lang="EN" source="V3.1">Purchase Order: In case of the fromRole, billTo and shipTo elements the value = 'Reseller'. In case of the toRole element the value = 'Distributor' or 'Manufacturer'. Purchase Order Confirmation: In case of the toRole, billTo and shipTo elements the value = 'Reseller'. In case of the fromRole element the value = 'Distributor' or 'Manufacturer'. Advanced Shipment Notification: In case of toRole, BuyingPartner, ReceivingPartner (shipTo) elements the value = 'Reseller'. In case of fromRole, OriginatingPartner and SellingPartner elements the value = 'Distributor' or 'Manufacturer'.</xsd:documentation>
  </xsd:annotation>
</xsd:element>
Element PartnerRoleDescriptionType / PartnerDescription
Namespace http://www.onetrail.net
Diagram
Diagram OTRNLibrary-V3_2_xsd.tmp#PartnerDescriptionType_BusinessDescription OTRNLibrary-V3_2_xsd.tmp#PartnerDescriptionType_GlobalPartnerClassificationCode OTRNLibrary-V3_2_xsd.tmp#PartnerDescriptionType
Type PartnerDescriptionType
Properties
content: complex
Model BusinessDescription , GlobalPartnerClassificationCode
Children BusinessDescription, GlobalPartnerClassificationCode
Instance
<PartnerDescription xmlns="http://www.onetrail.net">
  <BusinessDescription>{1,1}</BusinessDescription>
  <GlobalPartnerClassificationCode>{1,1}</GlobalPartnerClassificationCode>
</PartnerDescription>
Source
<xsd:element name="PartnerDescription" type="PartnerDescriptionType"/>
Element PartnerDescriptionType / BusinessDescription
Namespace http://www.onetrail.net
Diagram
Diagram OTRNLibrary-V3_2_xsd.tmp#BusinessDescriptionType_GlobalBusinessIdentifier OTRNLibrary-V3_2_xsd.tmp#BusinessDescriptionType_GlobalSupplyChainCode OTRNLibrary-V3_2_xsd.tmp#BusinessDescriptionType_businessName OTRNLibrary-V3_2_xsd.tmp#BusinessDescriptionType
Type BusinessDescriptionType
Properties
content: complex
Model GlobalBusinessIdentifier{0,1} , GlobalSupplyChainCode{0,1} , businessName{0,1}
Children GlobalBusinessIdentifier, GlobalSupplyChainCode, businessName
Instance
<BusinessDescription xmlns="http://www.onetrail.net">
  <GlobalBusinessIdentifier>{0,1}</GlobalBusinessIdentifier>
  <GlobalSupplyChainCode>{0,1}</GlobalSupplyChainCode>
  <businessName>{0,1}</businessName>
</BusinessDescription>
Source
<xsd:element name="BusinessDescription" type="BusinessDescriptionType"/>
Element BusinessDescriptionType / GlobalBusinessIdentifier
Namespace http://www.onetrail.net
Annotations
GLN (Global Location Number, formerly known as EAN address code).
Diagram
Diagram OTRNLibrary-V3_2_xsd.tmp#GTINStringType
Type GTINStringType
Properties
content: simple
minOccurs: 0
Facets
minLength 9
maxLength 14
Source
<xsd:element name="GlobalBusinessIdentifier" minOccurs="0" type="GTINStringType">
  <xsd:annotation>
    <xsd:documentation xml:lang="EN">GLN (Global Location Number, formerly known as EAN address code).</xsd:documentation>
  </xsd:annotation>
</xsd:element>
Element BusinessDescriptionType / GlobalSupplyChainCode
Namespace http://www.onetrail.net
Annotations
- 'Information Technology'
- 'Technical Services Industry'
Diagram
Diagram OTRNLibrary-V3_2_xsd.tmp#GlobalSupplyChainCodeType
Type GlobalSupplyChainCodeType
Properties
content: simple
minOccurs: 0
Facets
enumeration Information Technology
enumeration Technical Services Industry
Source
<xsd:element name="GlobalSupplyChainCode" minOccurs="0" type="GlobalSupplyChainCodeType">
  <xsd:annotation>
    <xsd:documentation xml:lang="EN">- 'Information Technology' - 'Technical Services Industry'</xsd:documentation>
  </xsd:annotation>
</xsd:element>
Element BusinessDescriptionType / businessName
Namespace http://www.onetrail.net
Diagram
Diagram OTRNLibrary-V3_2_xsd.tmp#FreeFormTextType_FreeFormText OTRNLibrary-V3_2_xsd.tmp#FreeFormTextType
Type FreeFormTextType
Properties
content: complex
minOccurs: 0
Model FreeFormText
Children FreeFormText
Instance
<businessName xmlns="http://www.onetrail.net">
  <FreeFormText lang="">{1,1}</FreeFormText>
</businessName>
Source
<xsd:element name="businessName" minOccurs="0" type="FreeFormTextType"/>
Element PartnerDescriptionType / GlobalPartnerClassificationCode
Namespace http://www.onetrail.net
Annotations

V3.1

Purchase Order:
In case of the fromRole, billTo and shipTo elements the value = 'Buyer'.
In case of the toRole element the value = 'Seller'.
In case of the Licence Enduser element the value = 'Enduser'

Purchase Order Confirmation:
In case of toRole, billTo, shipTo - Reseller elements the value = 'Buyer'.
In case of fromRole element the value = 'Seller'.
In case of the Licence Enduser element the value = 'Enduser'
						
Advanced Shipment Notification:
In case of TransportedBy the value = 'Carrier':
In case of toRole, BuyingPartner, ReceivingPartner (shipTo) elements the value = 'Buyer'.
In case of fromRole, OriginatingPartner and SellingPartner elements the value = 'Seller'.
Diagram
Diagram OTRNLibrary-V3_2_xsd.tmp#GlobalPartnerClassificationCodeType
Type GlobalPartnerClassificationCodeType
Properties
content: simple
Facets
enumeration Buyer
enumeration Seller
enumeration EndUser
enumeration Carrier
Source
<xsd:element name="GlobalPartnerClassificationCode" type="GlobalPartnerClassificationCodeType">
  <xsd:annotation>
    <xsd:documentation xml:lang="EN" source="V3.1">Purchase Order: In case of the fromRole, billTo and shipTo elements the value = 'Buyer'. In case of the toRole element the value = 'Seller'. In case of the Licence Enduser element the value = 'Enduser' Purchase Order Confirmation: In case of toRole, billTo, shipTo - Reseller elements the value = 'Buyer'. In case of fromRole element the value = 'Seller'. In case of the Licence Enduser element the value = 'Enduser' Advanced Shipment Notification: In case of TransportedBy the value = 'Carrier': In case of toRole, BuyingPartner, ReceivingPartner (shipTo) elements the value = 'Buyer'. In case of fromRole, OriginatingPartner and SellingPartner elements the value = 'Seller'.</xsd:documentation>
  </xsd:annotation>
</xsd:element>
Element ExtendedPartnerDescriptionType / PartnerDescription
Namespace http://www.onetrail.net
Diagram
Diagram OTRNLibrary-V3_2_xsd.tmp#PartnerDescriptionType_BusinessDescription OTRNLibrary-V3_2_xsd.tmp#PartnerDescriptionType_GlobalPartnerClassificationCode OTRNLibrary-V3_2_xsd.tmp#PartnerDescriptionType OTRNLibrary-V3_2_xsd.tmp#ExtendedPartnerDescriptionType_ExtendedPartnerDescriptionType_PartnerDescription_ContactInformation
Type extension of PartnerDescriptionType
Type hierarchy
Properties
content: complex
Model BusinessDescription , GlobalPartnerClassificationCode , ContactInformation
Children BusinessDescription, ContactInformation, GlobalPartnerClassificationCode
Instance
<PartnerDescription xmlns="http://www.onetrail.net">
  <BusinessDescription>{1,1}</BusinessDescription>
  <GlobalPartnerClassificationCode>{1,1}</GlobalPartnerClassificationCode>
  <ContactInformation>{1,1}</ContactInformation>
</PartnerDescription>
Source
<xsd:element name="PartnerDescription">
  <xsd:complexType>
    <xsd:complexContent>
      <xsd:extension base="PartnerDescriptionType">
        <xsd:sequence>
          <xsd:element name="ContactInformation" type="ContactInformationType"/>
        </xsd:sequence>
      </xsd:extension>
    </xsd:complexContent>
  </xsd:complexType>
</xsd:element>
Element ExtendedPartnerDescriptionType / PartnerDescription / ContactInformation
Namespace http://www.onetrail.net
Diagram
Diagram OTRNLibrary-V3_2_xsd.tmp#ContactInformationType_contactName OTRNLibrary-V3_2_xsd.tmp#ContactInformationType_EmailAddress OTRNLibrary-V3_2_xsd.tmp#ContactInformationType_facsimileNumber OTRNLibrary-V3_2_xsd.tmp#ContactInformationType_telephoneNumber OTRNLibrary-V3_2_xsd.tmp#ContactInformationType
Type ContactInformationType
Properties
content: complex
Model contactName , EmailAddress , facsimileNumber{0,1} , telephoneNumber
Children EmailAddress, contactName, facsimileNumber, telephoneNumber
Instance
<ContactInformation xmlns="http://www.onetrail.net">
  <contactName>{1,1}</contactName>
  <EmailAddress>{1,1}</EmailAddress>
  <facsimileNumber>{0,1}</facsimileNumber>
  <telephoneNumber>{1,1}</telephoneNumber>
</ContactInformation>
Source
<xsd:element name="ContactInformation" type="ContactInformationType"/>
Element PhysicalAddressType / addressLine1
Namespace http://www.onetrail.net
Diagram
Diagram OTRNLibrary-V3_2_xsd.tmp#FreeFormTextType_FreeFormText OTRNLibrary-V3_2_xsd.tmp#FreeFormTextType
Type FreeFormTextType
Properties
content: complex
minOccurs: 0
Model FreeFormText
Children FreeFormText
Instance
<addressLine1 xmlns="http://www.onetrail.net">
  <FreeFormText lang="">{1,1}</FreeFormText>
</addressLine1>
Source
<xsd:element name="addressLine1" minOccurs="0" type="FreeFormTextType"/>
Element PhysicalAddressType / addressLine2
Namespace http://www.onetrail.net
Diagram
Diagram OTRNLibrary-V3_2_xsd.tmp#FreeFormTextType_FreeFormText OTRNLibrary-V3_2_xsd.tmp#FreeFormTextType
Type FreeFormTextType
Properties
content: complex
minOccurs: 0
Model FreeFormText
Children FreeFormText
Instance
<addressLine2 xmlns="http://www.onetrail.net">
  <FreeFormText lang="">{1,1}</FreeFormText>
</addressLine2>
Source
<xsd:element name="addressLine2" minOccurs="0" type="FreeFormTextType"/>
Element PhysicalAddressType / addressLine3
Namespace http://www.onetrail.net
Diagram
Diagram OTRNLibrary-V3_2_xsd.tmp#FreeFormTextType_FreeFormText OTRNLibrary-V3_2_xsd.tmp#FreeFormTextType
Type FreeFormTextType
Properties
content: complex
minOccurs: 0
Model FreeFormText
Children FreeFormText
Instance
<addressLine3 xmlns="http://www.onetrail.net">
  <FreeFormText lang="">{1,1}</FreeFormText>
</addressLine3>
Source
<xsd:element name="addressLine3" minOccurs="0" type="FreeFormTextType"/>
Element PhysicalAddressType / cityName
Namespace http://www.onetrail.net
Diagram
Diagram OTRNLibrary-V3_2_xsd.tmp#FreeFormTextType_FreeFormText OTRNLibrary-V3_2_xsd.tmp#FreeFormTextType
Type FreeFormTextType
Properties
content: complex
minOccurs: 0
Model FreeFormText
Children FreeFormText
Instance
<cityName xmlns="http://www.onetrail.net">
  <FreeFormText lang="">{1,1}</FreeFormText>
</cityName>
Source
<xsd:element name="cityName" minOccurs="0" type="FreeFormTextType"/>
Element PhysicalAddressType / GlobalCountryCode
Namespace http://www.onetrail.net
Annotations

http://nl.wikipedia.org/wiki/ISO_3166-1

Please use ISO 3166-1, 2-letter country codes in capitals.
Diagram
Diagram
Type xsd:string
Properties
content: simple
minOccurs: 0
Source
<xsd:element name="GlobalCountryCode" minOccurs="0" type="xsd:string">
  <xsd:annotation>
    <xsd:documentation xml:lang="EN" source="http://nl.wikipedia.org/wiki/ISO_3166-1">Please use ISO 3166-1, 2-letter country codes in capitals.</xsd:documentation>
  </xsd:annotation>
</xsd:element>
Element PhysicalAddressType / GlobalLocationIdentifier
Namespace http://www.onetrail.net
Annotations
For future use.
Diagram
Diagram
Type xsd:string
Properties
content: simple
minOccurs: 0
Source
<xsd:element name="GlobalLocationIdentifier" minOccurs="0" type="xsd:string">
  <xsd:annotation>
    <xsd:documentation xml:lang="EN">For future use.</xsd:documentation>
  </xsd:annotation>
</xsd:element>
Element PhysicalAddressType / NationalPostalCode
Namespace http://www.onetrail.net
Diagram
Diagram
Type xsd:string
Properties
content: simple
minOccurs: 0
Source
<xsd:element name="NationalPostalCode" minOccurs="0" type="xsd:string"/>
Element PhysicalAddressType / postOfficeBoxIdentifier
Namespace http://www.onetrail.net
Annotations
This field can be used to specify a post office box instead of a physical address. 
In this case the 'NationalPostalCode' and 'cityName' need to reflect the address of the post office box.
Diagram
Diagram OTRNLibrary-V3_2_xsd.tmp#FreeFormTextType_FreeFormText OTRNLibrary-V3_2_xsd.tmp#FreeFormTextType
Type FreeFormTextType
Properties
content: complex
minOccurs: 0
Model FreeFormText
Children FreeFormText
Instance
<postOfficeBoxIdentifier xmlns="http://www.onetrail.net">
  <FreeFormText lang="">{1,1}</FreeFormText>
</postOfficeBoxIdentifier>
Source
<xsd:element name="postOfficeBoxIdentifier" minOccurs="0" type="FreeFormTextType">
  <xsd:annotation>
    <xsd:documentation xml:lang="EN">This field can be used to specify a post office box instead of a physical address. In this case the 'NationalPostalCode' and 'cityName' need to reflect the address of the post office box.</xsd:documentation>
  </xsd:annotation>
</xsd:element>
Element PhysicalAddressType / regionName
Namespace http://www.onetrail.net
Annotations
Country region, state or province.
Diagram
Diagram OTRNLibrary-V3_2_xsd.tmp#FreeFormTextType_FreeFormText OTRNLibrary-V3_2_xsd.tmp#FreeFormTextType
Type FreeFormTextType
Properties
content: complex
minOccurs: 0
Model FreeFormText
Children FreeFormText
Instance
<regionName xmlns="http://www.onetrail.net">
  <FreeFormText lang="">{1,1}</FreeFormText>
</regionName>
Source
<xsd:element name="regionName" minOccurs="0" type="FreeFormTextType">
  <xsd:annotation>
    <xsd:documentation xml:lang="EN">Country region, state or province.</xsd:documentation>
  </xsd:annotation>
</xsd:element>
Element TransportationEventType / DateStamp
Namespace http://www.onetrail.net
Annotations
Please use CCYYMMDDTHHMMSS format.
If a date is unknown the date value should be 20440404T000000
Diagram
Diagram OTRNLibrary-V3_2_xsd.tmp#DateTimeFormatType
Type DateTimeFormatType
Properties
content: simple
Facets
pattern [0-9]{8}T[0-9]{6}
Source
<xsd:element name="DateStamp" type="DateTimeFormatType">
  <xsd:annotation>
    <xsd:documentation xml:lang="EN">Please use CCYYMMDDTHHMMSS format. If a date is unknown the date value should be 20440404T000000</xsd:documentation>
  </xsd:annotation>
</xsd:element>
Element TransportationEventType / GlobalTransportEventCode
Namespace http://www.onetrail.net
Annotations

V3.2

Order values = 'Ship', 'RequestedDelivery', 'EarliestDelivery', 'LatestDelivery'.
Order response values = 'Ship', 'ShipCalculated', 'Delivery', 'DeliveryCalculated', 'RequestedDelivery', 'EarliestDelivery', 'LatestDelivery'.
Despatch advice values = 'Ship', 'ShipCalculated', 'Delivery', 'DeliveryCalculated'.
Diagram
Diagram OTRNLibrary-V3_2_xsd.tmp#GlobalTransportEventCodeType
Type GlobalTransportEventCodeType
Properties
content: simple
Facets
enumeration Ship
enumeration ShipCalculated
enumeration Delivery
enumeration DeliveryCalculated
enumeration RequestedDelivery
enumeration EarliestDelivery
enumeration LatestDelivery
Source
<xsd:element name="GlobalTransportEventCode" type="GlobalTransportEventCodeType">
  <xsd:annotation>
    <xsd:documentation xml:lang="EN" source="V3.2">Order values = 'Ship', 'RequestedDelivery', 'EarliestDelivery', 'LatestDelivery'. Order response values = 'Ship', 'ShipCalculated', 'Delivery', 'DeliveryCalculated', 'RequestedDelivery', 'EarliestDelivery', 'LatestDelivery'. Despatch advice values = 'Ship', 'ShipCalculated', 'Delivery', 'DeliveryCalculated'.</xsd:documentation>
  </xsd:annotation>
</xsd:element>
Element DateTimeType / DateTimeStamp
Namespace http://www.onetrail.net
Annotations
Please use CCYYMMDDTHHMMSS format.
If a date is unknown the date value should be 20440404T000000
Diagram
Diagram OTRNLibrary-V3_2_xsd.tmp#DateTimeFormatType
Type DateTimeFormatType
Properties
content: simple
Facets
pattern [0-9]{8}T[0-9]{6}
Source
<xsd:element name="DateTimeStamp" type="DateTimeFormatType">
  <xsd:annotation>
    <xsd:documentation xml:lang="EN">Please use CCYYMMDDTHHMMSS format. If a date is unknown the date value should be 20440404T000000</xsd:documentation>
  </xsd:annotation>
</xsd:element>
Element RemarksType / remark
Namespace http://www.onetrail.net
Diagram
Diagram OTRNLibrary-V3_2_xsd.tmp#RemarkType_lang OTRNLibrary-V3_2_xsd.tmp#RemarkType_context OTRNLibrary-V3_2_xsd.tmp#RemarkType
Type RemarkType
Properties
content: complex
minOccurs: 0
maxOccurs: unbounded
Attributes
QName Type Fixed Default Use Annotation
context xsd:string optional
Specifies the context the data belongs to. It can contain, for example;							
- 'RejectReason'
- 'Chamber Of Commerce Number'
- 'Bank Information'
- 'Header Text' or 'Footer Text'
lang restriction of xsd:string optional
Specifies the language which is used in the text. Please use ISO 639-1, 2-letter codes in capitals.
Source
<xsd:element name="remark" minOccurs="0" maxOccurs="unbounded" type="RemarkType"/>
Element ProductIdentificationType / GlobalProductIdentifier
Namespace http://www.onetrail.net
Annotations
The manufacturer part numbers must be specified in this element.
Customers using PDI (Product Data Index) can use the by Onetrail given unique part number.
Diagram
Diagram
Type xsd:string
Properties
content: simple
minOccurs: 0
Source
<xsd:element name="GlobalProductIdentifier" minOccurs="0" type="xsd:string">
  <xsd:annotation>
    <xsd:documentation xml:lang="EN">The manufacturer part numbers must be specified in this element. Customers using PDI (Product Data Index) can use the by Onetrail given unique part number.</xsd:documentation>
  </xsd:annotation>
</xsd:element>
Element ProductIdentificationType / PartnerProductIdentification
Namespace http://www.onetrail.net
Annotations
This element will hold all known references to a product.
This includes EAN, buyer-, seller-, manufacturer and end-user partnumbers.
Diagram
Diagram OTRNLibrary-V3_2_xsd.tmp#PartnerProductIdentificationType_GlobalPartnerClassificationCode OTRNLibrary-V3_2_xsd.tmp#PartnerProductIdentificationType_ProprietaryProductIdentifier OTRNLibrary-V3_2_xsd.tmp#PartnerProductIdentificationType_revisionIdentifier OTRNLibrary-V3_2_xsd.tmp#PartnerProductIdentificationType
Type PartnerProductIdentificationType
Properties
content: complex
minOccurs: 0
maxOccurs: unbounded
Model GlobalPartnerClassificationCode , ProprietaryProductIdentifier , revisionIdentifier{0,1}
Children GlobalPartnerClassificationCode, ProprietaryProductIdentifier, revisionIdentifier
Instance
<PartnerProductIdentification xmlns="http://www.onetrail.net">
  <GlobalPartnerClassificationCode>{1,1}</GlobalPartnerClassificationCode>
  <ProprietaryProductIdentifier>{1,1}</ProprietaryProductIdentifier>
  <revisionIdentifier>{0,1}</revisionIdentifier>
</PartnerProductIdentification>
Source
<xsd:element name="PartnerProductIdentification" minOccurs="0" maxOccurs="unbounded" type="PartnerProductIdentificationType">
  <xsd:annotation>
    <xsd:documentation xml:lang="EN">This element will hold all known references to a product. This includes EAN, buyer-, seller-, manufacturer and end-user partnumbers.</xsd:documentation>
  </xsd:annotation>
</xsd:element>
Element PartnerProductIdentificationType / GlobalPartnerClassificationCode
Namespace http://www.onetrail.net
Annotations
'Seller' for seller- or vendor part number or SKU (Stock Keeping Unit). 
'Manufacturer' for manufacturer part number.
'Buyer' for Buyer part number.
'EAN' for EAN product numbers.
'Enduser' for enduser product numbers.
Diagram
Diagram
Type xsd:string
Properties
content: simple
Source
<xsd:element name="GlobalPartnerClassificationCode" type="xsd:string">
  <xsd:annotation>
    <xsd:documentation xml:lang="EN">'Seller' for seller- or vendor part number or SKU (Stock Keeping Unit). 'Manufacturer' for manufacturer part number. 'Buyer' for Buyer part number. 'EAN' for EAN product numbers. 'Enduser' for enduser product numbers.</xsd:documentation>
  </xsd:annotation>
</xsd:element>
Element PartnerProductIdentificationType / ProprietaryProductIdentifier
Namespace http://www.onetrail.net
Annotations
EAN, buyer-, seller- and/or manufacturer part numbers.
Diagram
Diagram
Type xsd:string
Properties
content: simple
Source
<xsd:element name="ProprietaryProductIdentifier" type="xsd:string">
  <xsd:annotation>
    <xsd:documentation xml:lang="EN">EAN, buyer-, seller- and/or manufacturer part numbers.</xsd:documentation>
  </xsd:annotation>
</xsd:element>
Element PartnerProductIdentificationType / revisionIdentifier
Namespace http://www.onetrail.net
Annotations
Used in TI. This element can be used to specify a specific revision/version for a given product.
Diagram
Diagram OTRNLibrary-V3_2_xsd.tmp#FreeFormTextType_FreeFormText OTRNLibrary-V3_2_xsd.tmp#FreeFormTextType
Type FreeFormTextType
Properties
content: complex
minOccurs: 0
Model FreeFormText
Children FreeFormText
Instance
<revisionIdentifier xmlns="http://www.onetrail.net">
  <FreeFormText lang="">{1,1}</FreeFormText>
</revisionIdentifier>
Source
<xsd:element name="revisionIdentifier" minOccurs="0" type="FreeFormTextType">
  <xsd:annotation>
    <xsd:documentation xml:lang="EN">Used in TI. This element can be used to specify a specific revision/version for a given product.</xsd:documentation>
  </xsd:annotation>
</xsd:element>
Element roleType / PartnerRoleDescription
Namespace http://www.onetrail.net
Diagram
Diagram OTRNLibrary-V3_2_xsd.tmp#PartnerRoleDescriptionType_ContactInformation OTRNLibrary-V3_2_xsd.tmp#PartnerRoleDescriptionType_GlobalPartnerRoleClassificationCode OTRNLibrary-V3_2_xsd.tmp#PartnerRoleDescriptionType_PartnerDescription OTRNLibrary-V3_2_xsd.tmp#PartnerRoleDescriptionType
Type PartnerRoleDescriptionType
Properties
content: complex
Model ContactInformation , GlobalPartnerRoleClassificationCode , PartnerDescription
Children ContactInformation, GlobalPartnerRoleClassificationCode, PartnerDescription
Instance
<PartnerRoleDescription xmlns="http://www.onetrail.net">
  <ContactInformation>{1,1}</ContactInformation>
  <GlobalPartnerRoleClassificationCode>{1,1}</GlobalPartnerRoleClassificationCode>
  <PartnerDescription>{1,1}</PartnerDescription>
</PartnerRoleDescription>
Source
<xsd:element name="PartnerRoleDescription" type="PartnerRoleDescriptionType"/>
Element ProprietaryDocumentIdentifierType / ProprietaryDocumentIdentifier
Namespace http://www.onetrail.net
Diagram
Diagram
Type xsd:string
Properties
content: simple
Source
<xsd:element name="ProprietaryDocumentIdentifier" type="xsd:string"/>
Element FinancialAmountType / GlobalCurrencyCode
Namespace http://www.onetrail.net
Annotations
Specifies the currency. Please use ISO 4217, 3-letter codes in capitals.
Diagram
Diagram
Type restriction of xsd:string
Properties
content: simple
Facets
minLength 3
maxLength 3
Source
<xsd:element name="GlobalCurrencyCode">
  <xsd:annotation>
    <xsd:documentation xml:lang="EN">Specifies the currency. Please use ISO 4217, 3-letter codes in capitals.</xsd:documentation>
  </xsd:annotation>
  <xsd:simpleType>
    <xsd:restriction base="xsd:string">
      <xsd:minLength value="3"/>
      <xsd:maxLength value="3"/>
    </xsd:restriction>
  </xsd:simpleType>
</xsd:element>
Element FinancialAmountType / MonetaryAmount
Namespace http://www.onetrail.net
Diagram
Diagram
Type xsd:decimal
Properties
content: simple
Source
<xsd:element name="MonetaryAmount" type="xsd:decimal"/>
Element DocumentReferenceType / DateTimeStamp
Namespace http://www.onetrail.net
Annotations
Please use CCYYMMDDTHHMMSS format.
If a date is unknown the date value should be 20440404T000000
Diagram
Diagram OTRNLibrary-V3_2_xsd.tmp#DateTimeFormatType
Type DateTimeFormatType
Properties
content: simple
minOccurs: 0
Facets
pattern [0-9]{8}T[0-9]{6}
Source
<xsd:element name="DateTimeStamp" minOccurs="0" type="DateTimeFormatType">
  <xsd:annotation>
    <xsd:documentation xml:lang="EN">Please use CCYYMMDDTHHMMSS format. If a date is unknown the date value should be 20440404T000000</xsd:documentation>
  </xsd:annotation>
</xsd:element>
Element DocumentReferenceType / GlobalDocumentReferenceTypeCode
Namespace http://www.onetrail.net
Diagram
Diagram OTRNLibrary-V3_2_xsd.tmp#GlobalDocumentReferenceTypeCodeType
Type GlobalDocumentReferenceTypeCodeType
Properties
content: simple
Facets
enumeration Purchase Order
enumeration Sales Order
enumeration Work Order
enumeration Contract
enumeration Quote
enumeration Project
enumeration Ultimate Customer Order
Source
<xsd:element name="GlobalDocumentReferenceTypeCode" type="GlobalDocumentReferenceTypeCodeType"/>
Element DocumentReferenceType / ProprietaryDocumentIdentifier
Namespace http://www.onetrail.net
Annotations

V3.1

Value according GlobalDocumentReferenceTypeCode.
Diagram
Diagram
Type xsd:string
Properties
content: simple
Source
<xsd:element name="ProprietaryDocumentIdentifier" type="xsd:string">
  <xsd:annotation>
    <xsd:documentation source="V3.1">Value according GlobalDocumentReferenceTypeCode.</xsd:documentation>
  </xsd:annotation>
</xsd:element>
Element DocumentLineReferenceType / LineNumber
Namespace http://www.onetrail.net
Annotations
Reference line number.
Not all sellers can register the reference line number in their back-end application(s).
Diagram
Diagram
Type xsd:string
Properties
content: simple
minOccurs: 0
Source
<xsd:element name="LineNumber" minOccurs="0" type="xsd:string">
  <xsd:annotation>
    <xsd:documentation xml:lang="EN">Reference line number. Not all sellers can register the reference line number in their back-end application(s).</xsd:documentation>
  </xsd:annotation>
</xsd:element>
Element chargesType / charge
Namespace http://www.onetrail.net
Diagram
Diagram OTRNLibrary-V3_2_xsd.tmp#chargeType_type OTRNLibrary-V3_2_xsd.tmp#chargeType_origcode OTRNLibrary-V3_2_xsd.tmp#chargeType_description OTRNLibrary-V3_2_xsd.tmp#chargeType_monetaryAmount OTRNLibrary-V3_2_xsd.tmp#chargeType_tax OTRNLibrary-V3_2_xsd.tmp#chargeType
Type chargeType
Properties
content: complex
maxOccurs: unbounded
Model description , monetaryAmount , tax{0,1}
Children description, monetaryAmount, tax
Instance
<charge origcode="" type="" xmlns="http://www.onetrail.net">
  <description>{1,1}</description>
  <monetaryAmount>{1,1}</monetaryAmount>
  <tax rate="" type="">{0,1}</tax>
</charge>
Attributes
QName Type Fixed Default Use Annotation
origcode xsd:string required
type xsd:string optional
Source
<xsd:element name="charge" type="chargeType" maxOccurs="unbounded"/>
Element chargeType / description
Namespace http://www.onetrail.net
Diagram
Diagram
Type xsd:string
Properties
content: simple
Source
<xsd:element name="description" type="xsd:string"/>
Element chargeType / monetaryAmount
Namespace http://www.onetrail.net
Diagram
Diagram OTRNLibrary-V3_2_xsd.tmp#FinancialAmountType_GlobalCurrencyCode OTRNLibrary-V3_2_xsd.tmp#FinancialAmountType_MonetaryAmount OTRNLibrary-V3_2_xsd.tmp#FinancialAmountType
Type FinancialAmountType
Properties
content: complex
Model GlobalCurrencyCode , MonetaryAmount
Children GlobalCurrencyCode, MonetaryAmount
Instance
<monetaryAmount xmlns="http://www.onetrail.net">
  <GlobalCurrencyCode>{1,1}</GlobalCurrencyCode>
  <MonetaryAmount>{1,1}</MonetaryAmount>
</monetaryAmount>
Source
<xsd:element name="monetaryAmount" type="FinancialAmountType"/>
Element chargeType / tax
Namespace http://www.onetrail.net
Diagram
Diagram OTRNLibrary-V3_2_xsd.tmp#taxType_type OTRNLibrary-V3_2_xsd.tmp#taxType_rate OTRNLibrary-V3_2_xsd.tmp#taxType_monetaryAmount OTRNLibrary-V3_2_xsd.tmp#taxType
Type taxType
Properties
content: complex
minOccurs: 0
Model monetaryAmount{0,1}
Children monetaryAmount
Instance
<tax rate="" type="" xmlns="http://www.onetrail.net">
  <monetaryAmount>{0,1}</monetaryAmount>
</tax>
Attributes
QName Type Fixed Default Use Annotation
rate xsd:string optional
type xsd:string required
Source
<xsd:element name="tax" minOccurs="0" type="taxType"/>
Element taxType / monetaryAmount
Namespace http://www.onetrail.net
Diagram
Diagram OTRNLibrary-V3_2_xsd.tmp#FinancialAmountType_GlobalCurrencyCode OTRNLibrary-V3_2_xsd.tmp#FinancialAmountType_MonetaryAmount OTRNLibrary-V3_2_xsd.tmp#FinancialAmountType
Type FinancialAmountType
Properties
content: complex
minOccurs: 0
Model GlobalCurrencyCode , MonetaryAmount
Children GlobalCurrencyCode, MonetaryAmount
Instance
<monetaryAmount xmlns="http://www.onetrail.net">
  <GlobalCurrencyCode>{1,1}</GlobalCurrencyCode>
  <MonetaryAmount>{1,1}</MonetaryAmount>
</monetaryAmount>
Source
<xsd:element name="monetaryAmount" type="FinancialAmountType" minOccurs="0"/>
Element discountsType / discount
Namespace http://www.onetrail.net
Diagram
Diagram OTRNLibrary-V3_2_xsd.tmp#discountType_type OTRNLibrary-V3_2_xsd.tmp#discountType_origcode OTRNLibrary-V3_2_xsd.tmp#discountType_description OTRNLibrary-V3_2_xsd.tmp#discountType_monetaryAmount OTRNLibrary-V3_2_xsd.tmp#discountType_discountPercentage OTRNLibrary-V3_2_xsd.tmp#discountType_tax OTRNLibrary-V3_2_xsd.tmp#discountType
Type discountType
Properties
content: complex
maxOccurs: unbounded
Model description , monetaryAmount{0,1} , discountPercentage{0,1} , tax{0,1}
Children description, discountPercentage, monetaryAmount, tax
Instance
<discount origcode="" type="" xmlns="http://www.onetrail.net">
  <description>{1,1}</description>
  <monetaryAmount>{0,1}</monetaryAmount>
  <discountPercentage>{0,1}</discountPercentage>
  <tax rate="" type="">{0,1}</tax>
</discount>
Attributes
QName Type Fixed Default Use Annotation
origcode xsd:string required
type xsd:string optional
Source
<xsd:element name="discount" type="discountType" maxOccurs="unbounded"/>
Element discountType / description
Namespace http://www.onetrail.net
Diagram
Diagram
Type xsd:string
Properties
content: simple
Source
<xsd:element name="description" type="xsd:string"/>
Element discountType / monetaryAmount
Namespace http://www.onetrail.net
Diagram
Diagram OTRNLibrary-V3_2_xsd.tmp#FinancialAmountType_GlobalCurrencyCode OTRNLibrary-V3_2_xsd.tmp#FinancialAmountType_MonetaryAmount OTRNLibrary-V3_2_xsd.tmp#FinancialAmountType
Type FinancialAmountType
Properties
content: complex
minOccurs: 0
Model GlobalCurrencyCode , MonetaryAmount
Children GlobalCurrencyCode, MonetaryAmount
Instance
<monetaryAmount xmlns="http://www.onetrail.net">
  <GlobalCurrencyCode>{1,1}</GlobalCurrencyCode>
  <MonetaryAmount>{1,1}</MonetaryAmount>
</monetaryAmount>
Source
<xsd:element name="monetaryAmount" minOccurs="0" type="FinancialAmountType"/>
Element discountType / discountPercentage
Namespace http://www.onetrail.net
Diagram
Diagram
Type xsd:string
Properties
content: simple
minOccurs: 0
Source
<xsd:element name="discountPercentage" minOccurs="0" type="xsd:string"/>
Element discountType / tax
Namespace http://www.onetrail.net
Diagram
Diagram OTRNLibrary-V3_2_xsd.tmp#taxType_type OTRNLibrary-V3_2_xsd.tmp#taxType_rate OTRNLibrary-V3_2_xsd.tmp#taxType_monetaryAmount OTRNLibrary-V3_2_xsd.tmp#taxType
Type taxType
Properties
content: complex
minOccurs: 0
Model monetaryAmount{0,1}
Children monetaryAmount
Instance
<tax rate="" type="" xmlns="http://www.onetrail.net">
  <monetaryAmount>{0,1}</monetaryAmount>
</tax>
Attributes
QName Type Fixed Default Use Annotation
rate xsd:string optional
type xsd:string required
Source
<xsd:element name="tax" minOccurs="0" type="taxType"/>
Element taxesType / tax
Namespace http://www.onetrail.net
Diagram
Diagram OTRNLibrary-V3_2_xsd.tmp#taxType_type OTRNLibrary-V3_2_xsd.tmp#taxType_rate OTRNLibrary-V3_2_xsd.tmp#taxType_monetaryAmount OTRNLibrary-V3_2_xsd.tmp#taxType
Type taxType
Properties
content: complex
maxOccurs: unbounded
Model monetaryAmount{0,1}
Children monetaryAmount
Instance
<tax rate="" type="" xmlns="http://www.onetrail.net">
  <monetaryAmount>{0,1}</monetaryAmount>
</tax>
Attributes
QName Type Fixed Default Use Annotation
rate xsd:string optional
type xsd:string required
Source
<xsd:element name="tax" type="taxType" maxOccurs="unbounded"/>
Element LicenceOrderType / EndUser
Namespace http://www.onetrail.net
Diagram
Diagram OTRNLibrary-V3_2_xsd.tmp#ExtendedPartnerDescriptionType_PartnerDescription OTRNLibrary-V3_2_xsd.tmp#ExtendedPartnerDescriptionType OTRNLibrary-V3_2_xsd.tmp#LicencePartyDescriptionType_PhysicalAddress OTRNLibrary-V3_2_xsd.tmp#LicencePartyDescriptionType
Type LicencePartyDescriptionType
Type hierarchy
Properties
content: complex
Model PartnerDescription , PhysicalAddress{0,1}
Children PartnerDescription, PhysicalAddress
Instance
<EndUser xmlns="http://www.onetrail.net">
  <PartnerDescription>{1,1}</PartnerDescription>
  <PhysicalAddress>{0,1}</PhysicalAddress>
</EndUser>
Source
<xsd:element name="EndUser" type="LicencePartyDescriptionType"/>
Element LicencePartyDescriptionType / PhysicalAddress
Namespace http://www.onetrail.net
Diagram
Diagram OTRNLibrary-V3_2_xsd.tmp#PhysicalAddressType_addressLine1 OTRNLibrary-V3_2_xsd.tmp#PhysicalAddressType_addressLine2 OTRNLibrary-V3_2_xsd.tmp#PhysicalAddressType_addressLine3 OTRNLibrary-V3_2_xsd.tmp#PhysicalAddressType_cityName OTRNLibrary-V3_2_xsd.tmp#PhysicalAddressType_GlobalCountryCode OTRNLibrary-V3_2_xsd.tmp#PhysicalAddressType_GlobalLocationIdentifier OTRNLibrary-V3_2_xsd.tmp#PhysicalAddressType_NationalPostalCode OTRNLibrary-V3_2_xsd.tmp#PhysicalAddressType_postOfficeBoxIdentifier OTRNLibrary-V3_2_xsd.tmp#PhysicalAddressType_regionName OTRNLibrary-V3_2_xsd.tmp#PhysicalAddressType
Type PhysicalAddressType
Properties
content: complex
minOccurs: 0
Model addressLine1{0,1} , addressLine2{0,1} , addressLine3{0,1} , cityName{0,1} , GlobalCountryCode{0,1} , GlobalLocationIdentifier{0,1} , NationalPostalCode{0,1} , postOfficeBoxIdentifier{0,1} , regionName{0,1}
Children GlobalCountryCode, GlobalLocationIdentifier, NationalPostalCode, addressLine1, addressLine2, addressLine3, cityName, postOfficeBoxIdentifier, regionName
Instance
<PhysicalAddress xmlns="http://www.onetrail.net">
  <addressLine1>{0,1}</addressLine1>
  <addressLine2>{0,1}</addressLine2>
  <addressLine3>{0,1}</addressLine3>
  <cityName>{0,1}</cityName>
  <GlobalCountryCode>{0,1}</GlobalCountryCode>
  <GlobalLocationIdentifier>{0,1}</GlobalLocationIdentifier>
  <NationalPostalCode>{0,1}</NationalPostalCode>
  <postOfficeBoxIdentifier>{0,1}</postOfficeBoxIdentifier>
  <regionName>{0,1}</regionName>
</PhysicalAddress>
Source
<xsd:element name="PhysicalAddress" minOccurs="0" type="PhysicalAddressType"/>
Element LicenceOrderType / Reseller
Namespace http://www.onetrail.net
Diagram
Diagram OTRNLibrary-V3_2_xsd.tmp#ExtendedPartnerDescriptionType_PartnerDescription OTRNLibrary-V3_2_xsd.tmp#ExtendedPartnerDescriptionType OTRNLibrary-V3_2_xsd.tmp#LicencePartyDescriptionType_PhysicalAddress OTRNLibrary-V3_2_xsd.tmp#LicencePartyDescriptionType
Type LicencePartyDescriptionType
Type hierarchy
Properties
content: complex
Model PartnerDescription , PhysicalAddress{0,1}
Children PartnerDescription, PhysicalAddress
Instance
<Reseller xmlns="http://www.onetrail.net">
  <PartnerDescription>{1,1}</PartnerDescription>
  <PhysicalAddress>{0,1}</PhysicalAddress>
</Reseller>
Source
<xsd:element name="Reseller" type="LicencePartyDescriptionType"/>
Element LicenceOrderType / VendorName
Namespace http://www.onetrail.net
Diagram
Diagram
Type xsd:string
Properties
content: simple
Source
<xsd:element name="VendorName" type="xsd:string"/>
Element LicenceOrderType / ContractNumber
Namespace http://www.onetrail.net
Diagram
Diagram
Type xsd:string
Properties
content: simple
Source
<xsd:element name="ContractNumber" type="xsd:string"/>
Element LicenceOrderType / PriceLevel
Namespace http://www.onetrail.net
Diagram
Diagram
Type xsd:string
Properties
content: simple
Source
<xsd:element name="PriceLevel" type="xsd:string"/>
Element LicenceOrderType / MediaKitLanguage
Namespace http://www.onetrail.net
Diagram
Diagram
Type xsd:string
Properties
content: simple
minOccurs: 0
Source
<xsd:element name="MediaKitLanguage" minOccurs="0" type="xsd:string"/>
Element LicenceOrderType / LicenceStartDate
Namespace http://www.onetrail.net
Diagram
Diagram
Type xsd:string
Properties
content: simple
minOccurs: 0
Source
<xsd:element name="LicenceStartDate" minOccurs="0" type="xsd:string"/>
Element LicenceOrderType / LicenceEndDate
Namespace http://www.onetrail.net
Diagram
Diagram
Type xsd:string
Properties
content: simple
minOccurs: 0
Source
<xsd:element name="LicenceEndDate" minOccurs="0" type="xsd:string"/>
Element LicenceOrderType / LicencePool
Namespace http://www.onetrail.net
Diagram
Diagram
Type xsd:string
Properties
content: simple
minOccurs: 0
Source
<xsd:element name="LicencePool" minOccurs="0" type="xsd:string"/>
Element LicenceOrderType / ResellerPO
Namespace http://www.onetrail.net
Diagram
Diagram
Type xsd:string
Properties
content: simple
minOccurs: 0
Source
<xsd:element name="ResellerPO" minOccurs="0" type="xsd:string"/>
Element LicenceOrderType / Reorder
Namespace http://www.onetrail.net
Diagram
Diagram
Type xsd:boolean
Properties
content: simple
minOccurs: 0
Source
<xsd:element name="Reorder" minOccurs="0" type="xsd:boolean"/>
Element TradeItemModificationType / ProductIdentification
Namespace http://www.onetrail.net
Diagram
Diagram OTRNLibrary-V3_2_xsd.tmp#ProductIdentificationType_GlobalProductIdentifier OTRNLibrary-V3_2_xsd.tmp#ProductIdentificationType_PartnerProductIdentification OTRNLibrary-V3_2_xsd.tmp#ProductIdentificationType
Type ProductIdentificationType
Properties
content: complex
Model GlobalProductIdentifier{0,1} , PartnerProductIdentification*
Children GlobalProductIdentifier, PartnerProductIdentification
Instance
<ProductIdentification xmlns="http://www.onetrail.net">
  <GlobalProductIdentifier>{0,1}</GlobalProductIdentifier>
  <PartnerProductIdentification>{0,unbounded}</PartnerProductIdentification>
</ProductIdentification>
Source
<xsd:element name="ProductIdentification" type="ProductIdentificationType"/>
Element TradeItemModificationType / sequenceNumber
Namespace http://www.onetrail.net
Diagram
Diagram
Type xsd:integer
Properties
content: simple
minOccurs: 0
Source
<xsd:element name="sequenceNumber" type="xsd:integer" minOccurs="0"/>
Element TradeItemModificationType / GlobalProductUnitOfMeasureCode
Namespace http://www.onetrail.net
Diagram
Diagram OTRNLibrary-V3_2_xsd.tmp#GlobalProductUnitOfMeasureCodeType
Type GlobalProductUnitOfMeasureCodeType
Properties
content: simple
minOccurs: 0
Facets
enumeration EACH
enumeration CMT
enumeration DAY
enumeration GRM
enumeration HUR
enumeration KGM
enumeration LTR
enumeration MIN
enumeration MLT
enumeration MMT
enumeration MTK
enumeration MTQ
enumeration MTR
enumeration TNE
Source
<xsd:element name="GlobalProductUnitOfMeasureCode" type="GlobalProductUnitOfMeasureCodeType" minOccurs="0"/>
Element TradeItemModificationType / ProductQuantity
Namespace http://www.onetrail.net
Diagram
Diagram
Type xsd:nonNegativeInteger
Properties
content: simple
minOccurs: 0
Source
<xsd:element name="ProductQuantity" type="xsd:nonNegativeInteger" minOccurs="0"/>
Complex Type PartnerRoleDescriptionType
Namespace http://www.onetrail.net
Diagram
Diagram OTRNLibrary-V3_2_xsd.tmp#PartnerRoleDescriptionType_ContactInformation OTRNLibrary-V3_2_xsd.tmp#PartnerRoleDescriptionType_GlobalPartnerRoleClassificationCode OTRNLibrary-V3_2_xsd.tmp#PartnerRoleDescriptionType_PartnerDescription
Used by
Model ContactInformation , GlobalPartnerRoleClassificationCode , PartnerDescription
Children ContactInformation, GlobalPartnerRoleClassificationCode, PartnerDescription
Source
<xsd:complexType name="PartnerRoleDescriptionType">
  <xsd:sequence>
    <xsd:element name="ContactInformation" type="ContactInformationType"/>
    <xsd:element name="GlobalPartnerRoleClassificationCode" type="GlobalPartnerRoleClassificationCodeType">
      <xsd:annotation>
        <xsd:documentation xml:lang="EN" source="V3.1">Purchase Order: In case of the fromRole, billTo and shipTo elements the value = 'Reseller'. In case of the toRole element the value = 'Distributor' or 'Manufacturer'. Purchase Order Confirmation: In case of the toRole, billTo and shipTo elements the value = 'Reseller'. In case of the fromRole element the value = 'Distributor' or 'Manufacturer'. Advanced Shipment Notification: In case of toRole, BuyingPartner, ReceivingPartner (shipTo) elements the value = 'Reseller'. In case of fromRole, OriginatingPartner and SellingPartner elements the value = 'Distributor' or 'Manufacturer'.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="PartnerDescription" type="PartnerDescriptionType"/>
  </xsd:sequence>
</xsd:complexType>
Complex Type ContactInformationType
Namespace http://www.onetrail.net
Diagram
Diagram OTRNLibrary-V3_2_xsd.tmp#ContactInformationType_contactName OTRNLibrary-V3_2_xsd.tmp#ContactInformationType_EmailAddress OTRNLibrary-V3_2_xsd.tmp#ContactInformationType_facsimileNumber OTRNLibrary-V3_2_xsd.tmp#ContactInformationType_telephoneNumber
Used by
Model contactName , EmailAddress , facsimileNumber{0,1} , telephoneNumber
Children EmailAddress, contactName, facsimileNumber, telephoneNumber
Source
<xsd:complexType name="ContactInformationType">
  <xsd:sequence>
    <xsd:element name="contactName" type="FreeFormTextType"/>
    <xsd:element name="EmailAddress" type="xsd:string"/>
    <xsd:element name="facsimileNumber" minOccurs="0" type="CommunicationsNumberType"/>
    <xsd:element name="telephoneNumber" type="CommunicationsNumberType"/>
  </xsd:sequence>
</xsd:complexType>
Complex Type FreeFormTextType
Namespace http://www.onetrail.net
Diagram
Diagram OTRNLibrary-V3_2_xsd.tmp#FreeFormTextType_FreeFormText
Used by
Model FreeFormText
Children FreeFormText
Source
<xsd:complexType name="FreeFormTextType">
  <xsd:sequence>
    <xsd:element name="FreeFormText" type="fftType"/>
  </xsd:sequence>
</xsd:complexType>
Complex Type fftType
Namespace http://www.onetrail.net
Diagram
Diagram OTRNLibrary-V3_2_xsd.tmp#fftType_lang
Type extension of xsd:string
Used by
Attributes
QName Type Fixed Default Use Annotation
lang restriction of xsd:string optional
Specifies the language which is used in the text. Please use ISO 639-1, 2-letter codes in capitals.
Source
<xsd:complexType name="fftType">
  <xsd:simpleContent>
    <xsd:extension base="xsd:string">
      <xsd:attribute name="lang">
        <xsd:annotation>
          <xsd:documentation xml:lang="EN">Specifies the language which is used in the text. Please use ISO 639-1, 2-letter codes in capitals.</xsd:documentation>
        </xsd:annotation>
        <xsd:simpleType>
          <xsd:restriction base="xsd:string">
            <xsd:minLength value="2"/>
            <xsd:maxLength value="2"/>
          </xsd:restriction>
        </xsd:simpleType>
      </xsd:attribute>
    </xsd:extension>
  </xsd:simpleContent>
</xsd:complexType>
Complex Type CommunicationsNumberType
Namespace http://www.onetrail.net
Diagram
Diagram OTRNLibrary-V3_2_xsd.tmp#CommunicationsNumberType_CommunicationsNumber
Used by
Model CommunicationsNumber
Children CommunicationsNumber
Source
<xsd:complexType name="CommunicationsNumberType">
  <xsd:sequence>
    <xsd:element name="CommunicationsNumber" type="xsd:string"/>
  </xsd:sequence>
</xsd:complexType>
Simple Type GlobalPartnerRoleClassificationCodeType
Namespace http://www.onetrail.net
Diagram
Diagram
Type restriction of xsd:string
Facets
enumeration Distributor
enumeration Reseller
enumeration Manufacturer
Used by
Source
<xsd:simpleType name="GlobalPartnerRoleClassificationCodeType">
  <xsd:restriction base="xsd:string">
    <xsd:enumeration value="Distributor"/>
    <xsd:enumeration value="Reseller"/>
    <xsd:enumeration value="Manufacturer"/>
  </xsd:restriction>
</xsd:simpleType>
Complex Type PartnerDescriptionType
Namespace http://www.onetrail.net
Diagram
Diagram OTRNLibrary-V3_2_xsd.tmp#PartnerDescriptionType_BusinessDescription OTRNLibrary-V3_2_xsd.tmp#PartnerDescriptionType_GlobalPartnerClassificationCode
Used by
Model BusinessDescription , GlobalPartnerClassificationCode
Children BusinessDescription, GlobalPartnerClassificationCode
Source
<xsd:complexType name="PartnerDescriptionType">
  <xsd:sequence>
    <xsd:element name="BusinessDescription" type="BusinessDescriptionType"/>
    <xsd:element name="GlobalPartnerClassificationCode" type="GlobalPartnerClassificationCodeType">
      <xsd:annotation>
        <xsd:documentation xml:lang="EN" source="V3.1">Purchase Order: In case of the fromRole, billTo and shipTo elements the value = 'Buyer'. In case of the toRole element the value = 'Seller'. In case of the Licence Enduser element the value = 'Enduser' Purchase Order Confirmation: In case of toRole, billTo, shipTo - Reseller elements the value = 'Buyer'. In case of fromRole element the value = 'Seller'. In case of the Licence Enduser element the value = 'Enduser' Advanced Shipment Notification: In case of TransportedBy the value = 'Carrier': In case of toRole, BuyingPartner, ReceivingPartner (shipTo) elements the value = 'Buyer'. In case of fromRole, OriginatingPartner and SellingPartner elements the value = 'Seller'.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:sequence>
</xsd:complexType>
Complex Type BusinessDescriptionType
Namespace http://www.onetrail.net
Diagram
Diagram OTRNLibrary-V3_2_xsd.tmp#BusinessDescriptionType_GlobalBusinessIdentifier OTRNLibrary-V3_2_xsd.tmp#BusinessDescriptionType_GlobalSupplyChainCode OTRNLibrary-V3_2_xsd.tmp#BusinessDescriptionType_businessName
Used by
Model GlobalBusinessIdentifier{0,1} , GlobalSupplyChainCode{0,1} , businessName{0,1}
Children GlobalBusinessIdentifier, GlobalSupplyChainCode, businessName
Source
<xsd:complexType name="BusinessDescriptionType">
  <xsd:sequence>
    <xsd:element name="GlobalBusinessIdentifier" minOccurs="0" type="GTINStringType">
      <xsd:annotation>
        <xsd:documentation xml:lang="EN">GLN (Global Location Number, formerly known as EAN address code).</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="GlobalSupplyChainCode" minOccurs="0" type="GlobalSupplyChainCodeType">
      <xsd:annotation>
        <xsd:documentation xml:lang="EN">- 'Information Technology' - 'Technical Services Industry'</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="businessName" minOccurs="0" type="FreeFormTextType"/>
  </xsd:sequence>
</xsd:complexType>
Simple Type GTINStringType
Namespace http://www.onetrail.net
Diagram
Diagram
Type restriction of xsd:string
Facets
minLength 9
maxLength 14
Used by
Source
<xsd:simpleType name="GTINStringType">
  <xsd:restriction base="xsd:string">
    <xsd:maxLength value="14"/>
    <xsd:minLength value="9"/>
  </xsd:restriction>
</xsd:simpleType>
Simple Type GlobalSupplyChainCodeType
Namespace http://www.onetrail.net
Diagram
Diagram
Type restriction of xsd:string
Facets
enumeration Information Technology
enumeration Technical Services Industry
Used by
Source
<xsd:simpleType name="GlobalSupplyChainCodeType">
  <xsd:restriction base="xsd:string">
    <xsd:enumeration value="Information Technology"/>
    <xsd:enumeration value="Technical Services Industry"/>
  </xsd:restriction>
</xsd:simpleType>
Simple Type GlobalPartnerClassificationCodeType
Namespace http://www.onetrail.net
Diagram
Diagram
Type restriction of xsd:string
Facets
enumeration Buyer
enumeration Seller
enumeration EndUser
enumeration Carrier
Used by
Source
<xsd:simpleType name="GlobalPartnerClassificationCodeType">
  <xsd:restriction base="xsd:string">
    <xsd:enumeration value="Buyer"/>
    <xsd:enumeration value="Seller"/>
    <xsd:enumeration value="EndUser"/>
    <xsd:enumeration value="Carrier"/>
  </xsd:restriction>
</xsd:simpleType>
Complex Type ExtendedPartnerDescriptionType
Namespace http://www.onetrail.net
Diagram
Diagram OTRNLibrary-V3_2_xsd.tmp#ExtendedPartnerDescriptionType_PartnerDescription
Used by
Model PartnerDescription
Children PartnerDescription
Source
<xsd:complexType name="ExtendedPartnerDescriptionType">
  <xsd:sequence>
    <xsd:element name="PartnerDescription">
      <xsd:complexType>
        <xsd:complexContent>
          <xsd:extension base="PartnerDescriptionType">
            <xsd:sequence>
              <xsd:element name="ContactInformation" type="ContactInformationType"/>
            </xsd:sequence>
          </xsd:extension>
        </xsd:complexContent>
      </xsd:complexType>
    </xsd:element>
  </xsd:sequence>
</xsd:complexType>
Complex Type PhysicalAddressType
Namespace http://www.onetrail.net
Diagram
Diagram OTRNLibrary-V3_2_xsd.tmp#PhysicalAddressType_addressLine1 OTRNLibrary-V3_2_xsd.tmp#PhysicalAddressType_addressLine2 OTRNLibrary-V3_2_xsd.tmp#PhysicalAddressType_addressLine3 OTRNLibrary-V3_2_xsd.tmp#PhysicalAddressType_cityName OTRNLibrary-V3_2_xsd.tmp#PhysicalAddressType_GlobalCountryCode OTRNLibrary-V3_2_xsd.tmp#PhysicalAddressType_GlobalLocationIdentifier OTRNLibrary-V3_2_xsd.tmp#PhysicalAddressType_NationalPostalCode OTRNLibrary-V3_2_xsd.tmp#PhysicalAddressType_postOfficeBoxIdentifier OTRNLibrary-V3_2_xsd.tmp#PhysicalAddressType_regionName
Used by
Model addressLine1{0,1} , addressLine2{0,1} , addressLine3{0,1} , cityName{0,1} , GlobalCountryCode{0,1} , GlobalLocationIdentifier{0,1} , NationalPostalCode{0,1} , postOfficeBoxIdentifier{0,1} , regionName{0,1}
Children GlobalCountryCode, GlobalLocationIdentifier, NationalPostalCode, addressLine1, addressLine2, addressLine3, cityName, postOfficeBoxIdentifier, regionName
Source
<xsd:complexType name="PhysicalAddressType">
  <xsd:sequence>
    <xsd:element name="addressLine1" minOccurs="0" type="FreeFormTextType"/>
    <xsd:element name="addressLine2" minOccurs="0" type="FreeFormTextType"/>
    <xsd:element name="addressLine3" minOccurs="0" type="FreeFormTextType"/>
    <xsd:element name="cityName" minOccurs="0" type="FreeFormTextType"/>
    <xsd:element name="GlobalCountryCode" minOccurs="0" type="xsd:string">
      <xsd:annotation>
        <xsd:documentation xml:lang="EN" source="http://nl.wikipedia.org/wiki/ISO_3166-1">Please use ISO 3166-1, 2-letter country codes in capitals.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="GlobalLocationIdentifier" minOccurs="0" type="xsd:string">
      <xsd:annotation>
        <xsd:documentation xml:lang="EN">For future use.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="NationalPostalCode" minOccurs="0" type="xsd:string"/>
    <xsd:element name="postOfficeBoxIdentifier" minOccurs="0" type="FreeFormTextType">
      <xsd:annotation>
        <xsd:documentation xml:lang="EN">This field can be used to specify a post office box instead of a physical address. In this case the 'NationalPostalCode' and 'cityName' need to reflect the address of the post office box.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="regionName" minOccurs="0" type="FreeFormTextType">
      <xsd:annotation>
        <xsd:documentation xml:lang="EN">Country region, state or province.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:sequence>
</xsd:complexType>
Complex Type TransportationEventType
Namespace http://www.onetrail.net
Diagram
Diagram OTRNLibrary-V3_2_xsd.tmp#TransportationEventType_DateStamp OTRNLibrary-V3_2_xsd.tmp#TransportationEventType_GlobalTransportEventCode
Used by
Model DateStamp , GlobalTransportEventCode
Children DateStamp, GlobalTransportEventCode
Source
<xsd:complexType name="TransportationEventType">
  <xsd:sequence>
    <xsd:element name="DateStamp" type="DateTimeFormatType">
      <xsd:annotation>
        <xsd:documentation xml:lang="EN">Please use CCYYMMDDTHHMMSS format. If a date is unknown the date value should be 20440404T000000</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="GlobalTransportEventCode" type="GlobalTransportEventCodeType">
      <xsd:annotation>
        <xsd:documentation xml:lang="EN" source="V3.2">Order values = 'Ship', 'RequestedDelivery', 'EarliestDelivery', 'LatestDelivery'. Order response values = 'Ship', 'ShipCalculated', 'Delivery', 'DeliveryCalculated', 'RequestedDelivery', 'EarliestDelivery', 'LatestDelivery'. Despatch advice values = 'Ship', 'ShipCalculated', 'Delivery', 'DeliveryCalculated'.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:sequence>
</xsd:complexType>
Simple Type DateTimeFormatType
Namespace http://www.onetrail.net
Diagram
Diagram
Type restriction of xsd:string
Facets
pattern [0-9]{8}T[0-9]{6}
Used by
Source
<xsd:simpleType name="DateTimeFormatType">
  <xsd:restriction base="xsd:string">
    <xsd:pattern value="[0-9]{8}T[0-9]{6}"/>
  </xsd:restriction>
</xsd:simpleType>
Simple Type GlobalTransportEventCodeType
Namespace http://www.onetrail.net
Diagram
Diagram
Type restriction of xsd:string
Facets
enumeration Ship
enumeration ShipCalculated
enumeration Delivery
enumeration DeliveryCalculated
enumeration RequestedDelivery
enumeration EarliestDelivery
enumeration LatestDelivery
Used by
Source
<xsd:simpleType name="GlobalTransportEventCodeType">
  <xsd:restriction base="xsd:string">
    <!-- V3.2 -->
    <xsd:enumeration value="Ship"/>
    <xsd:enumeration value="ShipCalculated"/>
    <xsd:enumeration value="Delivery"/>
    <xsd:enumeration value="DeliveryCalculated"/>
    <!-- V3.2 END -->
    <xsd:enumeration value="RequestedDelivery"/>
    <!-- for TI responses -->
    <xsd:enumeration value="EarliestDelivery"/>
    <xsd:enumeration value="LatestDelivery"/>
  </xsd:restriction>
</xsd:simpleType>
Complex Type DateTimeType
Namespace http://www.onetrail.net
Diagram
Diagram OTRNLibrary-V3_2_xsd.tmp#DateTimeType_DateTimeStamp
Used by
Model DateTimeStamp
Children DateTimeStamp
Source
<xsd:complexType name="DateTimeType">
  <xsd:sequence>
    <xsd:element name="DateTimeStamp" type="DateTimeFormatType">
      <xsd:annotation>
        <xsd:documentation xml:lang="EN">Please use CCYYMMDDTHHMMSS format. If a date is unknown the date value should be 20440404T000000</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:sequence>
</xsd:complexType>
Complex Type RemarksType
Namespace http://www.onetrail.net
Diagram
Diagram OTRNLibrary-V3_2_xsd.tmp#RemarksType_remark
Used by
Model remark*
Children remark
Source
<xsd:complexType name="RemarksType">
  <xsd:sequence>
    <xsd:element name="remark" minOccurs="0" maxOccurs="unbounded" type="RemarkType"/>
  </xsd:sequence>
</xsd:complexType>
Complex Type RemarkType
Namespace http://www.onetrail.net
Diagram
Diagram OTRNLibrary-V3_2_xsd.tmp#RemarkType_lang OTRNLibrary-V3_2_xsd.tmp#RemarkType_context
Type extension of xsd:string
Used by
Attributes
QName Type Fixed Default Use Annotation
context xsd:string optional
Specifies the context the data belongs to. It can contain, for example;							
- 'RejectReason'
- 'Chamber Of Commerce Number'
- 'Bank Information'
- 'Header Text' or 'Footer Text'
lang restriction of xsd:string optional
Specifies the language which is used in the text. Please use ISO 639-1, 2-letter codes in capitals.
Source
<xsd:complexType name="RemarkType">
  <xsd:simpleContent>
    <xsd:extension base="xsd:string">
      <xsd:attribute name="lang">
        <xsd:annotation>
          <xsd:documentation xml:lang="EN">Specifies the language which is used in the text. Please use ISO 639-1, 2-letter codes in capitals.</xsd:documentation>
        </xsd:annotation>
        <xsd:simpleType>
          <xsd:restriction base="xsd:string">
            <xsd:minLength value="2"/>
            <xsd:maxLength value="2"/>
          </xsd:restriction>
        </xsd:simpleType>
      </xsd:attribute>
      <xsd:attribute name="context" use="optional" type="xsd:string">
        <xsd:annotation>
          <xsd:documentation xml:lang="EN">Specifies the context the data belongs to. It can contain, for example; - 'RejectReason' - 'Chamber Of Commerce Number' - 'Bank Information' - 'Header Text' or 'Footer Text'</xsd:documentation>
        </xsd:annotation>
      </xsd:attribute>
    </xsd:extension>
  </xsd:simpleContent>
</xsd:complexType>
Complex Type ProductIdentificationType
Namespace http://www.onetrail.net
Diagram
Diagram OTRNLibrary-V3_2_xsd.tmp#ProductIdentificationType_GlobalProductIdentifier OTRNLibrary-V3_2_xsd.tmp#ProductIdentificationType_PartnerProductIdentification
Used by
Model GlobalProductIdentifier{0,1} , PartnerProductIdentification*
Children GlobalProductIdentifier, PartnerProductIdentification
Source
<xsd:complexType name="ProductIdentificationType">
  <xsd:sequence>
    <xsd:element name="GlobalProductIdentifier" minOccurs="0" type="xsd:string">
      <xsd:annotation>
        <xsd:documentation xml:lang="EN">The manufacturer part numbers must be specified in this element. Customers using PDI (Product Data Index) can use the by Onetrail given unique part number.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="PartnerProductIdentification" minOccurs="0" maxOccurs="unbounded" type="PartnerProductIdentificationType">
      <xsd:annotation>
        <xsd:documentation xml:lang="EN">This element will hold all known references to a product. This includes EAN, buyer-, seller-, manufacturer and end-user partnumbers.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:sequence>
</xsd:complexType>
Complex Type PartnerProductIdentificationType
Namespace http://www.onetrail.net
Diagram
Diagram OTRNLibrary-V3_2_xsd.tmp#PartnerProductIdentificationType_GlobalPartnerClassificationCode OTRNLibrary-V3_2_xsd.tmp#PartnerProductIdentificationType_ProprietaryProductIdentifier OTRNLibrary-V3_2_xsd.tmp#PartnerProductIdentificationType_revisionIdentifier
Used by
Model GlobalPartnerClassificationCode , ProprietaryProductIdentifier , revisionIdentifier{0,1}
Children GlobalPartnerClassificationCode, ProprietaryProductIdentifier, revisionIdentifier
Source
<xsd:complexType name="PartnerProductIdentificationType">
  <xsd:sequence>
    <xsd:element name="GlobalPartnerClassificationCode" type="xsd:string">
      <xsd:annotation>
        <xsd:documentation xml:lang="EN">'Seller' for seller- or vendor part number or SKU (Stock Keeping Unit). 'Manufacturer' for manufacturer part number. 'Buyer' for Buyer part number. 'EAN' for EAN product numbers. 'Enduser' for enduser product numbers.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="ProprietaryProductIdentifier" type="xsd:string">
      <xsd:annotation>
        <xsd:documentation xml:lang="EN">EAN, buyer-, seller- and/or manufacturer part numbers.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="revisionIdentifier" minOccurs="0" type="FreeFormTextType">
      <xsd:annotation>
        <xsd:documentation xml:lang="EN">Used in TI. This element can be used to specify a specific revision/version for a given product.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:sequence>
</xsd:complexType>
Complex Type roleType
Namespace http://www.onetrail.net
Diagram
Diagram OTRNLibrary-V3_2_xsd.tmp#roleType_PartnerRoleDescription
Used by
Model PartnerRoleDescription
Children PartnerRoleDescription
Source
<xsd:complexType name="roleType">
  <xsd:sequence>
    <xsd:element name="PartnerRoleDescription" type="PartnerRoleDescriptionType"/>
  </xsd:sequence>
</xsd:complexType>
Complex Type ProprietaryDocumentIdentifierType
Namespace http://www.onetrail.net
Diagram
Diagram OTRNLibrary-V3_2_xsd.tmp#ProprietaryDocumentIdentifierType_ProprietaryDocumentIdentifier
Used by
Model ProprietaryDocumentIdentifier
Children ProprietaryDocumentIdentifier
Source
<xsd:complexType name="ProprietaryDocumentIdentifierType">
  <xsd:sequence>
    <xsd:element name="ProprietaryDocumentIdentifier" type="xsd:string"/>
  </xsd:sequence>
</xsd:complexType>
Complex Type FinancialAmountType
Namespace http://www.onetrail.net
Diagram
Diagram OTRNLibrary-V3_2_xsd.tmp#FinancialAmountType_GlobalCurrencyCode OTRNLibrary-V3_2_xsd.tmp#FinancialAmountType_MonetaryAmount
Used by
Model GlobalCurrencyCode , MonetaryAmount
Children GlobalCurrencyCode, MonetaryAmount
Source
<xsd:complexType name="FinancialAmountType">
  <xsd:sequence>
    <xsd:element name="GlobalCurrencyCode">
      <xsd:annotation>
        <xsd:documentation xml:lang="EN">Specifies the currency. Please use ISO 4217, 3-letter codes in capitals.</xsd:documentation>
      </xsd:annotation>
      <xsd:simpleType>
        <xsd:restriction base="xsd:string">
          <xsd:minLength value="3"/>
          <xsd:maxLength value="3"/>
        </xsd:restriction>
      </xsd:simpleType>
    </xsd:element>
    <xsd:element name="MonetaryAmount" type="xsd:decimal"/>
  </xsd:sequence>
</xsd:complexType>
Complex Type DocumentReferenceType
Namespace http://www.onetrail.net
Diagram
Diagram OTRNLibrary-V3_2_xsd.tmp#DocumentReferenceType_DateTimeStamp OTRNLibrary-V3_2_xsd.tmp#DocumentReferenceType_GlobalDocumentReferenceTypeCode OTRNLibrary-V3_2_xsd.tmp#DocumentReferenceType_ProprietaryDocumentIdentifier
Used by
Model DateTimeStamp{0,1} , GlobalDocumentReferenceTypeCode , ProprietaryDocumentIdentifier
Children DateTimeStamp, GlobalDocumentReferenceTypeCode, ProprietaryDocumentIdentifier
Source
<xsd:complexType name="DocumentReferenceType">
  <xsd:sequence>
    <xsd:element name="DateTimeStamp" minOccurs="0" type="DateTimeFormatType">
      <xsd:annotation>
        <xsd:documentation xml:lang="EN">Please use CCYYMMDDTHHMMSS format. If a date is unknown the date value should be 20440404T000000</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="GlobalDocumentReferenceTypeCode" type="GlobalDocumentReferenceTypeCodeType"/>
    <xsd:element name="ProprietaryDocumentIdentifier" type="xsd:string">
      <xsd:annotation>
        <xsd:documentation source="V3.1">Value according GlobalDocumentReferenceTypeCode.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:sequence>
</xsd:complexType>
Simple Type GlobalDocumentReferenceTypeCodeType
Namespace http://www.onetrail.net
Diagram
Diagram
Type restriction of xsd:string
Facets
enumeration Purchase Order
enumeration Sales Order
enumeration Work Order
enumeration Contract
enumeration Quote
enumeration Project
enumeration Ultimate Customer Order
Used by
Source
<xsd:simpleType name="GlobalDocumentReferenceTypeCodeType">
  <xsd:restriction base="xsd:string">
    <xsd:enumeration value="Purchase Order"/>
    <xsd:enumeration value="Sales Order"/>
    <xsd:enumeration value="Work Order"/>
    <xsd:enumeration value="Contract"/>
    <xsd:enumeration value="Quote"/>
    <xsd:enumeration value="Project"/>
    <xsd:enumeration value="Ultimate Customer Order"/>
  </xsd:restriction>
</xsd:simpleType>
Complex Type DocumentLineReferenceType
Namespace http://www.onetrail.net
Diagram
Diagram OTRNLibrary-V3_2_xsd.tmp#DocumentReferenceType_DateTimeStamp OTRNLibrary-V3_2_xsd.tmp#DocumentReferenceType_GlobalDocumentReferenceTypeCode OTRNLibrary-V3_2_xsd.tmp#DocumentReferenceType_ProprietaryDocumentIdentifier OTRNLibrary-V3_2_xsd.tmp#DocumentReferenceType OTRNLibrary-V3_2_xsd.tmp#DocumentLineReferenceType_LineNumber
Type extension of DocumentReferenceType
Type hierarchy
Model DateTimeStamp{0,1} , GlobalDocumentReferenceTypeCode , ProprietaryDocumentIdentifier , LineNumber{0,1}
Children DateTimeStamp, GlobalDocumentReferenceTypeCode, LineNumber, ProprietaryDocumentIdentifier
Source
<xsd:complexType name="DocumentLineReferenceType">
  <xsd:complexContent>
    <xsd:extension base="DocumentReferenceType">
      <xsd:sequence>
        <xsd:element name="LineNumber" minOccurs="0" type="xsd:string">
          <xsd:annotation>
            <xsd:documentation xml:lang="EN">Reference line number. Not all sellers can register the reference line number in their back-end application(s).</xsd:documentation>
          </xsd:annotation>
        </xsd:element>
      </xsd:sequence>
    </xsd:extension>
  </xsd:complexContent>
</xsd:complexType>
Complex Type chargesType
Namespace http://www.onetrail.net
Annotations
Used for TI
Diagram
Diagram OTRNLibrary-V3_2_xsd.tmp#chargesType_charge
Model charge+
Children charge
Source
<xsd:complexType name="chargesType">
  <xsd:annotation>
    <xsd:documentation xml:lang="EN">Used for TI</xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="charge" type="chargeType" maxOccurs="unbounded"/>
  </xsd:sequence>
</xsd:complexType>
Complex Type chargeType
Namespace http://www.onetrail.net
Diagram
Diagram OTRNLibrary-V3_2_xsd.tmp#chargeType_type OTRNLibrary-V3_2_xsd.tmp#chargeType_origcode OTRNLibrary-V3_2_xsd.tmp#chargeType_description OTRNLibrary-V3_2_xsd.tmp#chargeType_monetaryAmount OTRNLibrary-V3_2_xsd.tmp#chargeType_tax
Used by
Model description , monetaryAmount , tax{0,1}
Children description, monetaryAmount, tax
Attributes
QName Type Fixed Default Use Annotation
origcode xsd:string required
type xsd:string optional
Source
<xsd:complexType name="chargeType">
  <xsd:sequence>
    <xsd:element name="description" type="xsd:string"/>
    <xsd:element name="monetaryAmount" type="FinancialAmountType"/>
    <xsd:element name="tax" minOccurs="0" type="taxType"/>
  </xsd:sequence>
  <xsd:attribute name="type" type="xsd:string" use="optional"/>
  <xsd:attribute name="origcode" type="xsd:string" use="required"/>
</xsd:complexType>
Complex Type taxType
Namespace http://www.onetrail.net
Diagram
Diagram OTRNLibrary-V3_2_xsd.tmp#taxType_type OTRNLibrary-V3_2_xsd.tmp#taxType_rate OTRNLibrary-V3_2_xsd.tmp#taxType_monetaryAmount
Used by
Model monetaryAmount{0,1}
Children monetaryAmount
Attributes
QName Type Fixed Default Use Annotation
rate xsd:string optional
type xsd:string required
Source
<xsd:complexType name="taxType">
  <xsd:sequence>
    <xsd:element name="monetaryAmount" type="FinancialAmountType" minOccurs="0"/>
  </xsd:sequence>
  <xsd:attribute name="type" type="xsd:string" use="required"/>
  <xsd:attribute name="rate" type="xsd:string" use="optional"/>
</xsd:complexType>
Complex Type discountsType
Namespace http://www.onetrail.net
Diagram
Diagram OTRNLibrary-V3_2_xsd.tmp#discountsType_discount
Model discount+
Children discount
Source
<xsd:complexType name="discountsType">
  <xsd:sequence>
    <xsd:element name="discount" type="discountType" maxOccurs="unbounded"/>
  </xsd:sequence>
</xsd:complexType>
Complex Type discountType
Namespace http://www.onetrail.net
Diagram
Diagram OTRNLibrary-V3_2_xsd.tmp#discountType_type OTRNLibrary-V3_2_xsd.tmp#discountType_origcode OTRNLibrary-V3_2_xsd.tmp#discountType_description OTRNLibrary-V3_2_xsd.tmp#discountType_monetaryAmount OTRNLibrary-V3_2_xsd.tmp#discountType_discountPercentage OTRNLibrary-V3_2_xsd.tmp#discountType_tax
Used by
Model description , monetaryAmount{0,1} , discountPercentage{0,1} , tax{0,1}
Children description, discountPercentage, monetaryAmount, tax
Attributes
QName Type Fixed Default Use Annotation
origcode xsd:string required
type xsd:string optional
Source
<xsd:complexType name="discountType">
  <xsd:sequence>
    <xsd:element name="description" type="xsd:string"/>
    <xsd:element name="monetaryAmount" minOccurs="0" type="FinancialAmountType"/>
    <xsd:element name="discountPercentage" minOccurs="0" type="xsd:string"/>
    <xsd:element name="tax" minOccurs="0" type="taxType"/>
  </xsd:sequence>
  <xsd:attribute name="type" type="xsd:string" use="optional"/>
  <xsd:attribute name="origcode" type="xsd:string" use="required"/>
</xsd:complexType>
Complex Type taxesType
Namespace http://www.onetrail.net
Diagram
Diagram OTRNLibrary-V3_2_xsd.tmp#taxesType_tax
Model tax+
Children tax
Source
<xsd:complexType name="taxesType">
  <xsd:sequence>
    <xsd:element name="tax" type="taxType" maxOccurs="unbounded"/>
  </xsd:sequence>
</xsd:complexType>
Complex Type LicenceOrderType
Namespace http://www.onetrail.net
Diagram
Diagram OTRNLibrary-V3_2_xsd.tmp#LicenceOrderType_EndUser OTRNLibrary-V3_2_xsd.tmp#LicenceOrderType_Reseller OTRNLibrary-V3_2_xsd.tmp#LicenceOrderType_VendorName OTRNLibrary-V3_2_xsd.tmp#LicenceOrderType_ContractNumber OTRNLibrary-V3_2_xsd.tmp#LicenceOrderType_PriceLevel OTRNLibrary-V3_2_xsd.tmp#LicenceOrderType_MediaKitLanguage OTRNLibrary-V3_2_xsd.tmp#LicenceOrderType_LicenceStartDate OTRNLibrary-V3_2_xsd.tmp#LicenceOrderType_LicenceEndDate OTRNLibrary-V3_2_xsd.tmp#LicenceOrderType_LicencePool OTRNLibrary-V3_2_xsd.tmp#LicenceOrderType_ResellerPO OTRNLibrary-V3_2_xsd.tmp#LicenceOrderType_Reorder
Model EndUser , Reseller , VendorName , ContractNumber , PriceLevel , MediaKitLanguage{0,1} , LicenceStartDate{0,1} , LicenceEndDate{0,1} , LicencePool{0,1} , ResellerPO{0,1} , Reorder{0,1}
Children ContractNumber, EndUser, LicenceEndDate, LicencePool, LicenceStartDate, MediaKitLanguage, PriceLevel, Reorder, Reseller, ResellerPO, VendorName
Source
<xsd:complexType name="LicenceOrderType">
  <xsd:sequence>
    <xsd:element name="EndUser" type="LicencePartyDescriptionType"/>
    <xsd:element name="Reseller" type="LicencePartyDescriptionType"/>
    <xsd:element name="VendorName" type="xsd:string"/>
    <xsd:element name="ContractNumber" type="xsd:string"/>
    <xsd:element name="PriceLevel" type="xsd:string"/>
    <xsd:element name="MediaKitLanguage" minOccurs="0" type="xsd:string"/>
    <xsd:element name="LicenceStartDate" minOccurs="0" type="xsd:string"/>
    <xsd:element name="LicenceEndDate" minOccurs="0" type="xsd:string"/>
    <xsd:element name="LicencePool" minOccurs="0" type="xsd:string"/>
    <xsd:element name="ResellerPO" minOccurs="0" type="xsd:string"/>
    <xsd:element name="Reorder" minOccurs="0" type="xsd:boolean"/>
  </xsd:sequence>
</xsd:complexType>
Complex Type LicencePartyDescriptionType
Namespace http://www.onetrail.net
Diagram
Diagram OTRNLibrary-V3_2_xsd.tmp#ExtendedPartnerDescriptionType_PartnerDescription OTRNLibrary-V3_2_xsd.tmp#ExtendedPartnerDescriptionType OTRNLibrary-V3_2_xsd.tmp#LicencePartyDescriptionType_PhysicalAddress
Type extension of ExtendedPartnerDescriptionType
Type hierarchy
Used by
Model PartnerDescription , PhysicalAddress{0,1}
Children PartnerDescription, PhysicalAddress
Source
<xsd:complexType name="LicencePartyDescriptionType">
  <xsd:complexContent>
    <xsd:extension base="ExtendedPartnerDescriptionType">
      <xsd:sequence>
        <xsd:element name="PhysicalAddress" minOccurs="0" type="PhysicalAddressType"/>
      </xsd:sequence>
    </xsd:extension>
  </xsd:complexContent>
</xsd:complexType>
Simple Type GlobalProductUnitOfMeasureCodeType
Namespace http://www.onetrail.net
Annotations
The unit of measurement identifies the units being used in this order. For ICT orders the default value is 'EACH'.
To maintain backwards compatibility, 'PCE' should be entered as 'EACH'. The following codes are accepted:
- 'EACH'Each (Packing unit)
- 'CMT'	Centimetre (Linear measure)
- 'DAY'	Day (Unit of time)
- 'GRM'	Gram (Weight)
- 'HUR'	Hour (Unit of time)
- 'KGM'	Kilogram (Weight)
- 'LTR'	Litre (Measure of capacity)
- 'MIN'	Minute (Unit of time)
- 'MLT'	Millilitre (Linear measure)
- 'MMT'	Millimetre (Linear measure)
- 'MTK'	Square meter (Square measure)
- 'MTQ'	Cubic meter (Cubic measure)
- 'MTR'	Metre (Linear measure)
- 'TNE'	Tonne (weight)
Diagram
Diagram
Type restriction of xsd:string
Facets
enumeration EACH
enumeration CMT
enumeration DAY
enumeration GRM
enumeration HUR
enumeration KGM
enumeration LTR
enumeration MIN
enumeration MLT
enumeration MMT
enumeration MTK
enumeration MTQ
enumeration MTR
enumeration TNE
Used by
Source
<xsd:simpleType name="GlobalProductUnitOfMeasureCodeType">
  <xsd:annotation>
    <xsd:documentation xml:lang="EN">The unit of measurement identifies the units being used in this order. For ICT orders the default value is 'EACH'. To maintain backwards compatibility, 'PCE' should be entered as 'EACH'. The following codes are accepted: - 'EACH'Each (Packing unit) - 'CMT' Centimetre (Linear measure) - 'DAY' Day (Unit of time) - 'GRM' Gram (Weight) - 'HUR' Hour (Unit of time) - 'KGM' Kilogram (Weight) - 'LTR' Litre (Measure of capacity) - 'MIN' Minute (Unit of time) - 'MLT' Millilitre (Linear measure) - 'MMT' Millimetre (Linear measure) - 'MTK' Square meter (Square measure) - 'MTQ' Cubic meter (Cubic measure) - 'MTR' Metre (Linear measure) - 'TNE' Tonne (weight)</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:string">
    <xsd:enumeration value="EACH"/>
    <xsd:enumeration value="CMT"/>
    <xsd:enumeration value="DAY"/>
    <xsd:enumeration value="GRM"/>
    <xsd:enumeration value="HUR"/>
    <xsd:enumeration value="KGM"/>
    <xsd:enumeration value="LTR"/>
    <xsd:enumeration value="MIN"/>
    <xsd:enumeration value="MLT"/>
    <xsd:enumeration value="MMT"/>
    <xsd:enumeration value="MTK"/>
    <xsd:enumeration value="MTQ"/>
    <xsd:enumeration value="MTR"/>
    <xsd:enumeration value="TNE"/>
  </xsd:restriction>
</xsd:simpleType>
Simple Type GlobalPurchaseOrderTypeCodeType
Namespace http://www.onetrail.net
Diagram
Diagram
Type restriction of xsd:string
Facets
enumeration Standard
enumeration Special Bid Order
enumeration Special Deal Order
enumeration Reservation Order
enumeration Consigned Order
enumeration Planning Order
enumeration High Priority Order
enumeration Renewal Order
enumeration New License Order
enumeration PriceAndAvailabilityCheck
Source
<xsd:simpleType name="GlobalPurchaseOrderTypeCodeType">
  <xsd:restriction base="xsd:string">
    <xsd:enumeration value="Standard"/>
    <xsd:enumeration value="Special Bid Order"/>
    <xsd:enumeration value="Special Deal Order"/>
    <xsd:enumeration value="Reservation Order"/>
    <xsd:enumeration value="Consigned Order"/>
    <xsd:enumeration value="Planning Order"/>
    <xsd:enumeration value="High Priority Order"/>
    <xsd:enumeration value="Renewal Order"/>
    <xsd:enumeration value="New License Order"/>
    <xsd:enumeration value="PriceAndAvailabilityCheck"/>
  </xsd:restriction>
</xsd:simpleType>
Complex Type TradeItemModificationType
Namespace http://www.onetrail.net
Diagram
Diagram OTRNLibrary-V3_2_xsd.tmp#TradeItemModificationType_ProductIdentification OTRNLibrary-V3_2_xsd.tmp#TradeItemModificationType_sequenceNumber OTRNLibrary-V3_2_xsd.tmp#TradeItemModificationType_GlobalProductUnitOfMeasureCode OTRNLibrary-V3_2_xsd.tmp#TradeItemModificationType_ProductQuantity
Model ProductIdentification , sequenceNumber{0,1} , GlobalProductUnitOfMeasureCode{0,1} , ProductQuantity{0,1}
Children GlobalProductUnitOfMeasureCode, ProductIdentification, ProductQuantity, sequenceNumber
Source
<xsd:complexType name="TradeItemModificationType">
  <xsd:sequence>
    <xsd:element name="ProductIdentification" type="ProductIdentificationType"/>
    <xsd:element name="sequenceNumber" type="xsd:integer" minOccurs="0"/>
    <xsd:element name="GlobalProductUnitOfMeasureCode" type="GlobalProductUnitOfMeasureCodeType" minOccurs="0"/>
    <xsd:element name="ProductQuantity" type="xsd:nonNegativeInteger" minOccurs="0"/>
  </xsd:sequence>
</xsd:complexType>
Simple Type GlobalPurchaseOrderStatusCodeType
Namespace http://www.onetrail.net
Diagram
Diagram
Type restriction of xsd:string
Facets
enumeration Add
enumeration Change
enumeration Delete
enumeration Accept
enumeration Reject
Source
<xsd:simpleType name="GlobalPurchaseOrderStatusCodeType">
  <xsd:restriction base="xsd:string">
    <xsd:enumeration value="Add"/>
    <xsd:enumeration value="Change"/>
    <xsd:enumeration value="Delete"/>
    <xsd:enumeration value="Accept"/>
    <xsd:enumeration value="Reject"/>
  </xsd:restriction>
</xsd:simpleType>
Attribute fftType / @lang
Namespace No namespace
Annotations
Specifies the language which is used in the text. Please use ISO 639-1, 2-letter codes in capitals.
Type restriction of xsd:string
Properties
content: simple
Facets
minLength 2
maxLength 2
Used by
Complex Type fftType
Source
<xsd:attribute name="lang">
  <xsd:annotation>
    <xsd:documentation xml:lang="EN">Specifies the language which is used in the text. Please use ISO 639-1, 2-letter codes in capitals.</xsd:documentation>
  </xsd:annotation>
  <xsd:simpleType>
    <xsd:restriction base="xsd:string">
      <xsd:minLength value="2"/>
      <xsd:maxLength value="2"/>
    </xsd:restriction>
  </xsd:simpleType>
</xsd:attribute>
Attribute RemarkType / @lang
Namespace No namespace
Annotations
Specifies the language which is used in the text. Please use ISO 639-1, 2-letter codes in capitals.
Type restriction of xsd:string
Properties
content: simple
Facets
minLength 2
maxLength 2
Used by
Complex Type RemarkType
Source
<xsd:attribute name="lang">
  <xsd:annotation>
    <xsd:documentation xml:lang="EN">Specifies the language which is used in the text. Please use ISO 639-1, 2-letter codes in capitals.</xsd:documentation>
  </xsd:annotation>
  <xsd:simpleType>
    <xsd:restriction base="xsd:string">
      <xsd:minLength value="2"/>
      <xsd:maxLength value="2"/>
    </xsd:restriction>
  </xsd:simpleType>
</xsd:attribute>
Attribute RemarkType / @context
Namespace No namespace
Annotations
Specifies the context the data belongs to. It can contain, for example;							
- 'RejectReason'
- 'Chamber Of Commerce Number'
- 'Bank Information'
- 'Header Text' or 'Footer Text'
Type xsd:string
Properties
use: optional
Used by
Complex Type RemarkType
Source
<xsd:attribute name="context" use="optional" type="xsd:string">
  <xsd:annotation>
    <xsd:documentation xml:lang="EN">Specifies the context the data belongs to. It can contain, for example; - 'RejectReason' - 'Chamber Of Commerce Number' - 'Bank Information' - 'Header Text' or 'Footer Text'</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute taxType / @type
Namespace No namespace
Type xsd:string
Properties
use: required
Used by
Complex Type taxType
Source
<xsd:attribute name="type" type="xsd:string" use="required"/>
Attribute taxType / @rate
Namespace No namespace
Type xsd:string
Properties
use: optional
Used by
Complex Type taxType
Source
<xsd:attribute name="rate" type="xsd:string" use="optional"/>
Attribute chargeType / @type
Namespace No namespace
Type xsd:string
Properties
use: optional
Used by
Complex Type chargeType
Source
<xsd:attribute name="type" type="xsd:string" use="optional"/>
Attribute chargeType / @origcode
Namespace No namespace
Type xsd:string
Properties
use: required
Used by
Complex Type chargeType
Source
<xsd:attribute name="origcode" type="xsd:string" use="required"/>
Attribute discountType / @type
Namespace No namespace
Type xsd:string
Properties
use: optional
Used by
Complex Type discountType
Source
<xsd:attribute name="type" type="xsd:string" use="optional"/>
Attribute discountType / @origcode
Namespace No namespace
Type xsd:string
Properties
use: required
Used by
Complex Type discountType
Source
<xsd:attribute name="origcode" type="xsd:string" use="required"/>