Sha256: 542a59caa3d7bd160a2d95019837fb05c2fa886399c33f849e215500010dcd07

Contents?: true

Size: 1.12 KB

Versions: 52

Compression:

Stored size: 1.12 KB

Contents

module NetSuite
  module Records
    class TimeBill
      include Support::Fields
      include Support::RecordRefs
      include Support::Records
      include Support::Actions
      include Namespaces::TranEmp

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

      fields :created_date, :is_billable, :last_modified_date, :memo, :override_rate, :paid_externally, :rate, :status,
             :supervisor_approval, :tran_date, :time_type

      field :custom_field_list,   CustomFieldList
      field :hours,               Duration

      record_refs :employee, :customer, :case_task_event, :payroll_item, :workplace, :item, :department, :location, :price,
                  :subsidiary, :temporary_local_jurisdiction, :temporary_state_jurisdiction

      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

52 entries across 52 versions & 1 rubygems

Version Path
netsuite-0.9.3 lib/netsuite/records/time_bill.rb
netsuite-0.9.2 lib/netsuite/records/time_bill.rb
netsuite-0.9.1 lib/netsuite/records/time_bill.rb
netsuite-0.9.0 lib/netsuite/records/time_bill.rb
netsuite-0.8.12 lib/netsuite/records/time_bill.rb
netsuite-0.8.11 lib/netsuite/records/time_bill.rb
netsuite-0.8.10 lib/netsuite/records/time_bill.rb
netsuite-0.8.9 lib/netsuite/records/time_bill.rb
netsuite-0.8.8 lib/netsuite/records/time_bill.rb
netsuite-0.8.7 lib/netsuite/records/time_bill.rb
netsuite-0.8.6 lib/netsuite/records/time_bill.rb
netsuite-0.8.5 lib/netsuite/records/time_bill.rb
netsuite-0.8.4 lib/netsuite/records/time_bill.rb
netsuite-0.8.3 lib/netsuite/records/time_bill.rb
netsuite-0.8.2 lib/netsuite/records/time_bill.rb
netsuite-0.8.1 lib/netsuite/records/time_bill.rb
netsuite-0.8.0 lib/netsuite/records/time_bill.rb
netsuite-0.7.9 lib/netsuite/records/time_bill.rb
netsuite-0.7.8 lib/netsuite/records/time_bill.rb
netsuite-0.7.7 lib/netsuite/records/time_bill.rb