class Eddy::Segments::SN1

### 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/sn1.rb, line 12
def initialize(store)
  @id = "SN1"
  @name = "Item Detail (Shipment)"
  @sn101 = Eddy::Elements::E350.new(ref: "SN101", req: "O")
  @sn102 = Eddy::Elements::E382.new(ref: "SN102", req: "M")
  @sn103 = Eddy::Elements::E355.new(ref: "SN103", req: "M")
  @sn104 = Eddy::Elements::E646.new(ref: "SN104", req: "O")
  @sn105 = Eddy::Elements::E330.new(ref: "SN105", req: "X")
  @sn106 = Eddy::Elements::E355.new(ref: "SN106", req: "X")
  super(
    store,
    @sn101,
    @sn102,
    @sn103,
    @sn104,
    @sn105,
    @sn106,
  )
end

Public Instance Methods

AssignedIdentification=(arg)
Alias for: SN101=
NumberOfUnitsShipped=(arg)
Alias for: SN102=
QuantityOrdered=(arg)
Alias for: SN105=
QuantityShippedToDate=(arg)
Alias for: SN104=
SN101=(arg) click to toggle source

### SN101

  • 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/sn1.rb, line 42
def SN101=(arg)
  @sn101.value = arg
end
Also aliased as: AssignedIdentification=
SN102=(arg) click to toggle source

### SN102

  • Id: 382

  • Name: Number of Units Shipped

  • Type: R

  • Min/Max: 1/10

  • Description: Numeric value of units shipped in manufacturer's shipping units for a line item or transaction set

@param arg [Float] @return [void]

# File lib/definitions/segments/generated/sn1.rb, line 57
def SN102=(arg)
  @sn102.value = arg
end
Also aliased as: NumberOfUnitsShipped=
SN103=(arg) click to toggle source

### SN103

  • 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/sn1.rb, line 72
def SN103=(arg)
  @sn103.value = arg
end
SN104=(arg) click to toggle source

### SN104

  • Id: 646

  • Name: Quantity Shipped to Date

  • Type: R

  • Min/Max: 1/15

  • Description: Number of units shipped to date

@param arg [Float] @return [void]

# File lib/definitions/segments/generated/sn1.rb, line 87
def SN104=(arg)
  @sn104.value = arg
end
Also aliased as: QuantityShippedToDate=
SN105=(arg) click to toggle source

### SN105

  • Id: 330

  • Name: Quantity Ordered

  • Type: R

  • Min/Max: 1/15

  • Description: Quantity ordered

@param arg [Float] @return [void]

# File lib/definitions/segments/generated/sn1.rb, line 102
def SN105=(arg)
  @sn105.value = arg
end
Also aliased as: QuantityOrdered=
SN106=(arg) click to toggle source

### SN106

  • 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/sn1.rb, line 117
def SN106=(arg)
  @sn106.value = arg
end
UnitOrBasisForMeasurementCode1=(arg)
Alias for: SN103=
UnitOrBasisForMeasurementCode2=(arg)
Alias for: SN106=