Class: Eddy::Segments::ACK

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

Overview

Segment Summary:

  • Id: ACK
  • Name: Line Item Acknowledgement
  • Purpose: To acknowledge the ordered quantities and specify the ready date for a specific line item

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
29
30
31
32
33
34
35
36
37
38
# File 'lib/definitions/segments/generated/ack.rb', line 12

def initialize(store)
  @id = "ACK"
  @name = "Line Item Acknowledgement"
  @ack01 = Eddy::Elements::E668.new(ref: "ACK01", req: "M")
  @ack02 = Eddy::Elements::E380.new(ref: "ACK02", req: "X")
  @ack03 = Eddy::Elements::E355.new(ref: "ACK03", req: "X")
  @ack04 = Eddy::Elements::E374.new(ref: "ACK04", req: "O")
  @ack05 = Eddy::Elements::E373.new(ref: "ACK05", req: "X")
  @ack06 = Eddy::Elements::E326.new(ref: "ACK06", req: "O")
  @ack07 = Eddy::Elements::E235.new(ref: "ACK07", req: "X")
  @ack08 = Eddy::Elements::E234.new(ref: "ACK08", req: "X")
  @ack09 = Eddy::Elements::E235.new(ref: "ACK09", req: "X")
  @ack10 = Eddy::Elements::E234.new(ref: "ACK10", req: "X")
  super(
    store,
    @ack01,
    @ack02,
    @ack03,
    @ack04,
    @ack05,
    @ack06,
    @ack07,
    @ack08,
    @ack09,
    @ack10,
  )
end

Instance Method Details

#ACK01=(arg) ⇒ void Also known as: LineItemStatusCode=

This method returns an undefined value.

ACK01

  • Id: 668
  • Name: Line Item Status Code
  • Type: ID
  • Min/Max: 2/2
  • Description: Code specifying the action taken by the seller on a line item requested by the buyer

Parameters:

  • arg (String)


50
51
52
# File 'lib/definitions/segments/generated/ack.rb', line 50

def ACK01=(arg)
  @ack01.value = arg
end

#ACK02=(arg) ⇒ void Also known as: Quantity=

This method returns an undefined value.

ACK02

  • Id: 380
  • Name: Quantity
  • Type: R
  • Min/Max: 1/15
  • Description: Numeric value of quantity

Parameters:

  • arg (Float)


65
66
67
# File 'lib/definitions/segments/generated/ack.rb', line 65

def ACK02=(arg)
  @ack02.value = arg
end

#ACK03=(arg) ⇒ void Also known as: UnitOrBasisForMeasurementCode=

This method returns an undefined value.

ACK03

  • 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

Parameters:

  • arg (String)


80
81
82
# File 'lib/definitions/segments/generated/ack.rb', line 80

def ACK03=(arg)
  @ack03.value = arg
end

#ACK04=(arg) ⇒ void Also known as: DateTimeQualifier=

This method returns an undefined value.

ACK04

  • Id: 374
  • Name: Date/Time Qualifier
  • Type: ID
  • Min/Max: 3/3
  • Description: Code specifying type of date or time, or both date and time

Parameters:

  • arg (String)


95
96
97
# File 'lib/definitions/segments/generated/ack.rb', line 95

def ACK04=(arg)
  @ack04.value = arg
end

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

This method returns an undefined value.

ACK05

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

Parameters:

  • arg (Time)


110
111
112
# File 'lib/definitions/segments/generated/ack.rb', line 110

def ACK05=(arg)
  @ack05.value = arg
end

#ACK06=(arg) ⇒ void Also known as: RequestReferenceNumber=

This method returns an undefined value.

ACK06

  • Id: 326
  • Name: Request Reference Number
  • Type: AN
  • Min/Max: 1/45
  • Description: Reference number or RFQ number to use to identify a particular transaction set and query (additional reference number or description which can be used with contract number)

Parameters:

  • arg (String)


125
126
127
# File 'lib/definitions/segments/generated/ack.rb', line 125

def ACK06=(arg)
  @ack06.value = arg
end

#ACK07=(arg) ⇒ void Also known as: ProductServiceIdQualifier1=

This method returns an undefined value.

ACK07

  • Id: 235
  • Name: Product/Service ID Qualifier
  • Type: ID
  • Min/Max: 2/2
  • Description: Code identifying the type/source of the descriptive number used in Product/Service ID (234)

Parameters:

  • arg (String)


140
141
142
# File 'lib/definitions/segments/generated/ack.rb', line 140

def ACK07=(arg)
  @ack07.value = arg
end

#ACK08=(arg) ⇒ void Also known as: ProductServiceId1=

This method returns an undefined value.

ACK08

  • Id: 234
  • Name: Product/Service ID
  • Type: AN
  • Min/Max: 1/48
  • Description: Identifying number for a product or service

Parameters:

  • arg (String)


155
156
157
# File 'lib/definitions/segments/generated/ack.rb', line 155

def ACK08=(arg)
  @ack08.value = arg
end

#ACK09=(arg) ⇒ void Also known as: ProductServiceIdQualifier2=

This method returns an undefined value.

ACK09

  • Id: 235
  • Name: Product/Service ID Qualifier
  • Type: ID
  • Min/Max: 2/2
  • Description: Code identifying the type/source of the descriptive number used in Product/Service ID (234)

Parameters:

  • arg (String)


170
171
172
# File 'lib/definitions/segments/generated/ack.rb', line 170

def ACK09=(arg)
  @ack09.value = arg
end

#ACK10=(arg) ⇒ void Also known as: ProductServiceId2=

This method returns an undefined value.

ACK10

  • Id: 234
  • Name: Product/Service ID
  • Type: AN
  • Min/Max: 1/48
  • Description: Identifying number for a product or service

Parameters:

  • arg (String)


185
186
187
# File 'lib/definitions/segments/generated/ack.rb', line 185

def ACK10=(arg)
  @ack10.value = arg
end