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
# 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")
  super(
    store,
    @po101,
    @po102,
    @po103,
    @po104,
    @po105,
    @po106,
    @po107,
    @po108,
    @po109,
  )
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)


48
49
50
# File 'lib/definitions/segments/generated/po1.rb', line 48

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)


63
64
65
# File 'lib/definitions/segments/generated/po1.rb', line 63

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)


78
79
80
# File 'lib/definitions/segments/generated/po1.rb', line 78

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)


93
94
95
# File 'lib/definitions/segments/generated/po1.rb', line 93

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)


108
109
110
# File 'lib/definitions/segments/generated/po1.rb', line 108

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)


123
124
125
# File 'lib/definitions/segments/generated/po1.rb', line 123

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)


138
139
140
# File 'lib/definitions/segments/generated/po1.rb', line 138

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)


153
154
155
# File 'lib/definitions/segments/generated/po1.rb', line 153

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)


168
169
170
# File 'lib/definitions/segments/generated/po1.rb', line 168

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