Sha256: c761fcd6283deb3633af90ba2e9dc60176ba7bd79239af73433736ea7a2766da

Contents?: true

Size: 959 Bytes

Versions: 7

Compression:

Stored size: 959 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 :klass, :created_date, :last_modified_date, :tran_date, :tran_id, :memo

      field :inventory_list, InventoryTransferInventoryList
      field :custom_field_list, CustomFieldList

      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

7 entries across 7 versions & 1 rubygems

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