Sha256: bede31eebb564622db2b4e6cc261422185805ec4cf7bc2011067d9926296b1cc
Contents?: true
Size: 754 Bytes
Versions: 5
Compression:
Stored size: 754 Bytes
Contents
module NetSuite module Records class CashRefundItem include Support::Fields include Support::RecordRefs include Support::Records include Namespaces::TranCust fields :amount, :gross_amt, :rate, :quantity, :is_taxable, :order_line, :line, :description field :custom_field_list, CustomFieldList record_refs :item, :klass, :price def initialize(attributes_or_record = {}) initialize_from_attributes_hash(attributes_or_record) end def to_record rec = super if rec["#{record_namespace}:customFieldList"] rec["#{record_namespace}:customFieldList!"] = rec.delete("#{record_namespace}:customFieldList") end rec end end end end
Version data entries
5 entries across 5 versions & 1 rubygems