Sha256: 7607a152f8a6f658a850e63d8686c72f7745a7960aa8ce332aeeac1ae38173dd
Contents?: true
Size: 1.01 KB
Versions: 1
Compression:
Stored size: 1.01 KB
Contents
# This file sets up the classes for QuickBooks entities, transactions and reports. # Report types return an IReportRet QBFC_REPORT_TYPES = %w{AgingReport BudgetSummaryReport CustomDetailReport CustomSummaryReport GeneralDetailReport GeneralSummaryReport JobReport PayrollDetailReport PayrollSummaryReport TimeReport } # Very non-standard elements. I haven't yet formed an approach to dealing # with these; I leave them here as a reminder. QBFC_NON_STANDARD_TYPES = %w{ DataExt DataExtDef DataEventRecoveryInfo ItemAssembliesCanBuild} # Query types support Query requests only and return an itemized list of some sort; # most of these may be integrated as special finders for their types. QBFC_QUERY_TYPES = %w{BillToPay ListDeleted ReceivePaymentToDeposit Template TxnDeleted SalesTaxPaymentCheck} module QBFC # Create QBElement classes (QBFC_REPORT_TYPES + QBFC_NON_STANDARD_TYPES + QBFC_QUERY_TYPES).uniq.each do | qb_element_name | const_set(qb_element_name, Class.new(Base)) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
qbfc-0.2.0-x86-mswin32-60 | lib/qbfc/qb_types.rb |