class Eddy::Segments::BEG
### Segment Summary:
-
Id:
BEG
-
Name: Beginning Segment for Purchase Order
-
Purpose: To indicate the beginning of the Purchase Order Transaction Set and transmit identifying numbers and dates
Public Class Methods
@param store [Eddy::Data::Store] @return [void]
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
### 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
### 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
### 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
### 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
### 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
### 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
### 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
### 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
### 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
### 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
### 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
### 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