Sha256: 6d2759621b3a2150549b5011f44d194fa01e111663592c13377fca137c828976

Contents?: true

Size: 963 Bytes

Versions: 1

Compression:

Stored size: 963 Bytes

Contents

module NetSuite
  module Records
    class VendorReturnAuthorization
      include Support::Fields
      include Support::RecordRefs
      include Support::Records
      include Support::Actions
      include Namespaces::TranPurch

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

      fields :billing_address, :created_date, :memo, :tran_date, :tran_id, :klass

      record_refs :bill_address_list, :department, :entity, :location

      field :custom_field_list,   CustomFieldList
      field :item_list,           VendorReturnAuthorizationItemList

      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

1 entries across 1 versions & 1 rubygems

Version Path
netsuite-0.9.3 lib/netsuite/records/vendor_return_authorization.rb