Class: Eddy::Segments::PO1

Inherits:
Models::Segment show all
Defined in:
lib/definitions/segments/generated/po1.rb

Overview

Segment Summary:

  • Id: PO1
  • Name: Baseline Item Data
  • Purpose: To specify basic and most frequently used line item data

Instance Attribute Summary

Attributes inherited from Models::Segment

#elements, #id, #name, #skip, #store

Instance Method Summary collapse

Methods inherited from Models::Segment

#render

Constructor Details

#initialize(store) ⇒ void

Parameters:



12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# 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

Instance Method Details

#PO101=(arg) ⇒ void Also known as: AssignedIdentification=

This method returns an undefined value.

PO101

  • Id: 350
  • Name: Assigned Identification
  • Type: AN
  • Min/Max: 1/20
  • Description: Alphanumeric characters assigned for differentiation within a transaction set

Parameters:

  • arg (String)


60
61
62
# File 'lib/definitions/segments/generated/po1.rb', line 60

def PO101=(arg)
  @po101.value = arg
end

#PO102=(arg) ⇒ void Also known as: QuantityOrdered=

This method returns an undefined value.

PO102

  • Id: 330
  • Name: Quantity Ordered
  • Type: R
  • Min/Max: 1/15
  • Description: Quantity ordered

Parameters:

  • arg (Float)


75
76
77
# File 'lib/definitions/segments/generated/po1.rb', line 75

def PO102=(arg)
  @po102.value = arg
end

#PO103=(arg) ⇒ void Also known as: UnitOrBasisForMeasurementCode=

This method returns an undefined value.

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

Parameters:

  • arg (String)


90
91
92
# File 'lib/definitions/segments/generated/po1.rb', line 90

def PO103=(arg)
  @po103.value = arg
end

#PO104=(arg) ⇒ void Also known as: UnitPrice=

This method returns an undefined value.

PO104

  • Id: 212
  • Name: Unit Price
  • Type: R
  • Min/Max: 1/17
  • Description: Price per unit of product, service, commodity, etc.

Parameters:

  • arg (Float)


105
106
107
# File 'lib/definitions/segments/generated/po1.rb', line 105

def PO104=(arg)
  @po104.value = arg
end

#PO105=(arg) ⇒ void Also known as: BasisOfUnitPriceCode=

This method returns an undefined value.

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

Parameters:

  • arg (String)


120
121
122
# File 'lib/definitions/segments/generated/po1.rb', line 120

def PO105=(arg)
  @po105.value = arg
end

#PO106=(arg) ⇒ void Also known as: ProductServiceIdQualifier1=

This method returns an undefined value.

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)

Parameters:

  • arg (String)


135
136
137
# File 'lib/definitions/segments/generated/po1.rb', line 135

def PO106=(arg)
  @po106.value = arg
end

#PO107=(arg) ⇒ void Also known as: ProductServiceId1=

This method returns an undefined value.

PO107

  • Id: 234
  • Name: Product/Service ID
  • Type: AN
  • Min/Max: 1/48
  • Description: Identifying number for a product or service

Parameters:

  • arg (String)


150
151
152
# File 'lib/definitions/segments/generated/po1.rb', line 150

def PO107=(arg)
  @po107.value = arg
end

#PO108=(arg) ⇒ void Also known as: ProductServiceIdQualifier2=

This method returns an undefined value.

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)

Parameters:

  • arg (String)


165
166
167
# File 'lib/definitions/segments/generated/po1.rb', line 165

def PO108=(arg)
  @po108.value = arg
end

#PO109=(arg) ⇒ void Also known as: ProductServiceId2=

This method returns an undefined value.

PO109

  • Id: 234
  • Name: Product/Service ID
  • Type: AN
  • Min/Max: 1/48
  • Description: Identifying number for a product or service

Parameters:

  • arg (String)


180
181
182
# File 'lib/definitions/segments/generated/po1.rb', line 180

def PO109=(arg)
  @po109.value = arg
end

#PO110=(arg) ⇒ void Also known as: ProductServiceIdQualifier3=

This method returns an undefined value.

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)

Parameters:

  • arg (String)


195
196
197
# File 'lib/definitions/segments/generated/po1.rb', line 195

def PO110=(arg)
  @po110.value = arg
end

#PO111=(arg) ⇒ void Also known as: ProductServiceId3=

This method returns an undefined value.

PO111

  • Id: 234
  • Name: Product/Service ID
  • Type: AN
  • Min/Max: 1/48
  • Description: Identifying number for a product or service

Parameters:

  • arg (String)


210
211
212
# File 'lib/definitions/segments/generated/po1.rb', line 210

def PO111=(arg)
  @po111.value = arg
end

#PO112=(arg) ⇒ void Also known as: ProductServiceIdQualifier4=

This method returns an undefined value.

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)

Parameters:

  • arg (String)


225
226
227
# File 'lib/definitions/segments/generated/po1.rb', line 225

def PO112=(arg)
  @po112.value = arg
end

#PO113=(arg) ⇒ void Also known as: ProductServiceId4=

This method returns an undefined value.

PO113

  • Id: 234
  • Name: Product/Service ID
  • Type: AN
  • Min/Max: 1/48
  • Description: Identifying number for a product or service

Parameters:

  • arg (String)


240
241
242
# File 'lib/definitions/segments/generated/po1.rb', line 240

def PO113=(arg)
  @po113.value = arg
end

#PO114=(arg) ⇒ void Also known as: ProductServiceIdQualifier5=

This method returns an undefined value.

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)

Parameters:

  • arg (String)


255
256
257
# File 'lib/definitions/segments/generated/po1.rb', line 255

def PO114=(arg)
  @po114.value = arg
end

#PO115=(arg) ⇒ void Also known as: ProductServiceId5=

This method returns an undefined value.

PO115

  • Id: 234
  • Name: Product/Service ID
  • Type: AN
  • Min/Max: 1/48
  • Description: Identifying number for a product or service

Parameters:

  • arg (String)


270
271
272
# File 'lib/definitions/segments/generated/po1.rb', line 270

def PO115=(arg)
  @po115.value = arg
end