class Eddy::Segments::BEG

### 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/beg.rb, line 12
def initialize(store)
  @id = "BEG"
  @name = "Beginning Segment for Purchase Order"
  @beg01 = Eddy::Elements::E353.new(ref: "BEG01", req: "M")
  @beg02 = Eddy::Elements::E92.new(ref: "BEG02", req: "M")
  @beg03 = Eddy::Elements::E324.new(ref: "BEG03", req: "M")
  @beg04 = Eddy::Elements::E328.new(ref: "BEG04", req: "O")
  @beg05 = Eddy::Elements::E373.new(ref: "BEG05", req: "M")
  @beg06 = Eddy::Elements::E367.new(ref: "BEG06", req: "O")
  @beg07 = Eddy::Elements::E587.new(ref: "BEG07", req: "O")
  @beg08 = Eddy::Elements::E1019.new(ref: "BEG08", req: "O")
  @beg09 = Eddy::Elements::E1166.new(ref: "BEG09", req: "O")
  @beg10 = Eddy::Elements::E1232.new(ref: "BEG10", req: "O")
  @beg11 = Eddy::Elements::E786.new(ref: "BEG11", req: "O")
  @beg12 = Eddy::Elements::E640.new(ref: "BEG12", req: "O")
  super(
    store,
    @beg01,
    @beg02,
    @beg03,
    @beg04,
    @beg05,
    @beg06,
    @beg07,
    @beg08,
    @beg09,
    @beg10,
    @beg11,
    @beg12,
  )
end

Public Instance Methods

AcknowledgmentType=(arg)
Alias for: BEG07=
BEG01=(arg) click to toggle source

### BEG01

  • Id: 353

  • Name: Transaction Set Purpose Code

  • Type: ID

  • Min/Max: 2/2

  • Description: Code identifying purpose of transaction set

@param arg [String] @return [void]

# File lib/definitions/segments/generated/beg.rb, line 54
def BEG01=(arg)
  @beg01.value = arg
end
Also aliased as: TransactionSetPurposeCode=
BEG02=(arg) click to toggle source

### BEG02

  • Id: 92

  • Name: Purchase Order Type Code

  • Type: ID

  • Min/Max: 2/2

  • Description: Code specifying the type of Purchase Order

@param arg [String] @return [void]

# File lib/definitions/segments/generated/beg.rb, line 69
def BEG02=(arg)
  @beg02.value = arg
end
Also aliased as: PurchaseOrderTypeCode=
BEG03=(arg) click to toggle source

### BEG03

  • Id: 324

  • Name: Purchase Order Number

  • Type: AN

  • Min/Max: 1/22

  • Description: Identifying number for Purchase Order assigned by the orderer/purchaser

@param arg [String] @return [void]

# File lib/definitions/segments/generated/beg.rb, line 84
def BEG03=(arg)
  @beg03.value = arg
end
Also aliased as: PurchaseOrderNumber=
BEG04=(arg) click to toggle source

### BEG04

  • Id: 328

  • Name: Release Number

  • Type: AN

  • Min/Max: 1/30

  • Description: Number identifying a release against a Purchase Order previously placed by the parties involved in the transaction

@param arg [String] @return [void]

# File lib/definitions/segments/generated/beg.rb, line 99
def BEG04=(arg)
  @beg04.value = arg
end
Also aliased as: ReleaseNumber=
BEG05=(arg) click to toggle source

### BEG05

  • Id: 373

  • Name: Date

  • Type: DT

  • Min/Max: 8/8

  • Description: Date expressed as CCYYMMDD

@param arg [Time] @return [void]

# File lib/definitions/segments/generated/beg.rb, line 114
def BEG05=(arg)
  @beg05.value = arg
end
Also aliased as: Date=
BEG06=(arg) click to toggle source

### BEG06

  • Id: 367

  • Name: Contract Number

  • Type: AN

  • Min/Max: 1/30

  • Description: Contract number

@param arg [String] @return [void]

# File lib/definitions/segments/generated/beg.rb, line 129
def BEG06=(arg)
  @beg06.value = arg
end
Also aliased as: ContractNumber=
BEG07=(arg) click to toggle source

### BEG07

  • Id: 587

  • Name: Acknowledgment Type

  • Type: ID

  • Min/Max: 2/2

  • Description: Code specifying the type of acknowledgment

@param arg [String] @return [void]

# File lib/definitions/segments/generated/beg.rb, line 144
def BEG07=(arg)
  @beg07.value = arg
end
Also aliased as: AcknowledgmentType=
BEG08=(arg) click to toggle source

### BEG08

  • Id: 1019

  • Name: Invoice Type Code

  • Type: ID

  • Min/Max: 3/3

  • Description: Code defining the method by which invoices are to be processed

@param arg [String] @return [void]

# File lib/definitions/segments/generated/beg.rb, line 159
def BEG08=(arg)
  @beg08.value = arg
end
Also aliased as: InvoiceTypeCode=
BEG09=(arg) click to toggle source

### BEG09

  • Id: 1166

  • Name: Contract Type Code

  • Type: ID

  • Min/Max: 2/2

  • Description: Code identifying a contract type

@param arg [String] @return [void]

# File lib/definitions/segments/generated/beg.rb, line 174
def BEG09=(arg)
  @beg09.value = arg
end
Also aliased as: ContractTypeCode=
BEG10=(arg) click to toggle source

### BEG10

  • Id: 1232

  • Name: Purchase Category

  • Type: ID

  • Min/Max: 2/2

  • Description: Code identifying the broad category of products or services being acquired

@param arg [String] @return [void]

# File lib/definitions/segments/generated/beg.rb, line 189
def BEG10=(arg)
  @beg10.value = arg
end
Also aliased as: PurchaseCategory=
BEG11=(arg) click to toggle source

### BEG11

  • Id: 786

  • Name: Security Level Code

  • Type: ID

  • Min/Max: 2/2

  • Description: Code indicating the level of confidentiality assigned by the sender to the information following

@param arg [String] @return [void]

# File lib/definitions/segments/generated/beg.rb, line 204
def BEG11=(arg)
  @beg11.value = arg
end
Also aliased as: SecurityLevelCode=
BEG12=(arg) click to toggle source

### BEG12

  • Id: 640

  • Name: Transaction Type Code

  • Type: ID

  • Min/Max: 2/2

  • Description: Code specifying the type of transaction

@param arg [String] @return [void]

# File lib/definitions/segments/generated/beg.rb, line 219
def BEG12=(arg)
  @beg12.value = arg
end
Also aliased as: TransactionTypeCode=
ContractNumber=(arg)
Alias for: BEG06=
ContractTypeCode=(arg)
Alias for: BEG09=
Date=(arg)
Alias for: BEG05=
InvoiceTypeCode=(arg)
Alias for: BEG08=
PurchaseCategory=(arg)
Alias for: BEG10=
PurchaseOrderNumber=(arg)
Alias for: BEG03=
PurchaseOrderTypeCode=(arg)
Alias for: BEG02=
ReleaseNumber=(arg)
Alias for: BEG04=
SecurityLevelCode=(arg)
Alias for: BEG11=
TransactionSetPurposeCode=(arg)
Alias for: BEG01=
TransactionTypeCode=(arg)
Alias for: BEG12=