Schema Central  >  UBL 2.3  >  UBL-RetailEvent-2.3.xsd  >  RetailEvent
Advanced search
Need XML Help?

Recommended Reading:

Definitive XML Schema

 

Advanced XML Applications

 

RetailEvent

This element MUST be conveyed as the root element in any instance document based on this Schema expression

Element information

Namespace: urn:oasis:names:specification:ubl:schema:xsd:RetailEvent-2

Schema document: maindoc/UBL-RetailEvent-2.3.xsd

Type: RetailEventType

Properties: Global, Qualified

Content

  • Sequence [1..1]
    1. ext:UBLExtensions [0..1]A container for extensions foreign to the document.
    2. cbc:UBLVersionID [0..1]Identifies 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.
    3. cbc:CustomizationID [0..1]Identifies a user-defined customization of UBL for a specific use.
    4. cbc:ProfileID [0..1]Identifies a user-defined profile of the customization of UBL being used.
    5. cbc:ProfileExecutionID [0..1]Identifies an instance of executing a profile, to associate all transactions in a collaboration.
    6. cbc:ID [1..1]An identifier for this document, assigned by the sender.
    7. cbc:CopyIndicator [0..1]Indicates whether this document is a copy (true) or not (false).
    8. cbc:UUID [0..1]A universally unique identifier for an instance of this document.
    9. cbc:IssueDate [0..1]The date, assigned by the sender, on which this document was issued.
    10. cbc:IssueTime [0..1]The time, assigned by the sender, at which this document was issued.
    11. cbc:Note [0..*]Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures.
    12. cbc:RetailEventName [0..1]A title, theme, slogan, or other identifier for the event for use by trading partners.
    13. cbc:RetailEventStatusCode [1..1]Describes the logical state of the discrete activity affecting supply or demand in the supply chain
    14. cbc:SellerEventID [0..1]An event tracking identifier assigned by the seller.
    15. cbc:BuyerEventID [0..1]An event tracking identifier assigned by the buyer.
    16. cbc:Description [0..*]Definition of the discrete activity affecting supply or demand in the supply chain
    17. cac:Period [1..1]The period during which the event takes place.
    18. cac:OriginalDocumentReference [0..*]A reference to a Forecast document associated with this event.
    19. cac:Signature [0..*]A signature applied to this document.
    20. cac:SenderParty [1..1]The party sending this document.
    21. cac:ReceiverParty [1..1]The party receiving this document.
    22. cac:BuyerCustomerParty [0..1]The buyer.
    23. cac:SellerSupplierParty [0..1]The seller.
    24. cac:EventComment [0..*]A comment regarding the event.
    25. cac:PromotionalEvent [0..1]The description of a promotional event associated with this event.
    26. cac:MiscellaneousEvent [0..1]A miscellaneous event associated with this event.

Attributes

None

Sample instance

<RetailEvent>
   <cbc:UBLVersionID>2.1</cbc:UBLVersionID>
   <cbc:CustomizationID>UBL-TR</cbc:CustomizationID>
   <cbc:ProfileID>bpid:urn:oasis:names:draft:bpss:ubl-2-1-cpfr-retail-event</cbc:ProfileID>
   <cbc:ID>RE758494</cbc:ID>
   <cbc:CopyIndicator>false</cbc:CopyIndicator>
   <cbc:UUID>349ABBAE-DF9D-40B4-849F-94C5FF9D1AF4</cbc:UUID>
   <cbc:IssueDate>2009-12-01</cbc:IssueDate>
   <cbc:IssueTime>12:00:01.000</cbc:IssueTime>
   <cbc:Note>sample</cbc:Note>
   <cbc:RetailEventName>ACME NEW BRANCH OPENNING</cbc:RetailEventName>
   <cbc:RetailEventStatusCode>PLANNED</cbc:RetailEventStatusCode>
   <cbc:Description>ACME NEW BRANCH will be opened in Brusells on May 12, 2010</cbc:Description>
   <cac:Period>
      <cbc:StartDate>2010-05-12</cbc:StartDate>
      <cbc:EndDate>2010-06-12</cbc:EndDate>
   </cac:Period>
   <cac:SenderParty>
      <cac:PartyIdentification>
         <cbc:ID>6903148000007</cbc:ID>
      </cac:PartyIdentification>
      <cac:PartyName>
         <cbc:Name>Consortial</cbc:Name>
      </cac:PartyName>
      <cac:PostalAddress>
         <cbc:StreetName>Busy Street</cbc:StreetName>
         <cbc:BuildingName>Thereabouts</cbc:BuildingName>
         <cbc:BuildingNumber>56A</cbc:BuildingNumber>
         <cbc:CityName>Farthing</cbc:CityName>
         <cbc:PostalZone>AA99 1BB</cbc:PostalZone>
         <cbc:CountrySubentity>Heremouthshire</cbc:CountrySubentity>
         <cac:AddressLine>
            <cbc:Line>The Roundabout</cbc:Line>
         </cac:AddressLine>
         <cac:Country>
            <cbc:IdentificationCode>GB</cbc:IdentificationCode>
         </cac:Country>
      </cac:PostalAddress>
      <cac:PartyTaxScheme>
         <cbc:RegistrationName>Farthing Purchasing Consortium</cbc:RegistrationName>
         <cbc:CompanyID>175 269 2355</cbc:CompanyID>
         <cbc:ExemptionReason>N/A</cbc:ExemptionReason>
         <cac:TaxScheme>
            <cbc:ID>VAT</cbc:ID>
            <cbc:TaxTypeCode>VAT</cbc:TaxTypeCode>
         </cac:TaxScheme>
      </cac:PartyTaxScheme>
      <cac:Contact>
         <cbc:Name>Mrs Bouquet</cbc:Name>
         <cbc:Telephone>0158 1233714</cbc:Telephone>
         <cbc:Telefax>0158 1233856</cbc:Telefax>
         <cbc:ElectronicMail>bouquet@fpconsortial.co.uk</cbc:ElectronicMail>
      </cac:Contact>
   </cac:SenderParty>
   <cac:ReceiverParty>
      <cac:PartyIdentification>
         <cbc:ID>2203148000007</cbc:ID>
      </cac:PartyIdentification>
      <cac:PartyName>
         <cbc:Name>IYT Corporation</cbc:Name>
      </cac:PartyName>
      <cac:PostalAddress>
         <cbc:StreetName>Avon Way</cbc:StreetName>
         <cbc:BuildingName>Thereabouts</cbc:BuildingName>
         <cbc:BuildingNumber>56A</cbc:BuildingNumber>
         <cbc:CityName>Bridgtow</cbc:CityName>
         <cbc:PostalZone>ZZ99 1ZZ</cbc:PostalZone>
         <cbc:CountrySubentity>Avon</cbc:CountrySubentity>
         <cac:AddressLine>
            <cbc:Line>3rd Floor, Room 5</cbc:Line>
         </cac:AddressLine>
         <cac:Country>
            <cbc:IdentificationCode>GB</cbc:IdentificationCode>
         </cac:Country>
      </cac:PostalAddress>
      <cac:PartyTaxScheme>
         <cbc:RegistrationName>Bridgtow District Council</cbc:RegistrationName>
         <cbc:CompanyID>12356478</cbc:CompanyID>
         <cbc:ExemptionReason>Local Authority</cbc:ExemptionReason>
         <cac:TaxScheme>
            <cbc:ID>UK VAT</cbc:ID>
            <cbc:TaxTypeCode>VAT</cbc:TaxTypeCode>
         </cac:TaxScheme>
      </cac:PartyTaxScheme>
      <cac:Contact>
         <cbc:Name>Mr Fred Churchill</cbc:Name>
         <cbc:Telephone>0127 2653214</cbc:Telephone>
         <cbc:Telefax>0127 2653215</cbc:Telefax>
         <cbc:ElectronicMail>fred@iytcorporation.gov.uk</cbc:ElectronicMail>
      </cac:Contact>
   </cac:ReceiverParty>
   <cac:BuyerCustomerParty>
      <cac:Party>
         <cac:PartyIdentification>
            <cbc:ID>0012345000359</cbc:ID>
         </cac:PartyIdentification>
      </cac:Party>
   </cac:BuyerCustomerParty>
   <cac:SellerSupplierParty>
      <cac:Party>
         <cac:PartyIdentification>
            <cbc:ID>0012345000058</cbc:ID>
         </cac:PartyIdentification>
      </cac:Party>
   </cac:SellerSupplierParty>
   <cac:PromotionalEvent>
      <cbc:PromotionalEventTypeCode>STORE_OPENING</cbc:PromotionalEventTypeCode>
      <cbc:SubmissionDate>2009-12-01</cbc:SubmissionDate>
      <cbc:LatestProposalAcceptanceDate>2010-01-06</cbc:LatestProposalAcceptanceDate>
      <cac:PromotionalSpecification>
         <cbc:SpecificationID>ACME_STROP_0023823</cbc:SpecificationID>
         <cac:PromotionalEventLineItem>
            <cbc:Amount currencyID="GBP">100.0</cbc:Amount>
            <cac:EventLineItem>
               <cbc:LineNumberNumeric>1</cbc:LineNumberNumeric>
               <cac:ParticipatingLocationsLocation>
                  <cbc:ID>ACME_BR_BE_0023</cbc:ID>
               </cac:ParticipatingLocationsLocation>
               <cac:RetailPlannedImpact>
                  <cbc:Amount currencyID="GBP">0.0</cbc:Amount>
                  <cbc:ForecastPurposeCode>SALES_FORECAST</cbc:ForecastPurposeCode>
                  <cbc:ForecastTypeCode>PROMOTIONAL</cbc:ForecastTypeCode>
                  <cac:Period>
                     <cbc:StartDate>2010-05-12</cbc:StartDate>
                     <cbc:EndDate>2010-06-12</cbc:EndDate>
                  </cac:Period>
               </cac:RetailPlannedImpact>
               <cac:SupplyItem>
                  <cbc:Description>Acme knitwear scarf</cbc:Description>
                  <cbc:Name>scarf</cbc:Name>
                  <cac:BuyersItemIdentification>
                     <cbc:ID>6578489</cbc:ID>
                  </cac:BuyersItemIdentification>
                  <cac:SellersItemIdentification>
                     <cbc:ID>17589683</cbc:ID>
                  </cac:SellersItemIdentification>
                  <cac:StandardItemIdentification>
                     <cbc:ID>00123450000584</cbc:ID>
                  </cac:StandardItemIdentification>
               </cac:SupplyItem>
            </cac:EventLineItem>
         </cac:PromotionalEventLineItem>
         <cac:EventTactic>
            <cac:EventTacticEnumeration>
               <cbc:DisplayTacticTypeCode>DISPLAY_GENERAL</cbc:DisplayTacticTypeCode>
            </cac:EventTacticEnumeration>
            <cac:Period>
               <cbc:StartDate>2010-04-01</cbc:StartDate>
               <cbc:EndDate>2010-06-12</cbc:EndDate>
            </cac:Period>
         </cac:EventTactic>
      </cac:PromotionalSpecification>
   </cac:PromotionalEvent>
</RetailEvent>