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

Item Breakdown Tables (Header)

Link to: source code | tables directory

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

This class manages item breakdown tables for the Goldenseal estimating software,
small business management software, construction project management software and
construction estimating software.

/***********************************************************************************
CItemBreakdownTable-- itemized breakdowns in estimating, purchases, sales
and other small business transactions
***********************************************************************************/
class CItemBreakdownTable : public CCostBreakdownTable
{
public:

enum { class_ID = 'CIBT' };

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

virtual SInt32 GetColType(const TableIndexT row, const TableIndexT col) const;

virtual Boolean RowUsesObjectID(const TableIndexT row) const;
virtual Boolean RowUsesVariableCost(const TableIndexT row) const;
virtual void SetRowUsesVariableCost(const TableIndexT row, const Boolean inValue);

virtual DBid GetMenuCVClassID(const TableCellT &inCell) const;

virtual void FillNewRowCells(const TableIndexT row);

virtual void UpdateAllPrices();

virtual Boolean CostItemIsUnitCost(const TableIndexT row) const;
virtual Boolean CheckInventoryQuantities(const DBid accountID) const;

virtual void FinishRowFill(const TableIndexT row);

protected:
TUInt8Array mVariableCostArray; // TCS 4/18/03
virtual void HandleCellTextChanged(const TableIndexT row, const TableIndexT col,
const Boolean sendMessage = true);

};