D12A
Message D12A/PRIHIS
Pricing history message
A message furnishing the Pricing History and related information of goods previously ordered under conditions agreed to between a seller and a buyer.
Message description
UNH
M(1) : Message headerA 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 element 0065 PRIHIS 0052 D 0054 12A 0051 UN
BGM
M(1) : Beginning of messageA segment by which the sender must uniquely identify the Pricing History by means of its name and number, and when necessary, its function.
DTM
M(1) : Date/time/periodA segment specifying a date and/or time associated with the message.
RFF
C(9) : ReferenceA segment that identifies references that apply to the whole message.
CUX
C(9) : CurrenciesA segment to specify currencies and relevant details for the rate of exchange.
SG1 C(9) : NAD-LOC-SG2-SG3
A group of segments identifying the parties with associated information.
NAD
M(1) : Name and addressA 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.
LOC
C(9) : Place/location identificationA segment identifying locations relevant to the parties.
SG2 C(9) : RFF-DTM
A group of segments for giving references and where necessary, their dates.
RFF
M(1) : ReferenceA segment identifying the reference to a previous request for Pricing History information by its unique identification number.
DTM
C(9) : Date/time/periodA segment specifying the date or date and time of the request for information.
SG3 C(9) : CTA-COM
A group of segments giving contact details of the specific person or department within the party identified in the NAD segment.
CTA
M(1) : Contact informationA segment to identify a person or department, and their function, to whom communications should be directed.
COM
C(9) : Communication contactA segment to identify a communications type and number for the contact specified in the CTA segment.
SG4 C(99999) : 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.
LIN
M(1) : Line itemA 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.
PIA
C(9) : Additional product idA segment providing additional identification to the product specified in the LIN segment, e.g., any substitute product identification.
RFF
C(9) : ReferenceA segment identifying the reference to a previous purchase to the product or service specified in the LIN segment.
IMD
C(9) : Item descriptionA 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.
MEA
C(9) : MeasurementsA 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.
PCD
C(9) : Percentage detailsA segment specifying the strength or yield of an item as a percentage, e.g., 80% to indicate the strength of an acid.
ALI
C(9) : Additional informationA segment indicating that the item is subject to special conditions owing to origin, customs preference, embargo regulations or commercial factors.
GIR
C(9) : Related identification numbersA segment providing sets of related identification numbers for the item specified in the LIN segment.
SG5 C(999) : 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.
NAD
M(1) : Name and addressA segment identifying names and addresses of the parties, in coded or clear form, and their functions relative to the pricing history.
LOC
C(9) : Place/location identificationA segment identifying locations relevant to the party.
STS
C(9) : StatusA segment specifying the status of the party.
PIA
C(9) : Additional product idA 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.
SG6 C(9) : CTA-COM
A group of segments giving contact details of the specific person or department within the party identified in the NAD segment.
CTA
M(1) : Contact informationA segment to identify a person or department, and their function, to whom communications related to a contract or order should be directed.
COM
C(9) : Communication contactA segment to identify a communications type and number for the contact specified in the CTA segment.
SG7 C(9) : RFF-DTM-AGR-SG8
A group of segments giving details of a specific order for the product identified in the LIN segment.
RFF
M(1) : ReferenceA segment identifying contract or order on which the cited goods or services were ordered.
DTM
C(9) : Date/time/periodA segment specifying the date or date and time of the contract or order.
AGR
C(9) : Agreement identificationA segment to specify coded details of the contract or order on which the cited goods or services were ordered.
SG8 C(99) : 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.
QTY
M(1) : QuantityA segment to specify the total number of units previously purchased, on a contract or order.
DTM
C(9) : Date/time/periodA segment specifying the date or date and time of purchase of the previously purchased items.
TAX
C(9) : Duty/tax/fee detailsA segment specifying duty, tax or fee charges relating to the previously purchased units.
FTX
C(9) : Free textA 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.
SG9 C(9) : PYT-DTM-PCD-MOA
A group of segments specifying the terms of payment for the line item specified in the LIN segment.
PYT
M(1) : Payment termsA segment specifying the payment terms and date/time basis.
DTM
C(9) : Date/time/periodA segment giving the specific date/time/period, if needed, of any payments, discounts, instalments, etc.
PCD
C(9) : Percentage detailsA segment specifying discount, interest, penalty or instalment percentage.
MOA
C(9) : Monetary amountA segment specifying amounts related to payment discounts, penalties or instalments.
SG10 C(9) : TOD-LOC
A group of segments specifying the terms of delivery to a specified location.
TOD
M(1) : Terms of delivery or transportA segment identifying the delivery terms used.
LOC
C(9) : Place/location identificationA segment identifying locations relevant to the delivery terms specified in the TOD segment.
SG11 C(99) : 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.
ALC
M(1) : Allowance or chargeA segment identifying the charge or allowance type.
ALI
C(9) : Additional informationA segment indicating the allowance or charge specified is subject to special conditions owing to origin, customs preferences or commercial factors.
DTM
C(9) : Date/time/periodA 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.
SG12 C(9) : 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.
QTY
M(1) : QuantityA segment identifying the type of quantity and the quantity related to the allowance or charge.
RNG
C(1) : Range detailsA segment specifying, if required, the quantity range to which the charge or allowance applies.
SG13 C(9) : 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.
PCD
M(1) : Percentage detailsA segment identifying the percentage and the percentage basis for the calculation of the allowance or charge.
RNG
C(1) : Range detailsA segment specifying, if required, a range for the application of the percentage.
SG14 C(9) : 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.
MOA
M(1) : Monetary amountA segment identifying the monetary amount for the allowance or charge.
RNG
C(1) : Range detailsA segment specifying, if required, a range for the application of the allowance or charge amount.
SG15 C(9) : 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.
RTE
M(1) : Rate detailsA segment specifying the rate per unit and the basis for calculation.
RNG
C(1) : Range detailsA segment specifying, if required, the range for the application of the allowance or charge rate.
SG16 C(9) : TAX-MOA
A group of segments specifying the tax type, category and rate, or exemption, related to the allowance or charge.
TAX
M(1) : Duty/tax/fee detailsA segment specifying the tax type, category and rate, or exemption, related to the allowance or charge.
MOA
C(1) : Monetary amountA segment specifying the amount for the allowance or charge.
SG17 M(9) : PRI-DTM-CUX-RNG
A group of segments giving details of prices and the applicable currencies for orders of the specified item.
PRI
M(1) : Price detailsA segment to specify the price type and amount.
DTM
C(9) : Date/time/periodA segment specifying the date or date and time of previous orders for the specified item.
CUX
C(9) : CurrenciesA segment to allow specification of the price in a different currency.
RNG
C(9) : Range detailsA segment specifying, if required, the range for the price type and amount.
UNT
M(1) : Message trailerA service segment ending a message, giving the total number of segments in the message (including the UNH & UNT) and the control reference number of the message.
Message structure
UNH, Message header M 1 BGM, Beginning of message M 1 DTM, Date/time/period M 1 RFF, Reference C 9 CUX, Currencies C 9 --- Segment Group 1 ------------------------- C 9 -------+ NAD, Name and address M 1 | LOC, Place/location identification C 9 | | --- Segment Group 2 ------------------------- C 9 ------+| RFF, Reference M 1 || DTM, Date/time/period C 9 || ---- ----------------------------------------------------------+| | --- Segment Group 3 ------------------------- C 9 ------+| CTA, Contact information M 1 || COM, Communication contact C 9 || ---- ----------------------------------------------------------++ --- Segment Group 4 ------------------------- C 99999 -------+ LIN, Line item M 1 | PIA, Additional product id C 9 | RFF, Reference C 9 | IMD, Item description C 9 | MEA, Measurements C 9 | PCD, Percentage details C 9 | ALI, Additional information C 9 | GIR, Related identification numbers C 9 | | --- Segment Group 5 ------------------------- C 999 ------+| NAD, Name and address M 1 || LOC, Place/location identification C 9 || STS, Status C 9 || PIA, Additional product id C 9 || || --- Segment Group 6 ------------------------- C 9 -----+|| CTA, Contact information M 1 ||| COM, Communication contact C 9 ||| ---- ---------------------------------------------------------+|| || --- Segment Group 7 ------------------------- C 9 -----+|| RFF, Reference M 1 ||| DTM, Date/time/period C 9 ||| AGR, Agreement identification C 9 ||| ||| --- Segment Group 8 ------------------------- C 99 ----+||| QTY, Quantity M 1 |||| DTM, Date/time/period C 9 |||| TAX, Duty/tax/fee details C 9 |||| FTX, Free text C 9 |||| |||| --- Segment Group 9 ------------------------- C 9 ---+|||| PYT, Payment terms M 1 ||||| DTM, Date/time/period C 9 ||||| PCD, Percentage details C 9 ||||| MOA, Monetary amount C 9 ||||| ---- -------------------------------------------------------+|||| |||| --- Segment Group 10 ------------------------ C 9 ---+|||| TOD, Terms of delivery or transport M 1 ||||| LOC, Place/location identification C 9 ||||| ---- -------------------------------------------------------+|||| |||| --- Segment Group 11 ------------------------ C 99 ---+|||| ALC, Allowance or charge M 1 ||||| ALI, Additional information C 9 ||||| DTM, Date/time/period C 9 ||||| ||||| --- Segment Group 12 ------------------------ C 9 --+||||| QTY, Quantity M 1 |||||| RNG, Range details C 1 |||||| ---- ------------------------------------------------------+||||| ||||| --- Segment Group 13 ------------------------ C 9 --+||||| PCD, Percentage details M 1 |||||| RNG, Range details C 1 |||||| ---- ------------------------------------------------------+||||| ||||| --- Segment Group 14 ------------------------ C 9 --+||||| MOA, Monetary amount M 1 |||||| RNG, Range details C 1 |||||| ---- ------------------------------------------------------+||||| ||||| --- Segment Group 15 ------------------------ C 9 --+||||| RTE, Rate details M 1 |||||| RNG, Range details C 1 |||||| ---- ------------------------------------------------------+||||| ||||| --- Segment Group 16 ------------------------ C 9 --+||||| TAX, Duty/tax/fee details M 1 |||||| MOA, Monetary amount C 1 |||||| ---- ------------------------------------------------------++|||| |||| --- Segment Group 17 ------------------------ M 9 ---+|||| PRI, Price details M 1 ||||| DTM, Date/time/period C 9 ||||| CUX, Currencies C 9 ||||| RNG, Range details C 9 ||||| ---- -------------------------------------------------------+++++ UNT, Message trailer M 1