eancom 1.5.1 → 1.5.2
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/definitions/segments/dtm.rb +29 -0
- data/definitions/segments/imd.rb +12 -4
- data/definitions/segments/pia.rb +8 -0
- data/definitions/segments/qty.rb +7 -3
- 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: 07e83bb22f865c47feb0a68f154d662226eb05190fac04fdec416ee2fd0e1412
|
|
4
|
+
data.tar.gz: d7b41945686dfd328792e89e6fa5ec03813d4032a7f52c47d522558e7451c058
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 69b343540fd82882ea4688563a7b5f9af89f21b65e998f12bdc7d6bdfb553f9a9123400e292d88e58a47646345209f8b01585db6c74c9dc2697a25498550ce24
|
|
7
|
+
data.tar.gz: bbe175322f15a052ab2d728ecf2935485fa692d04bec197fe91a018ca72986eb7b89e4f0b6f4abdc673d7f1e5ff36d4e21f8e1aec34fb35e71ba231cfee2826b
|
data/definitions/segments/dtm.rb
CHANGED
|
@@ -80,10 +80,18 @@ type_dictionary = {
|
|
|
80
80
|
description: 'Reference date/time',
|
|
81
81
|
identifier: 'reference_date_time'
|
|
82
82
|
},
|
|
83
|
+
'194' => {
|
|
84
|
+
description: 'Start date/time',
|
|
85
|
+
identifier: 'start_date_time'
|
|
86
|
+
},
|
|
83
87
|
'200' => {
|
|
84
88
|
description: 'Pick-up/collection date/time of cargo',
|
|
85
89
|
identifier: 'pick_up_collection_date_time_of_cargo'
|
|
86
90
|
},
|
|
91
|
+
'206' => {
|
|
92
|
+
description: 'End date/time',
|
|
93
|
+
identifier: 'end_date_time'
|
|
94
|
+
},
|
|
87
95
|
'263' => {
|
|
88
96
|
description: 'Invoicing period',
|
|
89
97
|
identifier: 'invoicing_period'
|
|
@@ -96,6 +104,14 @@ type_dictionary = {
|
|
|
96
104
|
description: 'Sales date, and or time, and or period',
|
|
97
105
|
identifier: 'sales_date_and_or_time_and_or_period'
|
|
98
106
|
},
|
|
107
|
+
'418' => {
|
|
108
|
+
description: 'Minimum shelf life remaining at time of receipt',
|
|
109
|
+
identifier: 'minimum_shelf_life_remaining_at_time_of_receipt'
|
|
110
|
+
},
|
|
111
|
+
'423' => {
|
|
112
|
+
description: 'First date of ordering',
|
|
113
|
+
identifier: 'first_date_of_ordering'
|
|
114
|
+
},
|
|
99
115
|
'454' => {
|
|
100
116
|
description: 'Accounting value date',
|
|
101
117
|
identifier: 'accounting_value_date'
|
|
@@ -104,6 +120,10 @@ type_dictionary = {
|
|
|
104
120
|
description: 'Connection date/time',
|
|
105
121
|
identifier: 'connection_date_time'
|
|
106
122
|
},
|
|
123
|
+
'765' => {
|
|
124
|
+
description: 'Seasonal availabilty calendar year',
|
|
125
|
+
identifier: 'seasonal_availabilty_calendar_year'
|
|
126
|
+
}
|
|
107
127
|
}
|
|
108
128
|
|
|
109
129
|
data = Eancom::Edifact::Data.new(
|
|
@@ -139,10 +159,19 @@ format_dictionary = {
|
|
|
139
159
|
value: 'CCYYMMDDHHMMSS',
|
|
140
160
|
identifier: 'date_time_second'
|
|
141
161
|
},
|
|
162
|
+
'602' => {
|
|
163
|
+
description: 'Calendar year including century: C = Century; Y = Year',
|
|
164
|
+
value: 'CCYY',
|
|
165
|
+
identifier: 'century_year'
|
|
166
|
+
},
|
|
142
167
|
'718' => {
|
|
143
168
|
description: 'Period',
|
|
144
169
|
value: 'CCYYMMDD-CCZZMMDD',
|
|
145
170
|
identifier: 'period'
|
|
171
|
+
},
|
|
172
|
+
'801' => {
|
|
173
|
+
description: 'Year',
|
|
174
|
+
identifier: 'year'
|
|
146
175
|
}
|
|
147
176
|
}
|
|
148
177
|
|
data/definitions/segments/imd.rb
CHANGED
|
@@ -25,6 +25,14 @@ data = Eancom::Edifact::Data.new(
|
|
|
25
25
|
type: String,
|
|
26
26
|
length: 1..3,
|
|
27
27
|
dictionary: {
|
|
28
|
+
'A' => {
|
|
29
|
+
description: 'Free-form long description',
|
|
30
|
+
identifier: 'free_form_long_description'
|
|
31
|
+
},
|
|
32
|
+
'B' => {
|
|
33
|
+
description: 'Code and text',
|
|
34
|
+
identifier: 'code_and_text'
|
|
35
|
+
},
|
|
28
36
|
'C' => {
|
|
29
37
|
description: 'Code (from industry code list)',
|
|
30
38
|
identifier: 'code'
|
|
@@ -45,10 +53,6 @@ data = Eancom::Edifact::Data.new(
|
|
|
45
53
|
description: 'Structured (from industry code list)',
|
|
46
54
|
identifier: 'structured'
|
|
47
55
|
},
|
|
48
|
-
'B' => {
|
|
49
|
-
description: 'Code and text',
|
|
50
|
-
identifier: 'code_and_text'
|
|
51
|
-
}
|
|
52
56
|
},
|
|
53
57
|
description: "Description format code",
|
|
54
58
|
required: true
|
|
@@ -141,6 +145,10 @@ item_characteristic_code = Eancom::Edifact::Data.new(
|
|
|
141
145
|
description: 'Season name',
|
|
142
146
|
identifier: 'season_name'
|
|
143
147
|
},
|
|
148
|
+
'XX7' => {
|
|
149
|
+
description: 'Season code',
|
|
150
|
+
identifier: 'season_code'
|
|
151
|
+
},
|
|
144
152
|
},
|
|
145
153
|
description: "Item characteristic code",
|
|
146
154
|
required: true
|
data/definitions/segments/pia.rb
CHANGED
|
@@ -141,6 +141,10 @@ data = Eancom::Edifact::Data.new(
|
|
|
141
141
|
'92' => {
|
|
142
142
|
description: "Assigned by buyer or buyer's agent",
|
|
143
143
|
identifier: 'assigned_by_buyer_or_buyers_agent'
|
|
144
|
+
},
|
|
145
|
+
'246' => {
|
|
146
|
+
description: 'GS1 Germany',
|
|
147
|
+
identification: 'gs1_germany'
|
|
144
148
|
}
|
|
145
149
|
},
|
|
146
150
|
description: "Code list responsible agency code",
|
|
@@ -489,6 +493,10 @@ data = Eancom::Edifact::Data.new(
|
|
|
489
493
|
'92' => {
|
|
490
494
|
description: "Assigned by buyer or buyer's agent",
|
|
491
495
|
identification: 'assigned_by_buyer_or_buyers_agent'
|
|
496
|
+
},
|
|
497
|
+
'246' => {
|
|
498
|
+
description: 'GS1 Germany',
|
|
499
|
+
identification: 'gs1_germany'
|
|
492
500
|
}
|
|
493
501
|
},
|
|
494
502
|
description: "Code list responsible agency code",
|
data/definitions/segments/qty.rb
CHANGED
|
@@ -43,15 +43,19 @@ data = Eancom::Edifact::Data.new(
|
|
|
43
43
|
'59' => {
|
|
44
44
|
description: 'Numbers of consumer units in the traded unit',
|
|
45
45
|
identifier: 'numbers_or_consumer_units_in_the_traded_unit'
|
|
46
|
-
|
|
46
|
+
},
|
|
47
|
+
'129' => {
|
|
48
|
+
description: 'Units per unit price',
|
|
49
|
+
identifier: 'units_per_unit_price'
|
|
50
|
+
},
|
|
47
51
|
'153' => {
|
|
48
52
|
description: 'Statistical sales quantity',
|
|
49
53
|
identifier: 'statistical_sales_quantitiy'
|
|
50
|
-
|
|
54
|
+
},
|
|
51
55
|
'160' => {
|
|
52
56
|
description: 'Minimum production batch',
|
|
53
57
|
identifier: 'minimum_production_batch'
|
|
54
|
-
|
|
58
|
+
}
|
|
55
59
|
},
|
|
56
60
|
description: 'Quantity type code qualifier',
|
|
57
61
|
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.2
|
|
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-04-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: pry
|