Class: Eddy::Elements::E368

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

Overview

Element Summary:

  • Id: 368
  • Name: Shipment/Order Status Code
  • Type: ID
  • Min/Max: 2/2
  • 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

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/368.shipment_order_status_code.rb', line 16

def initialize(val: nil, req: nil, ref: nil)
  @id = "368"
  @name = "Shipment/Order Status Code"
  @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"
  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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
# File 'lib/definitions/elements/generated/368.shipment_order_status_code.rb', line 30

def code_list()
  return [
    "AA", # Multiple Pickup Same Destination
    "AB", # Available to Ship - Billed Quantity
    "AN", # Available Now - No Shipping Schedule
    "AP", # Allocation
    "AS", # Available Now - Scheduled to Ship (date)
    "AU", # Available to Ship - Unbilled Quantity
    "AV", # Available
    "BK", # Back Ordered from Previous Order
    "BM", # Backordered, Manufacturer, Out-of-Stock
    "BO", # Back Ordered
    "BP", # Shipment Partial, Back Order to Ship on (Date)
    "BT", # Billed total
    "BW", # Billed week-to-date
    "CA", # Customer Inquiry - All Items
    "CB", # Components Missing
    "CC", # Shipment Complete on (Date)
    "CD", # Consolidated Freight
    "CE", # Shipment Includes Extra Items to Meet Price Break
    "CF", # Consolidated Load
    "CI", # Customer Inquiry - Shipped Items Only
    "CK", # Cancelled from Previous Order
    "CL", # Complete
    "CM", # Shipment Complete with Additional Quantity
    "CN", # Next Carrier Move on (Date)
    "CO", # Customer Inquiry - Unshipped Items Only
    "CP", # Partial Shipment on (Date), Considered No Backorder
    "CS", # Shipment Complete with Substitution
    "CT", # Combination
    "CU", # Cancelled Line Item
    "DA", # Due for Assortment
    "DD", # Delivered to Destination on (Date)
    "DE", # Deleted Order
    "DI", # Discontinued
    "DO", # Diverted Order
    "DP", # Dispose
    "DR", # Dating Requirements
    "DS", # Out Of Stock Condition
    "EC", # Equipment Capacity
    "ED", # Expect to Ship By (Date)
    "EW", # Expect To Ship Week of (Date)
    "EX", # Expect to Deliver by
    "FS", # Units Not Shipped By Agent - To Be Shipped From Factory
    "HQ", # Held Awaiting Qualification
    "IC", # Item Canceled
    "ID", # Insufficient Information
    "IN", # In Process
    "IP", # Inquiry by Purchase Order
    "IS", # Item Represents Substitution from Original Order
    "LM", # Shipment late
    "LS", # Last Shipment on (Date)
    "LW", # Number of Late Weeks
    "MC", # Missing Components Furnished
    "NF", # Not Yet Published
    "NN", # Not in Process - No Shipping Schedule
    "NS", # Not In Process, Scheduled to Ship on (Date)
    "NY", # No Shipping Schedule
    "OB", # Out of Bill & Hold Goods
    "OF", # Order Sent to Factory for Production on (Date)
    "OP", # Out of Print
    "OR", # Temporarily Out of Stock - Reorder
    "PA", # Purchase Order Inquiry - All Items
    "PC", # Production
    "PD", # Purchase Order Complete
    "PH", # Product On Hold
    "PI", # Purchase Order Inquiry - Shipped Items Only
    "PK", # Packed-to-Date as of (Date)
    "PL", # Part Lot, Stop Off
    "PN", # In Process - No Shipping Schedule
    "PO", # Purchase Order Inquiry - Unshipped Items Only
    "PP", # Purchase Order Inquiry - Specific Items
    "PR", # Partial Shipment
    "PS", # In Process, Scheduled to Ship On (Date)
    "PT", # Part Lot
    "QN", # Quantity Net Due
    "QP", # Quantity Past Due
    "RC", # Released to Carrier (Date)
    "RD", # Revised Expect to Ship By (Date)
    "RI", # Recall
    "RT", # Received Total
    "RW", # Revised Expect to Ship Week of (Date)
    "SA", # Shipment Quantity Increase
    "SB", # Seconds Available to Ship - Billed Quantity
    "SC", # Shipment Quantity Decrease
    "SD", # Shipped Damaged
    "SE", # Replacement Shipment
    "SF", # Shipped and Held in Bond at Contractor's Plant
    "SG", # Shipped and Held as Government-Furnished Property
    "SH", # Shipped (Date)
    "SI", # Shipment Late, Scheduled to Ship on (Date)
    "SJ", # Shipped or Performed as Indicated
    "SK", # Shipment Underrun Quantity
    "SL", # Shipped - to - Date through (Date)
    "SP", # Scheduled for Production at Factory on (Date)
    "SQ", # Scheduled to ship (Summary quantity)
    "SS", # Split Shipment
    "ST", # Stop Off
    "SU", # Seconds Available to Ship - Unbilled Quantity
    "UB", # Unbilled Quantity Balance
    "UN", # Unavailable
    "UR", # Unsolicited Report
    "WS", # Item Invoiced - Shipment to Follow
    "ZZ", # Mutually Defined
  ]
end