class Eddy::Segments::SLN
### Segment Summary:
-
Id:
SLN
-
Name: Subline Item Detail
-
Purpose: To specify product subline detail item data.
Public Class Methods
@param store [Eddy::Data::Store] @return [void]
Eddy::Models::Segment::new
# File lib/definitions/segments/generated/sln.rb, line 12 def initialize(store) @id = "SLN" @name = "Subline Item Detail" @sln01 = Eddy::Elements::E350.new(ref: "SLN01", req: "M") @sln02 = Eddy::Elements::E350.new(ref: "SLN02", req: "O") @sln03 = Eddy::Elements::E662.new(ref: "SLN03", req: "M") @sln04 = Eddy::Elements::E380.new(ref: "SLN04", req: "X") @sln05 = Eddy::Elements::E355.new(ref: "SLN05", req: "O") @sln06 = Eddy::Elements::E212.new(ref: "SLN06", req: "X") @sln07 = Eddy::Elements::E639.new(ref: "SLN07", req: "O") super( store, @sln01, @sln02, @sln03, @sln04, @sln05, @sln06, @sln07, ) end
Public Instance Methods
### SLN01
-
Id: 350
-
Name: Assigned Identification
-
Type: AN
-
Min/Max: 1/20
-
Description: Alphanumeric characters assigned for differentiation within a transaction set
@param arg [String] @return [void]
# File lib/definitions/segments/generated/sln.rb, line 44 def SLN01=(arg) @sln01.value = arg end
### SLN02
-
Id: 350
-
Name: Assigned Identification
-
Type: AN
-
Min/Max: 1/20
-
Description: Alphanumeric characters assigned for differentiation within a transaction set
@param arg [String] @return [void]
# File lib/definitions/segments/generated/sln.rb, line 59 def SLN02=(arg) @sln02.value = arg end
### SLN03
-
Id: 662
-
Name: Relationship Code
-
Type: ID
-
Min/Max: 1/1
-
Description: Code indicating the relationship between entities
@param arg [String] @return [void]
# File lib/definitions/segments/generated/sln.rb, line 74 def SLN03=(arg) @sln03.value = arg end
### SLN04
-
Id: 380
-
Name: Quantity
-
Type: R
-
Min/Max: 1/15
-
Description: Numeric value of quantity
@param arg [Float] @return [void]
# File lib/definitions/segments/generated/sln.rb, line 89 def SLN04=(arg) @sln04.value = arg end
### SLN05
-
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
@param arg [String] @return [void]
# File lib/definitions/segments/generated/sln.rb, line 104 def SLN05=(arg) @sln05.value = arg end
### SLN06
-
Id: 212
-
Name: Unit Price
-
Type: R
-
Min/Max: 1/17
-
Description: Price per unit of product, service, commodity, etc.
@param arg [Float] @return [void]
# File lib/definitions/segments/generated/sln.rb, line 119 def SLN06=(arg) @sln06.value = arg end
### SLN07
-
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
@param arg [String] @return [void]
# File lib/definitions/segments/generated/sln.rb, line 134 def SLN07=(arg) @sln07.value = arg end