Sha256: fdd1a3cfefe38b8376ea8915f965b1299c198131f2fb472a730ce47b5b48478d

Contents?: true

Size: 430 Bytes

Versions: 4

Compression:

Stored size: 430 Bytes

Contents

class BizTxnAcctPartyRole < ActiveRecord::Base
  attr_protected :created_at, :updated_at

	belongs_to :biz_txn_acct_root
	belongs_to :party
	belongs_to :biz_txn_acct_pty_rtype
	
	def role_type
		biz_txn_acct_pty_rtype
	end
	
	def account_root
		biz_txn_acct_root
	end
	
	def to_label
        "#{party.description}:#{role_type.description}"
	end
	
	def description
        "#{party.description}:#{role_type.description}"
	end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
erp_txns_and_accts-4.2.0 app/models/biz_txn_acct_party_role.rb
erp_txns_and_accts-4.0.0 app/models/biz_txn_acct_party_role.rb
erp_txns_and_accts-3.1.1 app/models/biz_txn_acct_party_role.rb
erp_txns_and_accts-3.1.0 app/models/biz_txn_acct_party_role.rb