Sha256: 574f094ea6e1424c7a13dcb2e5dcd1936a0eb78bf7e23454bddecac61e3094a9

Contents?: true

Size: 775 Bytes

Versions: 11

Compression:

Stored size: 775 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
      attr_accessor :search_joins

      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

11 entries across 11 versions & 1 rubygems

Version Path
netsuite-0.8.10 lib/netsuite/records/assembly_component.rb
netsuite-0.8.9 lib/netsuite/records/assembly_component.rb
netsuite-0.8.8 lib/netsuite/records/assembly_component.rb
netsuite-0.8.7 lib/netsuite/records/assembly_component.rb
netsuite-0.8.6 lib/netsuite/records/assembly_component.rb
netsuite-0.8.5 lib/netsuite/records/assembly_component.rb
netsuite-0.8.4 lib/netsuite/records/assembly_component.rb
netsuite-0.8.3 lib/netsuite/records/assembly_component.rb
netsuite-0.8.2 lib/netsuite/records/assembly_component.rb
netsuite-0.8.1 lib/netsuite/records/assembly_component.rb
netsuite-0.8.0 lib/netsuite/records/assembly_component.rb