Sha256: 3ddd298d8543a1892f419e1b98c10995503f360db73f3e177aaea60f14367ffb

Contents?: true

Size: 740 Bytes

Versions: 6

Compression:

Stored size: 740 Bytes

Contents

module NetSuite
  module Records
    class AssemblyComponent
      include Support::Fields
      include Support::RecordRefs
      include Support::Records
      include Namespaces::TranInvt

      fields :bin_number, :component_numbers, :line_number, :quantity,
        :quantity_on_hand

      field :component_inventory_detail, InventoryDetail

      record_refs :item

      attr_reader   :internal_id
      attr_accessor :external_id

      def initialize(attributes = {})
        @internal_id = attributes.delete(:internal_id) || attributes.delete(:@internal_id)
        @external_id = attributes.delete(:external_id) || attributes.delete(:@external_id)
        initialize_from_attributes_hash(attributes)
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
netsuite-0.9.3 lib/netsuite/records/assembly_component.rb
netsuite-0.9.2 lib/netsuite/records/assembly_component.rb
netsuite-0.9.1 lib/netsuite/records/assembly_component.rb
netsuite-0.9.0 lib/netsuite/records/assembly_component.rb
netsuite-0.8.12 lib/netsuite/records/assembly_component.rb
netsuite-0.8.11 lib/netsuite/records/assembly_component.rb