Class: Eddy::TransactionSets::TS850::Loops::PO1::Repeat

Inherits:
Models::Loop::Repeat show all
Defined in:
lib/definitions/transaction_sets/manual/850/loops/po1.rb

Overview

Loop Summary:

  • Repeat: 100,000
  • Components:
    • PO1

Instance Attribute Summary

Attributes inherited from Models::Loop::Repeat

#components, #store

Instance Method Summary collapse

Methods inherited from Models::Loop::Repeat

#all_contents, #repeat

Constructor Details

#initialize(store) ⇒ void

Parameters:



32
33
34
35
# File 'lib/definitions/transaction_sets/manual/850/loops/po1.rb', line 32

def initialize(store)
  @po1 = Eddy::Segments::PO1.new(store)
  super(store, @po1)
end

Instance Method Details

#PO1 {|| ... } ⇒ Eddy::Segments::PO1

Segment Summary:

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

Yield Parameters:

Returns:



41
42
43
44
# File 'lib/definitions/transaction_sets/manual/850/loops/po1.rb', line 41

def PO1()
  yield(@po1) if block_given?
  return @po1
end