definitions/segments/pri.rb in eancom-1.5.6 vs definitions/segments/pri.rb in eancom-1.5.7
- old
+ new
@@ -113,30 +113,38 @@
},
'DPR' => {
description: 'Discount price',
identifier: 'discount_price',
},
- 'MRP' => {
- description: 'Market retail price',
- identifier: 'market_retail_price',
+ 'EUP' => {
+ description: 'Expected unit price',
+ identifier: 'expected_unit_price'
},
'LIU' => {
description: 'List price',
identifier: 'list_price',
},
- 'SRP' => {
- description: 'Suggested retail price',
- identifier: 'suggested_retail_price',
+ 'LBL' => {
+ description: 'Labelling price',
+ identifier: 'labelling_price'
},
- 'RTP' => {
- description: 'Retail price',
- identifier: 'retail_price',
+ 'MRP' => {
+ description: 'Market retail price',
+ identifier: 'market_retail_price',
},
'NTP' => {
description: 'Net unit price',
identifier: 'net_unit_price',
- }
+ },
+ 'RTP' => {
+ description: 'Retail price',
+ identifier: 'retail_price',
+ },
+ 'SRP' => {
+ description: 'Suggested retail price',
+ identifier: 'suggested_retail_price',
+ },
},
description: 'Price specification code',
required: false
)
price_information.add(:price_specification_code, data)
@@ -151,10 +159,10 @@
price_information.add(:unit_price_basis_value, data)
data = Eancom::Edifact::Data.new(
type: String,
length: 0..3,
- dictionary: {
+ dictionary: {
'KGM' => {
description: 'Kilogram',
identifier: 'kilogram',
},
'PCE' => {