Accounting Software
Small Business Software Estimating Software
Inventory SoftwareInventory Tracking SoftwareInventory Control SoftwareInventory Management SoftwareConstruction Management SoftwareProject Management SoftwareBusiness Management Software

Meetings (Header)

Link to: source code | transactions directory

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

This class manages meetings for the Goldenseal accounting software,
small business management software, construction project management software and
construction management software.

class CMeeting : public CTransaction
{
public:

static CLASS_DESC *sDescriptor;
static DB_PersistentObject *MakeNew() { return TCS_NEW CMeeting; }

CMeeting();
virtual ~CMeeting() {}

virtual DBid GetDBClassID(void) const { return id_Meeting; }

virtual void CopyFrom(DB_PersistentObject *source, const UInt8 copyFlags = 0);

virtual NeoSize GetFileLength(const CNeoFormat *aFormat) const
{
return CTransaction::GetFileLength(aFormat) +
cFileLength;
}

virtual Boolean GetMemberValue(const NeoTag aTag, const NeoTag aType,
void *aValue) const;
virtual Boolean SetMemberValue(const NeoTag aTag, const NeoTag aType,
const void *aValue);
virtual void ReadObject(CNeoStream *aStream, const NeoTag aTag);
virtual void WriteObject(CNeoStream *aStream, const NeoTag aTag);

virtual void UpdateContactAccount(const Boolean removeItem = false);
virtual void PostRecordActivated(const UInt8 creationType);
virtual void PostRecordCancelled(const UInt8 cancelType);

virtual void PostNewRecord(const UInt8 creationType);
virtual void PostDeletion(const Boolean postAudit);
virtual void PostRecordChanging(const Boolean accountChanging,
const Boolean jobChanging);
virtual void PostRecordChanged(const CMoney &oldAmount,
const Boolean accountChanged,
const Boolean jobChanged);

virtual void FillDataReport(CTCS_Table *table, CNeoStream *stream) const;

virtual Boolean NeedsMainAccountValue() const { return false; } // TCS 8/3/01

protected:

DBid mActionTaken,
mEmployeeActing;

enum
{
cCopyFileLength = 2*sizeof(DBid),

cFileLength = cCopyFileLength + 0
};
};