eddy 0.5.1 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +3 -0
- data/CHANGELOG.md +23 -4
- data/Gemfile.lock +1 -1
- data/README.md +1 -1
- data/lib/definitions/elements/generated/1005.hierarchical_structure_code.rb +1 -1
- data/lib/definitions/elements/generated/1019.invoice_type_code.rb +1 -1
- data/lib/definitions/elements/generated/103.packaging_code.rb +1 -1
- data/lib/definitions/elements/generated/1166.contract_type_code.rb +1 -1
- data/lib/definitions/elements/generated/1232.purchase_category.rb +1 -1
- data/lib/definitions/elements/generated/127.reference_identification.rb +1 -1
- data/lib/definitions/elements/generated/128.reference_identification_qualifier.rb +1 -1
- data/lib/definitions/elements/generated/1300.service_promotion_allowance_or_charge_code.rb +1 -1
- data/lib/definitions/elements/generated/1301.agency_service_promotion_allowance_or_charge_code.rb +1 -1
- data/lib/definitions/elements/generated/133.routing_sequence_code.rb +1 -1
- data/lib/definitions/elements/generated/166.address_information.rb +1 -1
- data/lib/definitions/elements/generated/183.volume.rb +1 -1
- data/lib/definitions/elements/generated/187.weight_qualifier.rb +1 -1
- data/lib/definitions/elements/generated/19.city_name.rb +1 -1
- data/lib/definitions/elements/generated/206.equipment_initial.rb +1 -1
- data/lib/definitions/elements/generated/207.equipment_number.rb +1 -1
- data/lib/definitions/elements/generated/212.unit_price.rb +1 -1
- data/lib/definitions/elements/generated/22.commodity_code.rb +1 -1
- data/lib/definitions/elements/generated/23.commodity_code_qualifier.rb +1 -1
- data/lib/definitions/elements/generated/234.product_service_id.rb +1 -1
- data/lib/definitions/elements/generated/235.product_service_id_qualifier.rb +1 -1
- data/lib/definitions/elements/generated/236.price_identifier_code.rb +1 -1
- data/lib/definitions/elements/generated/248.allowance_or_charge_indicator.rb +1 -1
- data/lib/definitions/elements/generated/26.country_code.rb +1 -1
- data/lib/definitions/elements/generated/284.service_level_code.rb +1 -1
- data/lib/definitions/elements/generated/324.purchase_order_number.rb +1 -1
- data/lib/definitions/elements/generated/326.request_reference_number.rb +1 -1
- data/lib/definitions/elements/generated/327.change_order_sequence_number.rb +1 -1
- data/lib/definitions/elements/generated/328.release_number.rb +1 -1
- data/lib/definitions/elements/generated/330.quantity_ordered.rb +1 -1
- data/lib/definitions/elements/generated/347.hash_total.rb +1 -1
- data/lib/definitions/elements/generated/349.item_description_type.rb +1 -1
- data/lib/definitions/elements/generated/352.description.rb +1 -1
- data/lib/definitions/elements/generated/353.transaction_set_purpose_code.rb +1 -1
- data/lib/definitions/elements/generated/354.number_of_line_items.rb +1 -1
- data/lib/definitions/elements/generated/355.unit_or_basis_for_measurement_code.rb +1 -1
- data/lib/definitions/elements/generated/358.quantity_invoiced.rb +1 -1
- data/lib/definitions/elements/generated/367.contract_number.rb +1 -1
- data/lib/definitions/elements/generated/368.shipment_order_status_code.rb +1 -1
- data/lib/definitions/elements/generated/374.date_time_qualifier.rb +1 -1
- data/lib/definitions/elements/generated/380.quantity.rb +1 -1
- data/lib/definitions/elements/generated/382.number_of_units_shipped.rb +1 -1
- data/lib/definitions/elements/generated/387.routing.rb +1 -1
- data/lib/definitions/elements/generated/396.shipment_identification.rb +1 -1
- data/lib/definitions/elements/generated/559.agency_qualifier_code.rb +1 -1
- data/lib/definitions/elements/generated/587.acknowledgment_type.rb +1 -1
- data/lib/definitions/elements/generated/610.amount.rb +1 -1
- data/lib/definitions/elements/generated/639.basis_of_unit_price_code.rb +1 -1
- data/lib/definitions/elements/generated/640.transaction_type_code.rb +1 -1
- data/lib/definitions/elements/generated/646.quantity_shipped_to_date.rb +1 -1
- data/lib/definitions/elements/generated/648.price_multiplier_qualifier.rb +1 -1
- data/lib/definitions/elements/generated/649.multiplier.rb +1 -1
- data/lib/definitions/elements/generated/66.identification_code_qualifier.rb +1 -1
- data/lib/definitions/elements/generated/662.relationship_code.rb +1 -1
- data/lib/definitions/elements/generated/668.line_item_status_code.rb +1 -1
- data/lib/definitions/elements/generated/67.identification_code.rb +1 -1
- data/lib/definitions/elements/generated/687.class_of_trade_code.rb +1 -1
- data/lib/definitions/elements/generated/750.product_process_characteristic_code.rb +1 -1
- data/lib/definitions/elements/generated/751.product_description_code.rb +1 -1
- data/lib/definitions/elements/generated/76.invoice_number.rb +1 -1
- data/lib/definitions/elements/generated/782.monetary_amount.rb +1 -1
- data/lib/definitions/elements/generated/786.security_level_code.rb +1 -1
- data/lib/definitions/elements/generated/79.lading_description.rb +1 -1
- data/lib/definitions/elements/generated/80.lading_quantity.rb +1 -1
- data/lib/definitions/elements/generated/87.marks_and_numbers.rb +1 -1
- data/lib/definitions/elements/generated/88.marks_and_numbers_qualifier.rb +1 -1
- data/lib/definitions/elements/generated/91.transportation_method_type_code.rb +1 -1
- data/lib/definitions/elements/generated/92.purchase_order_type_code.rb +1 -1
- data/lib/definitions/elements/generated/98.entity_identifier_code.rb +1 -1
- data/lib/definitions/elements/manual/116.postal_code.rb +1 -1
- data/lib/definitions/elements/manual/124.application_receivers_code.rb +1 -1
- data/lib/definitions/elements/manual/140.standard_carrier_alpha_code.rb +1 -1
- data/lib/definitions/elements/manual/142.application_senders_code.rb +1 -1
- data/lib/definitions/elements/manual/143.transaction_set_identifier_code.rb +1 -1
- data/lib/definitions/elements/manual/156.state_or_province_code.rb +1 -1
- data/lib/definitions/elements/manual/28.group_control_number.rb +1 -1
- data/lib/definitions/elements/manual/329.transactional_set_control_number.rb +2 -2
- data/lib/definitions/elements/manual/337.time.rb +1 -1
- data/lib/definitions/elements/manual/350.assigned_identification.rb +1 -1
- data/lib/definitions/elements/manual/373.date.rb +1 -1
- data/lib/definitions/elements/manual/455.responsible_agency_code.rb +1 -1
- data/lib/definitions/elements/manual/479.functional_identifier_code.rb +1 -1
- data/lib/definitions/elements/manual/480.version_release_industry_identifier_code.rb +1 -1
- data/lib/definitions/elements/manual/784.length_of_binary_data.rb +1 -1
- data/lib/definitions/elements/manual/785.binary_data.rb +1 -1
- data/lib/definitions/elements/manual/96.number_of_included_segments.rb +1 -1
- data/lib/definitions/elements/manual/97.number_of_transaction_sets_included.rb +1 -1
- data/lib/definitions/elements/manual/hl/628.hierarchical_id_number.rb +1 -1
- data/lib/definitions/elements/manual/hl/734.hierarchical_parent_id_number.rb +1 -1
- data/lib/definitions/elements/manual/hl/735.hierarchical_level_code.rb +1 -1
- data/lib/definitions/elements/manual/hl/736.hierarchical_child_code.rb +1 -1
- data/lib/definitions/elements/manual/i/I01.authorization_information_qualifier.rb +1 -1
- data/lib/definitions/elements/manual/i/I02.authorization_information.rb +1 -1
- data/lib/definitions/elements/manual/i/I03.security_information_qualifier.rb +1 -1
- data/lib/definitions/elements/manual/i/I04.security_information.rb +1 -1
- data/lib/definitions/elements/manual/i/I05.interchange_id_qualifier.rb +1 -1
- data/lib/definitions/elements/manual/i/I06.interchange_sender_id.rb +1 -1
- data/lib/definitions/elements/manual/i/I07.interchange_receiver_id.rb +1 -1
- data/lib/definitions/elements/manual/i/I08.interchange_date.rb +1 -1
- data/lib/definitions/elements/manual/i/I09.interchange_time.rb +1 -1
- data/lib/definitions/elements/manual/i/I10.interchange_control_standards_identifier.rb +1 -1
- data/lib/definitions/elements/manual/i/I11.interchange_control_version_number.rb +1 -1
- data/lib/definitions/elements/manual/i/I12.interchange_control_number.rb +1 -1
- data/lib/definitions/elements/manual/i/I13.acknowledgment_requested.rb +1 -1
- data/lib/definitions/elements/manual/i/I14.usage_indicator.rb +1 -1
- data/lib/definitions/elements/manual/i/I15.component_element_separator.rb +1 -1
- data/lib/definitions/elements/manual/i/I16.number_of_included_functional_groups.rb +1 -1
- data/lib/definitions/elements/manual/misc/81.weight.rb +1 -1
- data/lib/definitions/elements/manual/misc/93.name.rb +1 -1
- data/lib/definitions/segments/generated/ack.rb +1 -1
- data/lib/definitions/segments/generated/bak.rb +1 -1
- data/lib/definitions/segments/generated/beg.rb +1 -1
- data/lib/definitions/segments/generated/big.rb +1 -1
- data/lib/definitions/segments/generated/bsn.rb +1 -1
- data/lib/definitions/segments/generated/cad.rb +1 -1
- data/lib/definitions/segments/generated/ctp.rb +1 -1
- data/lib/definitions/segments/generated/ctt.rb +1 -1
- data/lib/definitions/segments/generated/dtm.rb +1 -1
- data/lib/definitions/segments/generated/it1.rb +1 -1
- data/lib/definitions/segments/generated/lin.rb +1 -1
- data/lib/definitions/segments/generated/man.rb +1 -1
- data/lib/definitions/segments/generated/n1.rb +1 -1
- data/lib/definitions/segments/generated/n3.rb +1 -1
- data/lib/definitions/segments/generated/n4.rb +1 -1
- data/lib/definitions/segments/generated/pid.rb +1 -1
- data/lib/definitions/segments/generated/po1.rb +1 -1
- data/lib/definitions/segments/generated/prf.rb +1 -1
- data/lib/definitions/segments/generated/ref.rb +1 -1
- data/lib/definitions/segments/generated/sac.rb +1 -1
- data/lib/definitions/segments/generated/sln.rb +1 -1
- data/lib/definitions/segments/generated/sn1.rb +1 -1
- data/lib/definitions/segments/generated/td1.rb +1 -1
- data/lib/definitions/segments/generated/td5.rb +1 -1
- data/lib/definitions/segments/generated/tds.rb +1 -1
- data/lib/definitions/segments/manual/envelopes/ge.rb +1 -1
- data/lib/definitions/segments/manual/envelopes/gs.rb +1 -1
- data/lib/definitions/segments/manual/envelopes/iea.rb +1 -1
- data/lib/definitions/segments/manual/envelopes/isa.rb +1 -1
- data/lib/definitions/segments/manual/envelopes/se.rb +1 -1
- data/lib/definitions/segments/manual/envelopes/st.rb +1 -1
- data/lib/definitions/segments/manual/hl.rb +1 -1
- data/lib/definitions/segments/manual/n2.rb +1 -1
- data/lib/definitions/transaction_sets/manual/810/810.rb +19 -24
- data/lib/definitions/transaction_sets/manual/810/loops/it1.rb +92 -0
- data/lib/definitions/transaction_sets/manual/810/loops/n1.rb +72 -0
- data/lib/definitions/transaction_sets/manual/810/loops/pid.rb +45 -0
- data/lib/definitions/transaction_sets/manual/810/loops/sac.rb +45 -0
- data/lib/definitions/transaction_sets/manual/850/850.rb +12 -14
- data/lib/definitions/transaction_sets/manual/850/loops/n1.rb +74 -0
- data/lib/definitions/transaction_sets/manual/850/loops/po1.rb +51 -0
- data/lib/definitions/transaction_sets/manual/855/855.rb +11 -15
- data/lib/definitions/transaction_sets/manual/855/loops/ack.rb +45 -0
- data/lib/definitions/transaction_sets/manual/855/loops/n1.rb +72 -0
- data/lib/definitions/transaction_sets/manual/855/loops/pid.rb +45 -0
- data/lib/definitions/transaction_sets/manual/855/loops/po1.rb +80 -0
- data/lib/definitions/transaction_sets/manual/856/856.rb +8 -16
- data/lib/definitions/transaction_sets/manual/856/loops/hl_item.rb +87 -0
- data/lib/definitions/transaction_sets/manual/856/loops/hl_order.rb +59 -0
- data/lib/definitions/transaction_sets/manual/856/loops/hl_shipment.rb +159 -0
- data/lib/definitions/transaction_sets/manual/856/loops/hl_tare.rb +59 -0
- data/lib/definitions/transaction_sets/manual/856/loops/n1.rb +71 -0
- data/lib/definitions/transaction_sets/manual/856/loops/sln.rb +44 -0
- data/lib/eddy/build/elements/element.rb +5 -5
- data/lib/eddy/build/elements/elements.rb +3 -3
- data/lib/eddy/build/elements/id.rb +1 -1
- data/lib/eddy/build/elements/n.rb +1 -1
- data/lib/eddy/build/loop/base.rb +49 -0
- data/lib/eddy/build/loop/render.rb +18 -0
- data/lib/eddy/build/loop/repeat.rb +86 -0
- data/lib/eddy/build/segment_builder.rb +14 -9
- data/lib/eddy/build/transaction_set_builder.rb +60 -93
- data/lib/eddy/build.rb +3 -1
- data/lib/eddy/errors.rb +16 -15
- data/lib/eddy/models/element/an.rb +45 -43
- data/lib/eddy/models/element/b.rb +45 -43
- data/lib/eddy/models/element/base.rb +102 -100
- data/lib/eddy/models/element/composite.rb +5 -3
- data/lib/eddy/models/element/dt.rb +82 -80
- data/lib/eddy/models/element/id.rb +47 -45
- data/lib/eddy/models/element/n.rb +79 -77
- data/lib/eddy/models/element/r.rb +70 -68
- data/lib/eddy/models/element/tm.rb +95 -93
- data/lib/eddy/models/element.rb +4 -2
- data/lib/eddy/models/functional_group.rb +29 -27
- data/lib/eddy/models/interchange.rb +49 -47
- data/lib/eddy/models/loop/base.rb +62 -63
- data/lib/eddy/models/loop/repeat.rb +43 -31
- data/lib/eddy/models/segment.rb +30 -28
- data/lib/eddy/models/transaction_set.rb +82 -80
- data/lib/eddy/models.rb +1 -1
- data/lib/eddy/{schema/element_summary.rb → summary/element.rb} +3 -3
- data/lib/eddy/{schema/loop_summary.rb → summary/loop.rb} +53 -16
- data/lib/eddy/{schema/segment_summary.rb → summary/segment.rb} +14 -6
- data/lib/eddy/{schema/transaction_set_summary.rb → summary/transaction_set.rb} +14 -13
- data/lib/eddy/{schema → summary}/validate.rb +1 -1
- data/lib/eddy/summary.rb +10 -0
- data/lib/eddy/util.rb +5 -5
- data/lib/eddy/version.rb +1 -1
- data/lib/eddy.rb +1 -7
- data/todo.txt +3 -5
- metadata +28 -13
- data/lib/definitions/transaction_sets/manual/810/loops.rb +0 -109
- data/lib/definitions/transaction_sets/manual/850/loops.rb +0 -58
- data/lib/definitions/transaction_sets/manual/855/loops.rb +0 -104
- data/lib/definitions/transaction_sets/manual/856/loops.rb +0 -155
- data/lib/eddy/build/loop_builder.rb +0 -93
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 600abecd37256fb0b700c1fe568e103dba586d35b2da502d2c0b0427924fb4f6
|
4
|
+
data.tar.gz: 7fe8def87019c4c3e9d32c21b1b8bdc20fdd0ab0fa8ad395c5513fa3c7aa6ad5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3cadff7f1e04f1b8c5efd5f6c8f178af7c76d8b26cc3956d1f4db5633927916b2a5543618b5d76c3e1993d57f5fa94997489a78789c306b5e0c022adc95a189e
|
7
|
+
data.tar.gz: '099a3cf5c909bb4c1a333d0f051be08c620f3eb7759c5e5b479e1796dd4e969208ee8013ab167339d248c7cb1df603a615b4312b978feec9d2163d9b31d999b7'
|
data/.rubocop.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -5,19 +5,38 @@ All notable changes to this project will be documented in this file.
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
7
7
|
|
8
|
+
> Versions 0.x (0.2, 0.3, 0.4, ...) exist to make it easier for me to test Eddy in other projects and figure out how best to move forward with development.
|
9
|
+
>
|
10
|
+
> All code should be considered Work In Progress.
|
11
|
+
>
|
12
|
+
> While the API is still changing, enough code exists that EDI documents can currently be written with Eddy (though I wouldn't recommend use in production environments yet).
|
13
|
+
|
8
14
|
## master (unreleased)
|
9
15
|
|
10
|
-
|
16
|
+
## 0.6.0 (2020-01-07)
|
11
17
|
|
12
|
-
|
18
|
+
### Changed
|
13
19
|
|
14
|
-
|
20
|
+
- Updated the implementation of `Loop`.
|
21
|
+
- Renamed attribute `Loop#repeat` to `Loop#repeat_limit`
|
22
|
+
- Rename `Eddy::Schema` to `Eddy::Summary` and remove `Summary` postfix from class names, resulting in the following changes:
|
23
|
+
- `Eddy::Schema::LoopSummary` -> `Eddy::Summary::Loop`
|
24
|
+
- `Eddy::Schema::ElementSummary` -> `Eddy::Summary::Element`
|
25
|
+
- `Eddy::Schema::SegmentSummary` -> `Eddy::Summary::Segment`
|
26
|
+
- `Eddy::Schema::TransactionSetSummary` -> `Eddy::Summary::TransactionSet`
|
27
|
+
- Move the following classes into the `Eddy::Models` module:
|
28
|
+
- `Element::*`
|
29
|
+
- `Segment`
|
30
|
+
- `Loop::*`
|
31
|
+
- `FunctionalGroup`
|
32
|
+
- `TransactionSet`
|
33
|
+
- `Interchange`
|
15
34
|
|
16
35
|
## 0.5.1 (2020-01-06)
|
17
36
|
|
18
37
|
### Changed
|
19
38
|
|
20
|
-
- Rename
|
39
|
+
- Rename attribute `loop_id` to `id`.
|
21
40
|
|
22
41
|
### Fixed
|
23
42
|
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
[travis-ci]: https://travis-ci.org/tcd/eddy
|
11
11
|
[coveralls]: https://coveralls.io/github/tcd/eddy?branch=master
|
12
12
|
[license]: https://github.com/tcd/eddy/blob/master/LICENSE.txt
|
13
|
-
[docs]: https://www.rubydoc.info/gems/eddy/0.
|
13
|
+
[docs]: https://www.rubydoc.info/gems/eddy/0.6.0
|
14
14
|
|
15
15
|
## Installation
|
16
16
|
|
@@ -7,7 +7,7 @@ module Eddy
|
|
7
7
|
# - Type: ID
|
8
8
|
# - Min/Max: 4/4
|
9
9
|
# - Description: Code indicating the hierarchical application structure of a transaction set that utilizes the HL segment to define the structure of the transaction set
|
10
|
-
class E1005 < Eddy::Element::ID
|
10
|
+
class E1005 < Eddy::Models::Element::ID
|
11
11
|
|
12
12
|
# @param val [String]
|
13
13
|
# @param req [String]
|
@@ -7,7 +7,7 @@ module Eddy
|
|
7
7
|
# - Type: AN
|
8
8
|
# - Min/Max: 3/5
|
9
9
|
# - Description: Code identifying the type of packaging; Part 1: Packaging Form, Part 2: Packaging Material; if the Data Element is used, then Part 1 is always required
|
10
|
-
class E103 < Eddy::Element::AN
|
10
|
+
class E103 < Eddy::Models::Element::AN
|
11
11
|
# @param val [String]
|
12
12
|
# @param req [String]
|
13
13
|
# @param ref [String]
|
@@ -7,7 +7,7 @@ module Eddy
|
|
7
7
|
# - Type: ID
|
8
8
|
# - Min/Max: 2/2
|
9
9
|
# - Description: Code identifying the broad category of products or services being acquired
|
10
|
-
class E1232 < Eddy::Element::ID
|
10
|
+
class E1232 < Eddy::Models::Element::ID
|
11
11
|
|
12
12
|
# @param val [String]
|
13
13
|
# @param req [String]
|
@@ -7,7 +7,7 @@ module Eddy
|
|
7
7
|
# - Type: AN
|
8
8
|
# - Min/Max: 1/30
|
9
9
|
# - Description: Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier
|
10
|
-
class E127 < Eddy::Element::AN
|
10
|
+
class E127 < Eddy::Models::Element::AN
|
11
11
|
# @param val [String]
|
12
12
|
# @param req [String]
|
13
13
|
# @param ref [String]
|
data/lib/definitions/elements/generated/1301.agency_service_promotion_allowance_or_charge_code.rb
CHANGED
@@ -7,7 +7,7 @@ module Eddy
|
|
7
7
|
# - Type: AN
|
8
8
|
# - Min/Max: 1/10
|
9
9
|
# - Description: Agency maintained code identifying the service, promotion, allowance, or charge
|
10
|
-
class E1301 < Eddy::Element::AN
|
10
|
+
class E1301 < Eddy::Models::Element::AN
|
11
11
|
# @param val [String]
|
12
12
|
# @param req [String]
|
13
13
|
# @param ref [String]
|
@@ -7,7 +7,7 @@ module Eddy
|
|
7
7
|
# - Type: ID
|
8
8
|
# - Min/Max: 1/2
|
9
9
|
# - Description: Code describing the relationship of a carrier to a specific shipment movement
|
10
|
-
class E133 < Eddy::Element::ID
|
10
|
+
class E133 < Eddy::Models::Element::ID
|
11
11
|
|
12
12
|
# @param val [String]
|
13
13
|
# @param req [String]
|
@@ -7,7 +7,7 @@ module Eddy
|
|
7
7
|
# - Type: AN
|
8
8
|
# - Min/Max: 1/4
|
9
9
|
# - Description: Prefix or alphabetic part of an equipment unit's identifying number
|
10
|
-
class E206 < Eddy::Element::AN
|
10
|
+
class E206 < Eddy::Models::Element::AN
|
11
11
|
# @param val [String]
|
12
12
|
# @param req [String]
|
13
13
|
# @param ref [String]
|
@@ -7,7 +7,7 @@ module Eddy
|
|
7
7
|
# - Type: AN
|
8
8
|
# - Min/Max: 1/10
|
9
9
|
# - Description: Sequencing or serial part of an equipment unit's identifying number (pure numeric form for equipment number is preferred)
|
10
|
-
class E207 < Eddy::Element::AN
|
10
|
+
class E207 < Eddy::Models::Element::AN
|
11
11
|
# @param val [String]
|
12
12
|
# @param req [String]
|
13
13
|
# @param ref [String]
|
@@ -7,7 +7,7 @@ module Eddy
|
|
7
7
|
# - Type: AN
|
8
8
|
# - Min/Max: 1/30
|
9
9
|
# - Description: Code describing a commodity or group of commodities
|
10
|
-
class E22 < Eddy::Element::AN
|
10
|
+
class E22 < Eddy::Models::Element::AN
|
11
11
|
# @param val [String]
|
12
12
|
# @param req [String]
|
13
13
|
# @param ref [String]
|
@@ -7,7 +7,7 @@ module Eddy
|
|
7
7
|
# - Type: ID
|
8
8
|
# - Min/Max: 2/2
|
9
9
|
# - Description: Code identifying the type/source of the descriptive number used in Product/Service ID (234)
|
10
|
-
class E235 < Eddy::Element::ID
|
10
|
+
class E235 < Eddy::Models::Element::ID
|
11
11
|
|
12
12
|
# @param val [String]
|
13
13
|
# @param req [String]
|
@@ -7,7 +7,7 @@ module Eddy
|
|
7
7
|
# - Type: ID
|
8
8
|
# - Min/Max: 2/2
|
9
9
|
# - Description: Code indicating the level of transportation service or the billing service offered by the transportation carrier
|
10
|
-
class E284 < Eddy::Element::ID
|
10
|
+
class E284 < Eddy::Models::Element::ID
|
11
11
|
|
12
12
|
# @param val [String]
|
13
13
|
# @param req [String]
|
@@ -7,7 +7,7 @@ module Eddy
|
|
7
7
|
# - Type: AN
|
8
8
|
# - Min/Max: 1/22
|
9
9
|
# - Description: Identifying number for Purchase Order assigned by the orderer/purchaser
|
10
|
-
class E324 < Eddy::Element::AN
|
10
|
+
class E324 < Eddy::Models::Element::AN
|
11
11
|
# @param val [String]
|
12
12
|
# @param req [String]
|
13
13
|
# @param ref [String]
|
@@ -7,7 +7,7 @@ module Eddy
|
|
7
7
|
# - Type: AN
|
8
8
|
# - Min/Max: 1/45
|
9
9
|
# - Description: Reference number or RFQ number to use to identify a particular transaction set and query (additional reference number or description which can be used with contract number)
|
10
|
-
class E326 < Eddy::Element::AN
|
10
|
+
class E326 < Eddy::Models::Element::AN
|
11
11
|
# @param val [String]
|
12
12
|
# @param req [String]
|
13
13
|
# @param ref [String]
|
@@ -7,7 +7,7 @@ module Eddy
|
|
7
7
|
# - Type: AN
|
8
8
|
# - Min/Max: 1/8
|
9
9
|
# - Description: Number assigned by the orderer identifying a specific change or revision to a previously transmitted transaction set
|
10
|
-
class E327 < Eddy::Element::AN
|
10
|
+
class E327 < Eddy::Models::Element::AN
|
11
11
|
# @param val [String]
|
12
12
|
# @param req [String]
|
13
13
|
# @param ref [String]
|
@@ -7,7 +7,7 @@ module Eddy
|
|
7
7
|
# - Type: AN
|
8
8
|
# - Min/Max: 1/30
|
9
9
|
# - Description: Number identifying a release against a Purchase Order previously placed by the parties involved in the transaction
|
10
|
-
class E328 < Eddy::Element::AN
|
10
|
+
class E328 < Eddy::Models::Element::AN
|
11
11
|
# @param val [String]
|
12
12
|
# @param req [String]
|
13
13
|
# @param ref [String]
|
@@ -7,7 +7,7 @@ module Eddy
|
|
7
7
|
# - Type: R
|
8
8
|
# - Min/Max: 1/10
|
9
9
|
# - Description: Sum of values of the specified data element. All values in the data element will be summed without regard to decimal points (explicit or implicit) or signs. Truncation will occur on the left most digits if the sum is greater than the maximum size of the hash total of the data element.
|
10
|
-
class E347 < Eddy::Element::R
|
10
|
+
class E347 < Eddy::Models::Element::R
|
11
11
|
# @param val [Float]
|
12
12
|
# @param req [String]
|
13
13
|
# @param ref [String]
|
@@ -7,7 +7,7 @@ module Eddy
|
|
7
7
|
# - Type: AN
|
8
8
|
# - Min/Max: 1/80
|
9
9
|
# - Description: A free-form description to clarify the related data elements and their content
|
10
|
-
class E352 < Eddy::Element::AN
|
10
|
+
class E352 < Eddy::Models::Element::AN
|
11
11
|
# @param val [String]
|
12
12
|
# @param req [String]
|
13
13
|
# @param ref [String]
|
@@ -7,7 +7,7 @@ module Eddy
|
|
7
7
|
# - Type: ID
|
8
8
|
# - Min/Max: 2/2
|
9
9
|
# - Description: Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
|
10
|
-
class E355 < Eddy::Element::ID
|
10
|
+
class E355 < Eddy::Models::Element::ID
|
11
11
|
|
12
12
|
# @param val [String]
|
13
13
|
# @param req [String]
|
@@ -7,7 +7,7 @@ module Eddy
|
|
7
7
|
# - Type: ID
|
8
8
|
# - Min/Max: 2/2
|
9
9
|
# - Description: Code indicating the status of an order or shipment or the disposition of any difference between the quantity ordered and the quantity shipped for a line item or transaction
|
10
|
-
class E368 < Eddy::Element::ID
|
10
|
+
class E368 < Eddy::Models::Element::ID
|
11
11
|
|
12
12
|
# @param val [String]
|
13
13
|
# @param req [String]
|
@@ -7,7 +7,7 @@ module Eddy
|
|
7
7
|
# - Type: R
|
8
8
|
# - Min/Max: 1/10
|
9
9
|
# - Description: Numeric value of units shipped in manufacturer's shipping units for a line item or transaction set
|
10
|
-
class E382 < Eddy::Element::R
|
10
|
+
class E382 < Eddy::Models::Element::R
|
11
11
|
# @param val [Float]
|
12
12
|
# @param req [String]
|
13
13
|
# @param ref [String]
|
@@ -7,7 +7,7 @@ module Eddy
|
|
7
7
|
# - Type: AN
|
8
8
|
# - Min/Max: 1/35
|
9
9
|
# - Description: Free-form description of the routing or requested routing for shipment, or the originating carrier's identity
|
10
|
-
class E387 < Eddy::Element::AN
|
10
|
+
class E387 < Eddy::Models::Element::AN
|
11
11
|
# @param val [String]
|
12
12
|
# @param req [String]
|
13
13
|
# @param ref [String]
|
@@ -7,7 +7,7 @@ module Eddy
|
|
7
7
|
# - Type: AN
|
8
8
|
# - Min/Max: 2/30
|
9
9
|
# - Description: A unique control number assigned by the original shipper to identify a specific shipment
|
10
|
-
class E396 < Eddy::Element::AN
|
10
|
+
class E396 < Eddy::Models::Element::AN
|
11
11
|
# @param val [String]
|
12
12
|
# @param req [String]
|
13
13
|
# @param ref [String]
|
@@ -7,7 +7,7 @@ module Eddy
|
|
7
7
|
# - Type: R
|
8
8
|
# - Min/Max: 1/10
|
9
9
|
# - Description: Value to be used as a multiplier to obtain a new value
|
10
|
-
class E649 < Eddy::Element::R
|
10
|
+
class E649 < Eddy::Models::Element::R
|
11
11
|
# @param val [Float]
|
12
12
|
# @param req [String]
|
13
13
|
# @param ref [String]
|
@@ -7,7 +7,7 @@ module Eddy
|
|
7
7
|
# - Type: ID
|
8
8
|
# - Min/Max: 1/2
|
9
9
|
# - Description: Code designating the system/method of code structure used for Identification Code (67)
|
10
|
-
class E66 < Eddy::Element::ID
|
10
|
+
class E66 < Eddy::Models::Element::ID
|
11
11
|
|
12
12
|
# @param val [String]
|
13
13
|
# @param req [String]
|