Accounting Software
Small Business Software Estimating Software
Time Tracking SoftwareTime Management SoftwareTime Billing SoftwareContact Management SoftwareCustomer Management SoftwareProject Management SoftwareBusiness Management Software

Deduction Tables (Header)

Link to: source code | tables directory

Copyright Turtle Creek Software 1996-2006. All Rights Reserved.

This class manages payroll deduction tables for the Goldenseal accounting software,
payroll software and small business management software.

/***********************************************************************************
CDeductionBreakdownTable-- tables for payroll deductions (employee
withholding and employer taxes)
***********************************************************************************/
class CDeductionBreakdownTable : public CTransactionBreakdownTable
{
public:

enum { class_ID = 'DDBT' };

CDeductionBreakdownTable(const SPaneInfo &inPaneInfo, const SViewInfo &inViewInfo,
DB_ClassDescriptor *desc)
: CTransactionBreakdownTable(inPaneInfo, inViewInfo, desc) {}
virtual ~CDeductionBreakdownTable() {}

virtual SInt32 GetColType(const SMemberInfo &memberInfo) const;

virtual CMoney RecalcBreakdownRow(const TableIndexT row, const TagType changedCol);

virtual void FillFromDeductionsArray(TDeductionArray *itemArray);
virtual void FillFromCatDeductionsArray(TCatTaxItemArray *itemArray);

virtual UInt8 GetDetailTransactionClass(const TableIndexT /*row*/) const
{ return id_TaxItem; }

protected:

};