Sha256: 6a08406ea807078655282473ad066ebee9b688b82494a90a5b0d907a5b7f039d

Contents?: true

Size: 1.19 KB

Versions: 5

Compression:

Stored size: 1.19 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, :total,
        :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
      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

5 entries across 5 versions & 1 rubygems

Version Path
netsuite-0.8.8 lib/netsuite/records/assembly_unbuild.rb
netsuite-0.8.7 lib/netsuite/records/assembly_unbuild.rb
netsuite-0.8.6 lib/netsuite/records/assembly_unbuild.rb
netsuite-0.8.5 lib/netsuite/records/assembly_unbuild.rb
netsuite-0.8.4 lib/netsuite/records/assembly_unbuild.rb