class Eddy::Segments::PO1
### Segment Summary:
Public Class Methods
@param store [Eddy::Data::Store] @return [void]
Eddy::Models::Segment::new
# File lib/definitions/segments/generated/po1.rb, line 12 def initialize(store) @id = "PO1" @name = "Baseline Item Data" @po101 = Eddy::Elements::E350.new(ref: "PO101", req: "O") @po102 = Eddy::Elements::E330.new(ref: "PO102", req: "X") @po103 = Eddy::Elements::E355.new(ref: "PO103", req: "O") @po104 = Eddy::Elements::E212.new(ref: "PO104", req: "X") @po105 = Eddy::Elements::E639.new(ref: "PO105", req: "O") @po106 = Eddy::Elements::E235.new(ref: "PO106", req: "X") @po107 = Eddy::Elements::E234.new(ref: "PO107", req: "X") @po108 = Eddy::Elements::E235.new(ref: "PO108", req: "X") @po109 = Eddy::Elements::E234.new(ref: "PO109", req: "X") @po110 = Eddy::Elements::E235.new(ref: "PO110", req: "X") @po111 = Eddy::Elements::E234.new(ref: "PO111", req: "X") @po112 = Eddy::Elements::E235.new(ref: "PO112", req: "X") @po113 = Eddy::Elements::E234.new(ref: "PO113", req: "X") @po114 = Eddy::Elements::E235.new(ref: "PO114", req: "X") @po115 = Eddy::Elements::E234.new(ref: "PO115", req: "X") super( store, @po101, @po102, @po103, @po104, @po105, @po106, @po107, @po108, @po109, @po110, @po111, @po112, @po113, @po114, @po115, ) end
Public Instance Methods
### PO101
-
Id: 350
-
Name: Assigned Identification
-
Type: AN
-
Min/Max: 1/20
-
Description: Alphanumeric characters assigned for differentiation within a transaction set
@param arg [String] @return [void]
# File lib/definitions/segments/generated/po1.rb, line 60 def PO101=(arg) @po101.value = arg end
### PO102
-
Id: 330
-
Name: Quantity Ordered
-
Type: R
-
Min/Max: 1/15
-
Description: Quantity ordered
@param arg [Float] @return [void]
# File lib/definitions/segments/generated/po1.rb, line 75 def PO102=(arg) @po102.value = arg end
### PO103
-
Id: 355
-
Name: Unit or Basis for Measurement Code
-
Type: ID
-
Min/Max: 2/2
-
Description: Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
@param arg [String] @return [void]
# File lib/definitions/segments/generated/po1.rb, line 90 def PO103=(arg) @po103.value = arg end
### PO104
-
Id: 212
-
Name: Unit Price
-
Type: R
-
Min/Max: 1/17
-
Description: Price per unit of product, service, commodity, etc.
@param arg [Float] @return [void]
# File lib/definitions/segments/generated/po1.rb, line 105 def PO104=(arg) @po104.value = arg end
### PO105
-
Id: 639
-
Name: Basis of Unit Price Code
-
Type: ID
-
Min/Max: 2/2
-
Description: Code identifying the type of unit price for an item
@param arg [String] @return [void]
# File lib/definitions/segments/generated/po1.rb, line 120 def PO105=(arg) @po105.value = arg end
### PO106
-
Id: 235
-
Name: Product/Service ID Qualifier
-
Type: ID
-
Min/Max: 2/2
-
Description: Code identifying the type/source of the descriptive number used in Product/Service ID (234)
@param arg [String] @return [void]
# File lib/definitions/segments/generated/po1.rb, line 135 def PO106=(arg) @po106.value = arg end
### PO107
-
Id: 234
-
Name: Product/Service ID
-
Type: AN
-
Min/Max: 1/48
-
Description: Identifying number for a product or service
@param arg [String] @return [void]
# File lib/definitions/segments/generated/po1.rb, line 150 def PO107=(arg) @po107.value = arg end
### PO108
-
Id: 235
-
Name: Product/Service ID Qualifier
-
Type: ID
-
Min/Max: 2/2
-
Description: Code identifying the type/source of the descriptive number used in Product/Service ID (234)
@param arg [String] @return [void]
# File lib/definitions/segments/generated/po1.rb, line 165 def PO108=(arg) @po108.value = arg end
### PO109
-
Id: 234
-
Name: Product/Service ID
-
Type: AN
-
Min/Max: 1/48
-
Description: Identifying number for a product or service
@param arg [String] @return [void]
# File lib/definitions/segments/generated/po1.rb, line 180 def PO109=(arg) @po109.value = arg end
### PO110
-
Id: 235
-
Name: Product/Service ID Qualifier
-
Type: ID
-
Min/Max: 2/2
-
Description: Code identifying the type/source of the descriptive number used in Product/Service ID (234)
@param arg [String] @return [void]
# File lib/definitions/segments/generated/po1.rb, line 195 def PO110=(arg) @po110.value = arg end
### PO111
-
Id: 234
-
Name: Product/Service ID
-
Type: AN
-
Min/Max: 1/48
-
Description: Identifying number for a product or service
@param arg [String] @return [void]
# File lib/definitions/segments/generated/po1.rb, line 210 def PO111=(arg) @po111.value = arg end
### PO112
-
Id: 235
-
Name: Product/Service ID Qualifier
-
Type: ID
-
Min/Max: 2/2
-
Description: Code identifying the type/source of the descriptive number used in Product/Service ID (234)
@param arg [String] @return [void]
# File lib/definitions/segments/generated/po1.rb, line 225 def PO112=(arg) @po112.value = arg end
### PO113
-
Id: 234
-
Name: Product/Service ID
-
Type: AN
-
Min/Max: 1/48
-
Description: Identifying number for a product or service
@param arg [String] @return [void]
# File lib/definitions/segments/generated/po1.rb, line 240 def PO113=(arg) @po113.value = arg end
### PO114
-
Id: 235
-
Name: Product/Service ID Qualifier
-
Type: ID
-
Min/Max: 2/2
-
Description: Code identifying the type/source of the descriptive number used in Product/Service ID (234)
@param arg [String] @return [void]
# File lib/definitions/segments/generated/po1.rb, line 255 def PO114=(arg) @po114.value = arg end
### PO115
-
Id: 234
-
Name: Product/Service ID
-
Type: AN
-
Min/Max: 1/48
-
Description: Identifying number for a product or service
@param arg [String] @return [void]
# File lib/definitions/segments/generated/po1.rb, line 270 def PO115=(arg) @po115.value = arg end