Praktiker Orders

TransdatiX.Convert Praktiker Orders

Version 2.0.1 from 2008-05-06

Content

General

This module converts EDIFACT-Orders from Praktiker Bau- und Heimwerkermärkte Holding AG to XML or CSV.

How to start the Converter

This TransdatiX.Convert converts your incoming data to the XML or CSV format as stated below. This output data then can either be directly imported by a program or delivered to a destination system by using a TransdatiX.Adapt.

You can use this TransdatiX.Convert for example fully automated within a process together with a TransdatiX.Adapt which is required for your target system. Also a integrated data transmission can be realized in one process. Read more about defining processes using the TransdatiX.Configurator (this document is only available in german yet).

Hints

The converter requires the order data from Praktiker in EDIFACT-format.

Two interfaces are contained for converting EDIFACT-data either to XML or CSV.

The interface ConvertToXml generates an XML output file that includes the whole data structure.

The interface ConvertToCsv generates four CSV output files:
  • Envelope - Transmission Section
    Contains all data of the data group Envelope

  • Order - Order Heading Section
    Contains all data of the data group Order

  • Pos - Order Position Section
    Contains all data of the data group Pos

  • PosCharge - Allowance or charge applied to the Position
    Contains all data of the data group PosCharge


Structure of data - Overview

The following listing shows the formal data structure accepted by the converter. Bold descripitions means, that an element is required, excepting a term is quoted explicit within the description of the element.


Element name

Description

 
RootRoot element
 
  MessageMessage
    MessageIDInternal unique Identification
 
    EnvelopeTransmission Section
      MessageIDReference to MessageID in data group Message
      SenderIdSender
      RecipientIdRecipient
      MessageTypeEDIFACT Message Type Identifier
      TransmissionIdMessage Reference Number
      TestFlagTest Indicator
 
    OrderOrder Heading Section
      MessageIDReference to MessageID in data group Message
      OrderIDInternal unique Identification
      StatusOrder Type
      NumberOrder Number
      DateOrder Date
      DeliveryDateDelivery Date requested
      EarliestDeliveryDateEarliest delivery Date requested
      LatestDeliveryDateLatest delivery Date requested
      FreeText1Free delivery text
      FreeText2Free delivery text
      FreeText3Free delivery text
      PromotionalDealNumberNumber assigned by a vendor to a special promotion activity
      UltimateCustomerReferenceNumberUltimate customer's reference number
      BuyerGLNBuyer's GLN (Praktiker central office)
      BuyerNameBuyer's name
      BuyerStreetBuyer's street
      BuyerCityBuyer's city
      BuyerZipCodeBuyer's zip code
      BuyerCountryCodeBuyer's country
      SupplierGLNSupplier's GLN
      DeliveryGLNGLN of the Praktiker super store to which goods should be delivered
      DeliveryNameDelivery's name
      DeliveryStreetDelivery's street
      DeliveryCityDelivery's city
      DeliveryZipCodeDelivery's zip code
      DeliveryCountryCodeDelivery's country
      UltimateCustomerNameUltimate customer's name
      UltimateCustomerStreetUltimate customer's street
      UltimateCustomerCityUltimate customer's city
      UltimateCustomerZipCodeUltimate customer's zip code
      UltimateCustomerCountryCodeUltimate customer's country
      UltimateCustomerContactTelephoneUltimate customer's telephone number
      InvoiceeGLNGLN of the party to whom the invoice should be issued (if different from Delivery)
      CurrencyCurrency
      PaymentDaysNumber of days when the payment should be completed
 
      PosOrder Detail Section
        MessageIDReference to MessageID in data group Message
        OrderIDReference to OrderID in data group Order
        PosIDInternal unique Identification
        NumberPosition number
        ItemEANSupplierSupplier's EAN of article
        ItemEANCustomerCustomer's EAN of article
        ItemIdSupplierSupplier's article number
        ItemIdBuyerBuyer's part number (Praktiker)
        ItemNameArticle text
        ItemName2Article text 2
        QuantityOrder quantity
        UnitOrder Unit
        FreeText1Free Text
        NetPriceNet price
        GrossPriceGross price
 
        PosChargePosition based allowances/charges
          MessageIDReferene to MessageID in data group Message
          OrderIDReference to InvoiceID in data group Invoice
          PosIDReference to PosID in data group Pos
          StatusType of allowance or charge
          QualifierClass of allowance or charge
          CalculationLevelCalculation level
          QuantityDiscrete quantity
          UnitUnit of discrete quantity
          PercentagePercentage
          AmountAmount



Data group Message - Message
Required field: yes, unlimited repeatable
Message

MessageID - Key field
Format: alphanumeric
Hint: Internal unique Identification



Data group Envelope - Transmission Section
Required field: yes
Transmission Section

MessageID - Key field
Format: alphanumeric
Hint: Reference to MessageID in data group Message

SenderId - Required field: yes
Format: alphanumeric with up to 35 character(s)
Hint: Sender
Mailbox-ID of Message Sender

RecipientId - Required field: yes
Format: alphanumeric with up to 35 character(s)
Hint: Recipient
Mailbox-ID of Message Recipient

MessageType - Required field: no
Format: alphanumeric with up to 14 character(s)
Hint: EDIFACT Message Type Identifier
If a transmission includes only Messages of the same type the message type can be specified within the envelope as an information for the recipient .

TransmissionId - Required field: no
Format: alphanumeric with up to 14 character(s)
Hint: Message Reference Number
Unique Reference for the transmission generated by the sender.

TestFlag - Required field: no
Possible values:
1=Interchange is a test
Hint: Test Indicator
Only used during testing period



Data group Order - Order Heading Section
Required field: yes, unlimited repeatable
Order Heading Section
Includes the Heading Data

MessageID - Key field
Format: alphanumeric
Hint: Reference to MessageID in data group Message

OrderID - Key field
Format: alphanumeric
Hint: Internal unique Identification

Status - Required field: no
Possible values:
220=Order
Hint: Order Type

Number - Required field: yes
Format: alphanumeric with up to 35 character(s)
Hint: Order Number

Date - Required field: yes
Format: date
Hint: Order Date

DeliveryDate - Required field: yes
Format: date
Hint: Delivery Date requested

EarliestDeliveryDate - Required field: no
Format: date
Hint: Earliest delivery Date requested

LatestDeliveryDate - Required field: no
Format: date
Hint: Latest delivery Date requested

FreeText1 - Required field: no
Format: alphanumeric with up to 70 character(s)
Hint: Free delivery text

FreeText2 - Required field: no
Format: alphanumeric with up to 70 character(s)
Hint: Free delivery text

FreeText3 - Required field: no
Format: alphanumeric with up to 70 character(s)
Hint: Free delivery text

PromotionalDealNumber - Required field: no
Format: alphanumeric with up to 35 character(s)
Hint: Number assigned by a vendor to a special promotion activity

UltimateCustomerReferenceNumber - Required field: no
Format: alphanumeric with up to 35 character(s)
Hint: Ultimate customer's reference number
If this information is provided, it is a special order for an ultimate customer

BuyerGLN - Required field: yes
Format: alphanumeric with up to 13 character(s)
Hint: Buyer's GLN (Praktiker central office)

BuyerName - Required field: no
Format: alphanumeric with up to 35 character(s)
Hint: Buyer's name

BuyerStreet - Required field: no
Format: alphanumeric with up to 35 character(s)
Hint: Buyer's street

BuyerCity - Required field: no
Format: alphanumeric with up to 35 character(s)
Hint: Buyer's city

BuyerZipCode - Required field: no
Format: alphanumeric with up to 9 character(s)
Hint: Buyer's zip code

BuyerCountryCode - Required field: no
Format: alphanumeric with up to 35 character(s)
Hint: Buyer's country

SupplierGLN - Required field: yes
Format: alphanumeric with up to 13 character(s)
Hint: Supplier's GLN

DeliveryGLN - Required field: yes
Format: alphanumeric with up to 13 character(s)
Hint: GLN of the Praktiker super store to which goods should be delivered

DeliveryName - Required field: no
Format: alphanumeric with up to 35 character(s)
Hint: Delivery's name

DeliveryStreet - Required field: no
Format: alphanumeric with up to 35 character(s)
Hint: Delivery's street

DeliveryCity - Required field: no
Format: alphanumeric with up to 35 character(s)
Hint: Delivery's city

DeliveryZipCode - Required field: no
Format: alphanumeric with up to 9 character(s)
Hint: Delivery's zip code

DeliveryCountryCode - Required field: no
Format: alphanumeric with up to 35 character(s)
Hint: Delivery's country

UltimateCustomerName - Required field: no
Format: alphanumeric with up to 35 character(s)
Hint: Ultimate customer's name
Only used if the goods should be delivered to this address

UltimateCustomerStreet - Required field: no
Format: alphanumeric with up to 35 character(s)
Hint: Ultimate customer's street
Only used if the goods should be delivered to this address

UltimateCustomerCity - Required field: no
Format: alphanumeric with up to 35 character(s)
Hint: Ultimate customer's city
Only used if the goods should be delivered to this address

UltimateCustomerZipCode - Required field: no
Format: alphanumeric with up to 9 character(s)
Hint: Ultimate customer's zip code
Only used if the goods should be delivered to this address

UltimateCustomerCountryCode - Required field: no
Format: alphanumeric with up to 35 character(s)
Hint: Ultimate customer's country
Only used if the goods should be delivered to this address

UltimateCustomerContactTelephone - Required field: no
Format: alphanumeric with up to 35 character(s)
Hint: Ultimate customer's telephone number
Only used if the goods should be delivered to this address

InvoiceeGLN - Required field: no
Format: alphanumeric with up to 13 character(s)
Hint: GLN of the party to whom the invoice should be issued (if different from Delivery)

Currency - Required field: no
Format: alphanumeric with up to 3 character(s)
Hint: Currency
ISO-Code of Order Currency

PaymentDays - Required field: no
Format: integer
Hint: Number of days when the payment should be completed



Data group Pos - Order Detail Section
Required field: yes, unlimited repeatable
Order Detail Section

MessageID - Key field
Format: alphanumeric
Hint: Reference to MessageID in data group Message

OrderID - Key field
Format: alphanumeric
Hint: Reference to OrderID in data group Order

PosID - Key field
Format: alphanumeric
Hint: Internal unique Identification

Number - Required field: no
Format: integer
Hint: Position number

ItemEANSupplier - Required field: no
Format: alphanumeric with up to 13 character(s)
Hint: Supplier's EAN of article

ItemEANCustomer - Required field: no
Format: alphanumeric with up to 13 character(s)
Hint: Customer's EAN of article

ItemIdSupplier - Required field: no
Format: alphanumeric with up to 35 character(s)
Hint: Supplier's article number

ItemIdBuyer - Required field: no
Format: alphanumeric with up to 35 character(s)
Hint: Buyer's part number (Praktiker)

ItemName - Required field: no
Format: alphanumeric with up to 35 character(s)
Hint: Article text

ItemName2 - Required field: no
Format: alphanumeric with up to 35 character(s)
Hint: Article text 2

Quantity - Required field: yes
Format: decimal
Hint: Order quantity

Unit - Required field: no
Format: alphanumeric with up to 3 character(s)
Hint: Order Unit

FreeText1 - Required field: no
Format: alphanumeric with up to 70 character(s)
Hint: Free Text

NetPrice - Required field: no
Format: decimal
Hint: Net price
Net price per unit including allowances/charges and excluding taxes

GrossPrice - Required field: no
Format: decimal
Hint: Gross price
Gross price per unit excluding allowances/charges and excluding taxes



Data group PosCharge - Position based allowances/charges
Required field: no, up to 15 repeats
Position based allowances/charges

MessageID - Key field
Format: alphanumeric
Hint: Referene to MessageID in data group Message

OrderID - Key field
Format: alphanumeric
Hint: Reference to InvoiceID in data group Invoice

PosID - Key field
Format: alphanumeric
Hint: Reference to PosID in data group Pos

Status - Required field: yes
Possible values:
A=Allowance
C=Charge
Hint: Type of allowance or charge

Qualifier - Required field: no
Possible values:
DI=Discount
Hint: Class of allowance or charge

CalculationLevel - Required field: no
Format: integer
Hint: Calculation level
Required in case of more than one allowance or charge

Quantity - Required field: no
Format: decimal
Hint: Discrete quantity

Unit - Required field: no
Format: alphanumeric with up to 3 character(s)
Hint: Unit of discrete quantity

Percentage - Required field: no
Format: decimal
Hint: Percentage

Amount - Required field: no
Format: decimal
Hint: Amount


Legal notes

All information contained in this document is provided without any whatsoever guarantees. TransdatiX expressly refuses all liability claims, explicit or implicit, including claims regarding suitability for selling or specific purpose. In no case TransdatiX or one of its suppliers can be held responsible for any damages, occuring direct or indirect, quite accidentally or as a consequential damage. Especially business losses, data losses or special damages are excluded explicitly from liability, even if TransdatiX or its suppliers pointed to the possibility of such damages. In any case liability claims are rejected to the legal highest possible dimension.


© 2002 - 2007 TransdatiX Software


Generated automatically 2008-05-06, 15:52:25