class Eddy::Segments::PO1

### Segment Summary:

Public Class Methods

new(store) click to toggle source

@param store [Eddy::Data::Store] @return [void]

Calls superclass method 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

AssignedIdentification=(arg)
Alias for: PO101=
BasisOfUnitPriceCode=(arg)
Alias for: PO105=
PO101=(arg) click to toggle source

### 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
Also aliased as: AssignedIdentification=
PO102=(arg) click to toggle source

### 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
Also aliased as: QuantityOrdered=
PO103=(arg) click to toggle source

### 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=(arg) click to toggle source

### 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
Also aliased as: UnitPrice=
PO105=(arg) click to toggle source

### 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
Also aliased as: BasisOfUnitPriceCode=
PO106=(arg) click to toggle source

### 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
Also aliased as: ProductServiceIdQualifier1=
PO107=(arg) click to toggle source

### 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
Also aliased as: ProductServiceId1=
PO108=(arg) click to toggle source

### 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
Also aliased as: ProductServiceIdQualifier2=
PO109=(arg) click to toggle source

### 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
Also aliased as: ProductServiceId2=
PO110=(arg) click to toggle source

### 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
Also aliased as: ProductServiceIdQualifier3=
PO111=(arg) click to toggle source

### 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
Also aliased as: ProductServiceId3=
PO112=(arg) click to toggle source

### 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
Also aliased as: ProductServiceIdQualifier4=
PO113=(arg) click to toggle source

### 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
Also aliased as: ProductServiceId4=
PO114=(arg) click to toggle source

### 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
Also aliased as: ProductServiceIdQualifier5=
PO115=(arg) click to toggle source

### 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
Also aliased as: ProductServiceId5=
ProductServiceId1=(arg)
Alias for: PO107=
ProductServiceId2=(arg)
Alias for: PO109=
ProductServiceId3=(arg)
Alias for: PO111=
ProductServiceId4=(arg)
Alias for: PO113=
ProductServiceId5=(arg)
Alias for: PO115=
ProductServiceIdQualifier1=(arg)
Alias for: PO106=
ProductServiceIdQualifier2=(arg)
Alias for: PO108=
ProductServiceIdQualifier3=(arg)
Alias for: PO110=
ProductServiceIdQualifier4=(arg)
Alias for: PO112=
ProductServiceIdQualifier5=(arg)
Alias for: PO114=
QuantityOrdered=(arg)
Alias for: PO102=
UnitOrBasisForMeasurementCode=(arg)
Alias for: PO103=
UnitPrice=(arg)
Alias for: PO104=