Class: Eddy::Elements::E371
- Inherits:
-
Models::Element::ID
- Object
- Models::Element::Base
- Models::Element::ID
- Eddy::Elements::E371
- Defined in:
- lib/definitions/elements/generated/371.change_reason_code.rb
Overview
Element Summary:
- Id: 371
- Name: Change Reason Code
- Type: ID
- Min/Max: 2/2
- Description: Code specifying the reason for price or quantity change
Instance Attribute Summary
Attributes inherited from Models::Element::Base
#description, #id, #max, #min, #name, #ref, #type
Instance Method Summary collapse
Methods inherited from Models::Element::ID
#process_value, process_value, #value, #value=
Methods inherited from Models::Element::Base
#doc_comment, #process_value, process_value, #req, #req=, #value, #value=
Constructor Details
#initialize(val: nil, req: nil, ref: nil) ⇒ void
16 17 18 19 20 21 22 23 24 25 26 27 |
# File 'lib/definitions/elements/generated/371.change_reason_code.rb', line 16 def initialize(val: nil, req: nil, ref: nil) @id = "371" @name = "Change Reason Code" @description = "Code specifying the reason for price or quantity change" super( min: 2, max: 2, req: req, ref: ref, val: val, ) end |
Instance Method Details
#code_list ⇒ Array<String>
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 |
# File 'lib/definitions/elements/generated/371.change_reason_code.rb', line 30 def code_list() return [ "AQ", # Alternate Quantity and Unit of Measure "BB", # Balancing Quantity "BD", # Blueprint Deviation "C1", # Transportation Limitations "C2", # Source Limitations "C3", # Contract Limitations "C4", # Destination Limitations "C5", # Confirmation Limitations "C6", # Other Limitations "DC", # Date Change "EV", # Estimated Quantity "FE", # Feasibility Issue "GU", # Gross Volume per Pack and Unit of Measure "GW", # Gross Weight per Pack "LD", # Length Difference "MC", # Pack/Size Measure Difference "MP", # Minimum Order "PC", # Pack Difference "PQ", # Pack Qualifier "PS", # Product/Services ID Change "QH", # Quantity on Hand "QO", # Quantity Ordered "QP", # Quantity Based on Price Qualifier "QT", # Quantity Price Break "SC", # Size Difference "UM", # Unit of Measure Difference "UP", # Unit Price "WD", # Width Difference "WO", # Weight Qualifier/Gross Weight per Package "ZZ", # Mutually Defined ] end |