Class: Eddy::Segments::BIA

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

Overview

Segment Summary:

  • Id: BIA
  • Name: Beginning Segment for Inventory Inquiry/Advice
  • Purpose: To indicate the beginning of an Inventory Inquiry/Advice Transaction Set

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
# File 'lib/definitions/segments/generated/bia.rb', line 12

def initialize(store)
  @id = "BIA"
  @name = "Beginning Segment for Inventory Inquiry/Advice"
  @bia01 = Eddy::Elements::E353.new(ref: "BIA01", req: "M")
  @bia02 = Eddy::Elements::E755.new(ref: "BIA02", req: "M")
  @bia03 = Eddy::Elements::E127.new(ref: "BIA03", req: "M")
  @bia04 = Eddy::Elements::E373.new(ref: "BIA04", req: "M")
  @bia05 = Eddy::Elements::E337.new(ref: "BIA05", req: "O")
  super(
    store,
    @bia01,
    @bia02,
    @bia03,
    @bia04,
    @bia05,
  )
end

Instance Method Details

#BIA01=(arg) ⇒ void Also known as: TransactionSetPurposeCode=

This method returns an undefined value.

BIA01

  • Id: 353
  • Name: Transaction Set Purpose Code
  • Type: ID
  • Min/Max: 2/2
  • Description: Code identifying purpose of transaction set

Parameters:

  • arg (String)


40
41
42
# File 'lib/definitions/segments/generated/bia.rb', line 40

def BIA01=(arg)
  @bia01.value = arg
end

#BIA02=(arg) ⇒ void Also known as: ReportTypeCode=

This method returns an undefined value.

BIA02

  • Id: 755
  • Name: Report Type Code
  • Type: ID
  • Min/Max: 2/2
  • Description: Code indicating the title or contents of a document, report or supporting item

Parameters:

  • arg (String)


55
56
57
# File 'lib/definitions/segments/generated/bia.rb', line 55

def BIA02=(arg)
  @bia02.value = arg
end

#BIA03=(arg) ⇒ void Also known as: ReferenceIdentification=

This method returns an undefined value.

BIA03

  • Id: 127
  • Name: Reference Identification
  • Type: AN
  • Min/Max: 1/30
  • Description: Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier

Parameters:

  • arg (String)


70
71
72
# File 'lib/definitions/segments/generated/bia.rb', line 70

def BIA03=(arg)
  @bia03.value = arg
end

#BIA04=(arg) ⇒ void Also known as: Date=

This method returns an undefined value.

BIA04

  • Id: 373
  • Name: Date
  • Type: DT
  • Min/Max: 8/8
  • Description: Date expressed as CCYYMMDD

Parameters:

  • arg (Time)


85
86
87
# File 'lib/definitions/segments/generated/bia.rb', line 85

def BIA04=(arg)
  @bia04.value = arg
end

#BIA05=(arg) ⇒ void Also known as: Time=

This method returns an undefined value.

BIA05

  • Id: 337
  • Name: Time
  • Type: TM
  • Min/Max: 4/8
  • Description: Time expressed in 24-hour clock time as follows: HHMM, or HHMMSS, or HHMMSSD, or HHMMSSDD, where H = hours (00-23), M = minutes (00-59), S = integer seconds (00-59) and DD = decimal seconds; decimal seconds are expressed as follows: D = tenths (0-9) and DD = hundredths (00-99)

Parameters:

  • arg (Time)


100
101
102
# File 'lib/definitions/segments/generated/bia.rb', line 100

def BIA05=(arg)
  @bia05.value = arg
end