definitions/segments/dtm.rb in eancom-1.5.1 vs definitions/segments/dtm.rb in eancom-1.5.2

- old
+ new

@@ -78,14 +78,22 @@ }, '171' => { description: 'Reference date/time', identifier: 'reference_date_time' }, + '194' => { + description: 'Start date/time', + identifier: 'start_date_time' + }, '200' => { description: 'Pick-up/collection date/time of cargo', identifier: 'pick_up_collection_date_time_of_cargo' }, + '206' => { + description: 'End date/time', + identifier: 'end_date_time' + }, '263' => { description: 'Invoicing period', identifier: 'invoicing_period' }, '325' => { @@ -94,18 +102,30 @@ }, '356' => { description: 'Sales date, and or time, and or period', identifier: 'sales_date_and_or_time_and_or_period' }, + '418' => { + description: 'Minimum shelf life remaining at time of receipt', + identifier: 'minimum_shelf_life_remaining_at_time_of_receipt' + }, + '423' => { + description: 'First date of ordering', + identifier: 'first_date_of_ordering' + }, '454' => { description: 'Accounting value date', identifier: 'accounting_value_date' }, '44E' => { description: 'Connection date/time', identifier: 'connection_date_time' }, + '765' => { + description: 'Seasonal availabilty calendar year', + identifier: 'seasonal_availabilty_calendar_year' + } } data = Eancom::Edifact::Data.new( type: String, length: 1..3, @@ -137,13 +157,22 @@ '204' => { description: 'Date and Time', value: 'CCYYMMDDHHMMSS', identifier: 'date_time_second' }, + '602' => { + description: 'Calendar year including century: C = Century; Y = Year', + value: 'CCYY', + identifier: 'century_year' + }, '718' => { description: 'Period', value: 'CCYYMMDD-CCZZMMDD', identifier: 'period' + }, + '801' => { + description: 'Year', + identifier: 'year' } } data = Eancom::Edifact::Data.new( type: String,