Class: Eddy::Elements::E92

Inherits:
Models::Element::ID show all
Defined in:
lib/definitions/elements/generated/92.purchase_order_type_code.rb

Overview

Element Summary:

  • Id: 92
  • Name: Purchase Order Type Code
  • Type: ID
  • Min/Max: 2/2
  • Description: Code specifying the type of Purchase Order

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

Parameters:

  • val (String) (defaults to: nil)
  • req (String) (defaults to: nil)
  • ref (String) (defaults to: nil)


16
17
18
19
20
21
22
23
24
25
26
27
# File 'lib/definitions/elements/generated/92.purchase_order_type_code.rb', line 16

def initialize(val: nil, req: nil, ref: nil)
  @id = "92"
  @name = "Purchase Order Type Code"
  @description = "Code specifying the type of Purchase Order"
  super(
    min: 2,
    max: 2,
    req: req,
    ref: ref,
    val: val,
  )
end

Instance Method Details

#code_listArray<String>

Returns:

  • (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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
# File 'lib/definitions/elements/generated/92.purchase_order_type_code.rb', line 30

def code_list()
  return [
    "AB", # Assortment Against Blanket
    "AC", # AOG (Aircraft on Ground) Critical
    "AO", # AOG (Aircraft on Ground) Service
    "BD", # Bidding
    "BE", # Blanket Order/Estimated Quantities (Not firm Commitment)
    "BH", # Bill and Hold
    "BK", # Blanket Order (Quantity Firm)
    "BL", # Bailment
    "BQ", # Budgetary Quote
    "BY", # Buying
    "CA", # Contract Award Notification
    "CC", # Change to Contract
    "CF", # Confirmation
    "CN", # Consigned Order
    "CO", # Catalog Order
    "CP", # Change to Purchase Order
    "CR", # Change to Release
    "DR", # Direct Ship
    "DS", # Dropship
    "EO", # Emergency Order
    "FH", # Fabricate and Hold
    "IN", # Information Copy
    "JL", # Job Lot
    "KA", # Agreement
    "KB", # Blanket Purchase Agreement
    "KC", # Contract
    "KD", # Basic Agreement
    "KE", # Basic Ordering Agreement
    "KG", # Grant
    "KI", # Indefinite Delivery Indefinite Quantity
    "KN", # Purchase Order
    "KO", # Close Out
    "KP", # Authority to Proceed
    "KQ", # Indefinite Delivery Definite Quantity
    "KR", # Requirements
    "KS", # Letter Contract
    "KT", # Task Order
    "LB", # Lease (Blanket Agreement)
    "LS", # Lease
    "NE", # New Order
    "NO", # Not for Sale
    "NP", # New Product Introduction
    "NS", # New Store Opening
    "OS", # Special Order
    "PR", # Promotion
    "RA", # Release Against Assortment
    "RC", # Retailer Pre-commitment
    "RE", # Reorder
    "RL", # Release or Delivery Order
    "RN", # Renewal Order
    "RO", # Rush Order
    "RR", # Repair and Return
    "RT", # Rental
    "RU", # Record Update Service
    "RW", # Resume Work Order
    "SA", # Stand-alone Order
    "SO", # Shipped Order
    "SP", # Sample
    "SS", # Supply or Service Order
    "ST", # Standing Order
    "SW", # Stop Work
    "TC", # Toll Conversion Order
    "TM", # Time & Materials
    "TR", # Termination
    "UD", # Unit Down
    "UE", # Unit Exchange
    "US", # Urgent Service Request
    "WO", # Warranty Order
    "ZZ", # Mutually Defined
  ]
end