Sha256: 87aae7dc65cb5eaa616013f4e3a0f451b86bf5de12ea9e5e52f45bcb45be2fb5

Contents?: true

Size: 903 Bytes

Versions: 43

Compression:

Stored size: 903 Bytes

Contents

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

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

      fields :created_date, :last_modified_date, :tran_date, :tran_id, :memo

      field :inventory_list, InventoryTransferInventoryList

      record_refs :posting_period, :location, :transfer_location, :department,
        :subsidiary

      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

43 entries across 43 versions & 1 rubygems

Version Path
netsuite-0.7.8 lib/netsuite/records/inventory_transfer.rb
netsuite-0.7.7 lib/netsuite/records/inventory_transfer.rb
netsuite-0.7.6 lib/netsuite/records/inventory_transfer.rb
netsuite-0.7.5 lib/netsuite/records/inventory_transfer.rb
netsuite-0.7.4 lib/netsuite/records/inventory_transfer.rb
netsuite-0.7.3 lib/netsuite/records/inventory_transfer.rb
netsuite-0.7.2 lib/netsuite/records/inventory_transfer.rb
netsuite-0.7.1 lib/netsuite/records/inventory_transfer.rb
netsuite-0.7.0 lib/netsuite/records/inventory_transfer.rb
netsuite-0.6.9 lib/netsuite/records/inventory_transfer.rb
netsuite-0.6.8 lib/netsuite/records/inventory_transfer.rb
netsuite-0.6.7 lib/netsuite/records/inventory_transfer.rb
netsuite-0.6.6 lib/netsuite/records/inventory_transfer.rb
netsuite-0.6.5 lib/netsuite/records/inventory_transfer.rb
netsuite-0.6.4 lib/netsuite/records/inventory_transfer.rb
netsuite-0.6.3 lib/netsuite/records/inventory_transfer.rb
netsuite-0.6.2 lib/netsuite/records/inventory_transfer.rb
netsuite-0.6.1 lib/netsuite/records/inventory_transfer.rb
netsuite-0.6.0 lib/netsuite/records/inventory_transfer.rb
netsuite-0.5.9 lib/netsuite/records/inventory_transfer.rb