Frames | No Frames

Return to Stylus Studio EDIFACT home page.
Return to Stylus Studio EDIFACT D97B Messages page.
UN/EDIFACT
UNITED NATIONS STANDARD MESSAGE (UNSM)

Pricing history message

Version:D
Release:97B
Contr. Agency:UN
Revision:1
Date:97-07-25
SOURCE:For joint development: Joint Rapporteurs Message Design Group JM2

CONTENTS
Pricing history message
  1. INTRODUCTION
  2. SCOPE
    1. Functional definition
    2. Field of application
    3. Principles
  3. REFERENCES
  4. TERMS AND DEFINITIONS
    1. Standard terms and definitions
  5. MESSAGE DEFINITION
    1. Data segment clarification
      1. Header section
      2. Detail section
    2. Data segment index (alphabetical sequence)
    3. Message structure
      1. Segment table

For general information on UN standard message types see UN Trade Data Interchange Directory, UNTDID, Part 4, Section 2.6, UN/ECE UNSM General Introduction


This message also occurs in the following versions of this standard:
D97B, D98A, D98B, D99A, D99B, D00A, D00B, D01A, D01B, D01C, D02A, D02B, D03A, D03B, D04A, D04B

0. INTRODUCTION

This specification provides the definition of the Pricing history message (PRIHIS) to be used in Electronic Data Interchange (EDI) between trading partners involved in administration, commerce and transport.


1. SCOPE


1.1. Functional Definition

A message furnishing the Pricing History and related information of goods previously ordered under conditions agreed to between a seller and a buyer.


1.2. Field of Application

The Pricing history message may be used for both national and international applications. It is based on universal practice related to administration, commerce and transport, and is not dependent on the type of business or industry.


1.3. Principles

Pricing history and related information may be furnished for one or more goods items.

Typically, the detailed pricing history of an item will contain the item description, the quantity ordered, unit price paid, and related information.

Any individual set of pricing history data may contain more or less data depending on the nature of the historical file, nature of the previous purchases if any, and the needs of the party to whom the data will be transmitted.


2. REFERENCES

See UNTDID, Part 4, Chapter 2.6 UN/ECE UNSM - General Introduction, Section 1.


3. TERMS AND DEFINITIONS


3.1. Standard terms and definitions

See UNTDID, Part 4, Chapter 2.6 UN/ECE UNSM - General Introduction, Section 2.


4. MESSAGE DEFINITION


4.1. Data Segment Clarification

This section should be read in conjunction with the Segment Table which indicate mandatory, conditional and repeating requirements.


4.1.1. Header section

Information to be provided in the Header section:

0010 UNH, Message header

A service segment starting and uniquely identifying a message. The message type code for the Pricing history message is PRIHIS.

Note: Pricing history messages conforming to this document must contain the following data in segment UNH, composite S009:

Data element0065PRIHIS
0052D
005497B
0051UN

0020 BGM, Beginning of message

A segment by which the sender must uniquely identify the Pricing History by means of its name and number, and when necessary, its function.

0030 DTM, Date/time/period

A segment specifying a date and/or time associated with the message.

0040 RFF, Reference

A segment that identifies references that apply to the whole message.

0050 Segment Group 1: NAD-LOC-SG2-SG3

A group of segments identifying the parties with associated information.

0060 NAD, Name and address

A segment identifying names and addresses of the parties, in coded or clear form, and their functions relative to the Pricing History. Identification of the requesting and responding parties is mandatory for the pricing history message. It is recommended that where possible, only the coded form of the party identification should be specified, e.g., when the requesting party and the responding party are known to each other, only the coded identification is required.

0070 LOC, Place/location identification

A segment identifying locations relevant to the parties.

0080 Segment Group 2: RFF-DTM

A group of segments for giving references and where necessary, their dates.

0090 RFF, Reference

A segment identifying the reference to a previous request for Pricing History information by its unique identification number.

0100 DTM, Date/time/period

A segment specifying the date or date and time of the request for information.

0110 Segment Group 3: CTA-COM

A group of segments giving contact details of the specific person or department within the party identified in the NAD segment.

0120 CTA, Contact information

A segment to identify a person or department, and their function, to whom communications should be directed.

0130 COM, Communication contact

A segment to identify a communications type and number for the contact specified in the CTA segment.


4.1.2. Detail section

Information to be provided in the Detail section:

0140 Segment group 4: LIN-PIA-RFF-IMD-MEA-PCD-ALI-GIR-SG5 A group of segments providing details of the individual items for which Pricing History information was requested. This segment group can be repeated to give details of additional items ordered.

0150 LIN, Line item

A segment identifying the line item by the line number and additionally, identifying the product. Other product identification numbers, e.g., substitute stock number, can be specified within the following PIA segment.

0160 PIA, Additional product id

A segment providing additional identification to the product specified in the LIN segment, e.g., any substitute product identification.

0170 RFF, Reference

A segment identifying the reference to a previous purchase to the product or service specified in the LIN segment.

0180 IMD, Item description

A segment for describing the product or service specified in the LIN segment as well as product characteristics. This segment should be used for products or services that cannot be fully identified by a product code or article number.

0190 MEA, Measurements

A segment enabling the physical measurements of the item specified in the LIN segment to be specified where this is required for full identification of the item. Any measurements must refer to the item in its unpacked form, e.g., thickness of plastic film, length, weight, etc.

0200 PCD, Percentage details

A segment specifying the strength or yield of an item as a percentage, e.g., 80% to indicate the strength of an acid.

0210 ALI, Additional information

A segment indicating that the item is subject to special conditions owing to origin, customs preference, embargo regulations or commercial factors.

0220 GIR, Related identification numbers

A segment providing sets of related identification numbers for the item specified in the LIN segment.

0230 Segment Group 5: NAD-LOC-STS-PIA-SG6-SG7

A group of segments providing the party and related details of an item previously ordered. This segment group can be repeated to give details of additional orders for the same item.

0240 NAD, Name and address

A segment identifying names and addresses of the parties, in coded or clear form, and their functions relative to the pricing history.

0250 LOC, Place/location identification

A segment identifying locations relevant to the party.

0260 STS, Status

A segment specifying the status of the party.

0270 PIA, Additional product id

A segment providing additional identification to the product specified in the LIN segment, relevant to the party cited in the NAD segment, e.g., a selling party's unique product identification.

0280 Segment Group 6: CTA-COM

A group of segments giving contact details of the specific person or department within the party identified in the NAD segment.

0290 CTA, Contact information

A segment to identify a person or department, and their function, to whom communications related to a contract or order should be directed.

0300 COM, Communication contact

A segment to identify a communications type and number for the contact specified in the CTA segment.

0310 Segment Group 7: RFF-DTM-AGR-SG8

A group of segments giving details of a specific order for the product identified in the LIN segment.

0320 RFF, Reference

A segment identifying contract or order on which the cited goods or services were ordered.

0330 DTM, Date/time/period

A segment specifying the date or date and time of the contract or order.

0340 AGR, Agreement identification

A segment to specify coded details of the contract or order on which the cited goods or services were ordered.

0350 Segment Group 8: QTY-DTM-TAX-FTX-SG9-SG10-SG11-SG17

A group of segments giving details of specific previous orders for the item specified in the LIN segment.

0360 QTY, Quantity

A segment to specify the total number of units previously purchased, on a contract or order.

0370 DTM, Date/time/period

A segment specifying the date or date and time of purchase of the previously purchased items.

0380 TAX, Duty/tax/fee details

A segment specifying duty, tax or fee charges relating to the previously purchased units.

0390 FTX, Free text

A segment with free text information in clear form, used when additional information is needed but cannot be accommodated within other segments. In computer to computer exchanges, such text will normally require the receiver to process this segment manually.

0400 Segment Group 9: PAT-DTM-PCD-MOA

A group of segments specifying the terms of payment for the line item specified in the LIN segment.

0410 PAT, Payment terms basis

A segment specifying the payment terms and date/time basis.

0420 DTM, Date/time/period

A segment giving the specific date/time/period, if needed, of any payments, discounts, instalments, etc.

0430 PCD, Percentage details

A segment specifying discount, interest, penalty or instalment percentage.

0440 MOA, Monetary amount

A segment specifying amounts related to payment discounts, penalties or instalments.

0450 Segment Group 10: TOD-LOC

A group of segments specifying the terms of delivery to a specified location.

0460 TOD, Terms of delivery or transport

A segment identifying the delivery terms used.

0470 LOC, Place/location identification

A segment identifying locations relevant to the delivery terms specified in the TOD segment.

0480 Segment Group 11: ALC-ALI-DTM-SG12-SG13-SG14-SG15-

SG16 A group of segments specifying allowances and charges for previous orders for the line item specified in the LIN segment.

0490 ALC, Allowance or charge

A segment identifying the charge or allowance type.

0500 ALI, Additional information

A segment indicating the allowance or charge specified is subject to special conditions owing to origin, customs preferences or commercial factors.

0510 DTM, Date/time/period

A segment giving the specific date/time/period, if needed of any allowances and charges for previous orders for the line item specified in the LIN segment.

0520 Segment Group 12: QTY-RNG

A group of segments specifying the quantity of the allowance or charge with its measure unit specifier. A range to which the allowance or charge applies may be specified, e.g., an allowance of a free quantity when a minimum quantity of items is ordered.

0530 QTY, Quantity

A segment identifying the type of quantity and the quantity related to the allowance or charge.

0540 RNG, Range details

A segment specifying, if required, the quantity range to which the charge or allowance applies.

0550 Segment Group 13: PCD-RNG

A group of segments specifying the percentage for the allowance or charge, e.g., the allowance or charge amount is calculated as 5% of the goods value or a price reduction of 5% may be specified if the goods quantity ordered was within the range 50 kilos to 100 kilos.

0560 PCD, Percentage details

A segment identifying the percentage and the percentage basis for the calculation of the allowance or charge.

0570 RNG, Range details

A segment specifying, if required, a range for the application of the percentage.

0580 Segment Group 14: MOA-RNG

A group of segments specifying a monetary amount for an allowance or charge. A range to which the allowance or charge applies may be specified, e.g., an allowance of 5,000 ECU may be specified if the goods value ordered is greater than 100,000 ECU.

0590 MOA, Monetary amount

A segment identifying the monetary amount for the allowance or charge.

0600 RNG, Range details

A segment specifying, if required, a range for the application of the allowance or charge amount.

0610 Segment Group 15: RTE-RNG

A group of segments specifying the rate per unit and basis to which the charge or allowance applies, e.g., the allowance or charge amount is 3 ECU per 10 tons.

0620 RTE, Rate details

A segment specifying the rate per unit and the basis for calculation.

0630 RNG, Range details

A segment specifying, if required, the range for the application of the allowance or charge rate.

0640 Segment Group 16: TAX-MOA

A group of segments specifying the tax type, category and rate, or exemption, related to the allowance or charge.

0650 TAX, Duty/tax/fee details

A segment specifying the tax type, category and rate, or exemption, related to the allowance or charge.

0660 MOA, Monetary amount

A segment specifying the amount for the allowance or charge.

0670 Segment Group 17: PRI-DTM-CUX-RNG

A group of segments giving details of prices and the applicable currencies for orders of the specified item.

0680 PRI, Price details

A segment to specify the price type and amount.

0690 DTM, Date/time/period

A segment specifying the date or date and time of previous orders for the specified item.

0700 CUX, Currencies

A segment to allow specification of the price in a different currency.

0710 RNG, Range details

A segment specifying, if required, the range for the price type and amount.

0720 UNT, Message trailer

A service segment ending a message, giving the total number of segments in the message and the control reference number of the message.


4.2. Data segment index (Alphabetical sequence by tag)

AGR Agreement identification
ALC Allowance or charge
ALI Additional information
BGM Beginning of message
COM Communication contact
CTA Contact information
CUX Currencies
DTM Date/time/period
FTX Free text
GIR Related identification numbers
IMD Item description
LIN Line item
LOC Place/location identification
MEA Measurements
MOA Monetary amount
NAD Name and address
PAT Payment terms basis
PCD Percentage details
PIA Additional product id
PRI Price details
QTY Quantity
RFF Reference
RNG Range details
RTE Rate details
STS Status
TAX Duty/tax/fee details
TOD Terms of delivery or transport
UNH Message header
UNT Message trailer

4.3. Message structure


4.3.1. Segment table

├─UNH Message header ×1 (M)
├─BGM Beginning of message ×1 (M)
├─DTM Date/time/period ×1 (M)
├─RFF Reference ×9 (C)
├─Segment Group 1 ×9 (C)
├─NAD Name and address ×1 (M)
├─LOC Place/location identification ×9 (C)
├─Segment Group 2 ×9 (C)
├─RFF Reference ×1 (M)
└─DTM Date/time/period ×9 (C)
└─Segment Group 3 ×9 (C)
──├─CTA Contact information ×1 (M)
──└─COM Communication contact ×9 (C)
├─Segment Group 4 ×99999 (C)
├─LIN Line item ×1 (M)
├─PIA Additional product id ×9 (C)
├─RFF Reference ×9 (C)
├─IMD Item description ×9 (C)
├─MEA Measurements ×9 (C)
├─PCD Percentage details ×9 (C)
├─ALI Additional information ×9 (C)
├─GIR Related identification numbers ×9 (C)
└─Segment Group 5 ×999 (C)
──├─NAD Name and address ×1 (M)
──├─LOC Place/location identification ×9 (C)
──├─STS Status ×9 (C)
──├─PIA Additional product id ×9 (C)
──├─Segment Group 6 ×9 (C)
──├─CTA Contact information ×1 (M)
──└─COM Communication contact ×9 (C)
──└─Segment Group 7 ×9 (C)
────├─RFF Reference ×1 (M)
────├─DTM Date/time/period ×9 (C)
────├─AGR Agreement identification ×9 (C)
────└─Segment Group 8 ×99 (C)
──────├─QTY Quantity ×1 (M)
──────├─DTM Date/time/period ×9 (C)
──────├─TAX Duty/tax/fee details ×9 (C)
──────├─FTX Free text ×9 (C)
──────├─Segment Group 9 ×9 (C)
──────├─PAT Payment terms basis ×1 (M)
──────├─DTM Date/time/period ×9 (C)
──────├─PCD Percentage details ×9 (C)
──────└─MOA Monetary amount ×9 (C)
──────├─Segment Group 10 ×9 (C)
──────├─TOD Terms of delivery or transport ×1 (M)
──────└─LOC Place/location identification ×9 (C)
──────├─Segment Group 11 ×99 (C)
──────├─ALC Allowance or charge ×1 (M)
──────├─ALI Additional information ×9 (C)
──────├─DTM Date/time/period ×9 (C)
──────├─Segment Group 12 ×9 (C)
──────├─QTY Quantity ×1 (M)
──────└─RNG Range details ×1 (C)
──────├─Segment Group 13 ×9 (C)
──────├─PCD Percentage details ×1 (M)
──────└─RNG Range details ×1 (C)
──────├─Segment Group 14 ×9 (C)
──────├─MOA Monetary amount ×1 (M)
──────└─RNG Range details ×1 (C)
──────├─Segment Group 15 ×9 (C)
──────├─RTE Rate details ×1 (M)
──────└─RNG Range details ×1 (C)
──────└─Segment Group 16 ×9 (C)
────────├─TAX Duty/tax/fee details ×1 (M)
────────└─MOA Monetary amount ×1 (C)
──────└─Segment Group 17 ×9 (M)
────────├─PRI Price details ×1 (M)
────────├─DTM Date/time/period ×9 (C)
────────├─CUX Currencies ×9 (C)
────────└─RNG Range details ×9 (C)
└─UNT Message trailer ×1 (M)

Return to Stylus Studio EDIFACT D97B Messages page.
EDI to XML Mapping for EDIFACT/X12 Convert EDIFACT/X12 Schemas to XML Schema Legacy Data Conversion Tools Access Relational Data as XML Visual XSLT and XQuery Mapping Tools EDIFACT to XML
Return to Stylus Studio EDIFACT home page.

Return to Stylus Studio home page.
Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.