Sha256: 029461ad07cf9df43791be9033b2c0966c56801d0b65e9dc48c74f8effed7e34

Contents?: true

Size: 1.45 KB

Versions: 11

Compression:

Stored size: 1.45 KB

Contents

module Eddy
  module Elements
    # ### Element Summary:
    #
    # - Id: 587
    # - Name: Acknowledgment Type
    # - Type: ID
    # - Min/Max: 2/2
    # - Description: Code specifying the type of acknowledgment
    class E587 < Eddy::Models::Element::ID

      # @param val [String]
      # @param req [String]
      # @param ref [String]
      # @return [void]
      def initialize(val: nil, req: nil, ref: nil)
        @id = "587"
        @name = "Acknowledgment Type"
        @description = "Code specifying the type of acknowledgment"
        super(
          min: 2,
          max: 2,
          req: req,
          ref: ref,
          val: val,
        )
      end

      # @return [Array<String>]
      def code_list()
        return [
          "AC", # Acknowledge - With Detail and Change
          "AD", # Acknowledge - With Detail, No Change
          "AE", # Acknowledge - With Exception Detail Only
          "AH", # Acknowledge - Hold Status
          "AK", # Acknowledge - No Detail or Change
          "AP", # Acknowledge - Product Replenishment
          "AT", # Accepted
          "NA", # No Acknowledgment Needed
          "RD", # Reject with Detail
          "RF", # Reject with Exception Detail Only
          "RJ", # Rejected - No Detail
          "RN", # Rejected - Not as Agreed
          "RO", # Rejected With Counter Offer
          "RV", # Rejected - Violates Industry Practices
          "ZZ", # Mutually Defined
        ]
      end

    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
eddy-0.10.0 lib/definitions/elements/generated/587.acknowledgment_type.rb
eddy-0.9.2 lib/definitions/elements/generated/587.acknowledgment_type.rb
eddy-0.9.1 lib/definitions/elements/generated/587.acknowledgment_type.rb
eddy-0.9.0 lib/definitions/elements/generated/587.acknowledgment_type.rb
eddy-0.8.4 lib/definitions/elements/generated/587.acknowledgment_type.rb
eddy-0.8.3 lib/definitions/elements/generated/587.acknowledgment_type.rb
eddy-0.8.2 lib/definitions/elements/generated/587.acknowledgment_type.rb
eddy-0.8.1 lib/definitions/elements/generated/587.acknowledgment_type.rb
eddy-0.8.0 lib/definitions/elements/generated/587.acknowledgment_type.rb
eddy-0.7.0 lib/definitions/elements/generated/587.acknowledgment_type.rb
eddy-0.6.0 lib/definitions/elements/generated/587.acknowledgment_type.rb