eancom 1.5.6 → 1.5.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/definitions/segments/bgm.rb +8 -0
- data/definitions/segments/ftx.rb +8 -0
- data/definitions/segments/pri.rb +19 -11
- data/definitions/segments/qty.rb +4 -0
- data/definitions/segments/rff.rb +8 -0
- data/lib/eancom/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a6528d1683b7871c94ada34d8b29f46827c1fcc9c970855e81190d020cfe435e
|
|
4
|
+
data.tar.gz: c3a8326ce9be33cd202b315fedc82235fff74e9ee1238b05e13008a40ece8f7d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 719ec7a34fe12a4fc3738d97bb732dd36bc793e965b3e21b85bce5007c0e1f2ee6a4694901faf2a55721980da3058c0374a4be4bd2cd81098968e66be6070902
|
|
7
|
+
data.tar.gz: 2935634f2d295dfbe11b213eee756d7ed6268cd266afebd2717f35b5d29b145cfeacc250745763f185e0d346fe538fe28eddbfd11b36c7db28cb72692b05c868
|
data/Gemfile.lock
CHANGED
data/definitions/segments/bgm.rb
CHANGED
|
@@ -255,6 +255,14 @@ data = Eancom::Edifact::Data.new(
|
|
|
255
255
|
'42' => {
|
|
256
256
|
description: 'Confirmation_via_specific_means',
|
|
257
257
|
identifier: 'confirmation_via_specific_means'
|
|
258
|
+
},
|
|
259
|
+
'46' => {
|
|
260
|
+
description: 'Message content is provisional',
|
|
261
|
+
identifier: 'provisional'
|
|
262
|
+
},
|
|
263
|
+
'47' => {
|
|
264
|
+
description: 'Message content is definitive',
|
|
265
|
+
identifier: 'definitive'
|
|
258
266
|
}
|
|
259
267
|
},
|
|
260
268
|
description: 'Message function code',
|
data/definitions/segments/ftx.rb
CHANGED
|
@@ -43,6 +43,10 @@ data = Eancom::Edifact::Data.new(
|
|
|
43
43
|
'1' => {
|
|
44
44
|
description: 'Text for subsequent use',
|
|
45
45
|
identifier: 'text_for_subsequent_use'
|
|
46
|
+
},
|
|
47
|
+
'3' => {
|
|
48
|
+
description: 'Text for immediate use',
|
|
49
|
+
identifier: 'text_for_immediate_use'
|
|
46
50
|
}
|
|
47
51
|
},
|
|
48
52
|
description: "Free Text function code",
|
|
@@ -92,6 +96,10 @@ data = Eancom::Edifact::Data.new(
|
|
|
92
96
|
'246' => {
|
|
93
97
|
description: "GS1 Germany",
|
|
94
98
|
identifier: 'gs1_germany'
|
|
99
|
+
},
|
|
100
|
+
'ZZZ' => {
|
|
101
|
+
description: 'Mutually defined',
|
|
102
|
+
identifier: 'mutually_defined'
|
|
95
103
|
}
|
|
96
104
|
},
|
|
97
105
|
description: "Code list responsible agency code",
|
data/definitions/segments/pri.rb
CHANGED
|
@@ -115,26 +115,34 @@ data = Eancom::Edifact::Data.new(
|
|
|
115
115
|
description: 'Discount price',
|
|
116
116
|
identifier: 'discount_price',
|
|
117
117
|
},
|
|
118
|
-
'
|
|
119
|
-
description: '
|
|
120
|
-
identifier: '
|
|
118
|
+
'EUP' => {
|
|
119
|
+
description: 'Expected unit price',
|
|
120
|
+
identifier: 'expected_unit_price'
|
|
121
121
|
},
|
|
122
122
|
'LIU' => {
|
|
123
123
|
description: 'List price',
|
|
124
124
|
identifier: 'list_price',
|
|
125
125
|
},
|
|
126
|
-
'
|
|
127
|
-
description: '
|
|
128
|
-
identifier: '
|
|
126
|
+
'LBL' => {
|
|
127
|
+
description: 'Labelling price',
|
|
128
|
+
identifier: 'labelling_price'
|
|
129
129
|
},
|
|
130
|
-
'
|
|
131
|
-
description: '
|
|
132
|
-
identifier: '
|
|
130
|
+
'MRP' => {
|
|
131
|
+
description: 'Market retail price',
|
|
132
|
+
identifier: 'market_retail_price',
|
|
133
133
|
},
|
|
134
134
|
'NTP' => {
|
|
135
135
|
description: 'Net unit price',
|
|
136
136
|
identifier: 'net_unit_price',
|
|
137
|
-
}
|
|
137
|
+
},
|
|
138
|
+
'RTP' => {
|
|
139
|
+
description: 'Retail price',
|
|
140
|
+
identifier: 'retail_price',
|
|
141
|
+
},
|
|
142
|
+
'SRP' => {
|
|
143
|
+
description: 'Suggested retail price',
|
|
144
|
+
identifier: 'suggested_retail_price',
|
|
145
|
+
},
|
|
138
146
|
},
|
|
139
147
|
description: 'Price specification code',
|
|
140
148
|
required: false
|
|
@@ -153,7 +161,7 @@ price_information.add(:unit_price_basis_value, data)
|
|
|
153
161
|
data = Eancom::Edifact::Data.new(
|
|
154
162
|
type: String,
|
|
155
163
|
length: 0..3,
|
|
156
|
-
dictionary:
|
|
164
|
+
dictionary: {
|
|
157
165
|
'KGM' => {
|
|
158
166
|
description: 'Kilogram',
|
|
159
167
|
identifier: 'kilogram',
|
data/definitions/segments/qty.rb
CHANGED
|
@@ -40,6 +40,10 @@ data = Eancom::Edifact::Data.new(
|
|
|
40
40
|
description: 'Invoiced quantity',
|
|
41
41
|
identifier: 'invoiced_quantity'
|
|
42
42
|
},
|
|
43
|
+
'53' => {
|
|
44
|
+
description: 'Minimum order quantity',
|
|
45
|
+
identifier: 'minimum_order_quantity'
|
|
46
|
+
},
|
|
43
47
|
'59' => {
|
|
44
48
|
description: 'Numbers of consumer units in the traded unit',
|
|
45
49
|
identifier: 'numbers_or_consumer_units_in_the_traded_unit'
|
data/definitions/segments/rff.rb
CHANGED
|
@@ -49,6 +49,10 @@ data = Eancom::Edifact::Data.new(
|
|
|
49
49
|
description: 'Beneficiarys reference',
|
|
50
50
|
identifier: 'beneficiarys_reference'
|
|
51
51
|
},
|
|
52
|
+
'AJS' => {
|
|
53
|
+
description: 'Agreement number',
|
|
54
|
+
identifier: 'agreement_number'
|
|
55
|
+
},
|
|
52
56
|
'ALL' => {
|
|
53
57
|
description: 'Message Batch number',
|
|
54
58
|
identifier: 'message_batch_number'
|
|
@@ -137,6 +141,10 @@ data = Eancom::Edifact::Data.new(
|
|
|
137
141
|
description: 'VAT registration number',
|
|
138
142
|
identifier: 'vat_registration_number'
|
|
139
143
|
},
|
|
144
|
+
'XB8' => {
|
|
145
|
+
description: 'Agreement number',
|
|
146
|
+
identifier: 'agreement_number_old'
|
|
147
|
+
}
|
|
140
148
|
},
|
|
141
149
|
description: "Reference code quailifier",
|
|
142
150
|
required: true
|
data/lib/eancom/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: eancom
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.5.
|
|
4
|
+
version: 1.5.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Fadendaten GmbH
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-
|
|
11
|
+
date: 2023-05-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: pry
|