Link to: source code | record
viewer directory
Copyright Turtle Creek Software 1996-2006. All Rights Reserved.
This class manages payment terms for the Goldenseal accounting software,
small business management software, construction
project management software and
construction estimating software.
Payment Terms- setup for Goldenseal accounting software
class CPaymentTermViewer : public DB_RecordViewer
{
public:
CPaymentTermViewer(const SPaneInfo &inPaneInfo, const SViewInfo &inViewInfo);
virtual ~CPaymentTermViewer() {}
protected:
virtual void HandlePopupChanged(CTCS_StdPopupMenu *popupMenu);
virtual void HandleEditChanged(CTCS_EditField *editField);
virtual void GetReadyToUpdateFields(const UInt8 creationMethod,
DB_PersistentObject *viewerObject);
virtual void FinishUpdatingFields(const UInt8 creationMethod,
DB_PersistentObject *viewerObject);
void FormatInterestField(const SInt32 interestType);
void FormatDueField(const SInt32 dueType);
void FormatDiscountField(const SInt32 discountType);
void FormatDiscountPeriodField(const SInt32 discountPeriodType);
void FormatRetainageField(const SInt32 retainageType);
void SetTablePanes(const SInt32 period);
void FillNewBillingDates();
}; |