Sha256: 35494f5bfbd5df3c8b557fa94a6117873b751990da673201b5d066f9d0ede2f4

Contents?: true

Size: 1.14 KB

Versions: 6

Compression:

Stored size: 1.14 KB

Contents

module NetSuite
  module Records
    class AssemblyUnbuild
      include Support::Fields
      include Support::RecordRefs
      include Support::Records
      include Support::Actions
	  include Support::Fields
      include Namespaces::TranInvt

      actions :get, :add, :initialize, :delete, :update, :upsert, :upsert_list,
        :search

      fields :bin_numbers, :built, :created_date, :expiration_date,
        :last_modified_date, :memo, :quantity, :serial_numbers,
        :tran_date, :tran_id

	  read_only_fields :total

      field :component_list,        AssemblyComponentList
      field :inventory_detail,      InventoryDetail

      record_refs :klass, :created_from, :item, :custom_form,
        :department, :job, :location, :posting_period, :revision,
        :subsidiary, :units

      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_unbuild.rb
netsuite-0.9.2 lib/netsuite/records/assembly_unbuild.rb
netsuite-0.9.1 lib/netsuite/records/assembly_unbuild.rb
netsuite-0.9.0 lib/netsuite/records/assembly_unbuild.rb
netsuite-0.8.12 lib/netsuite/records/assembly_unbuild.rb
netsuite-0.8.11 lib/netsuite/records/assembly_unbuild.rb