Data Model
Notes
Summary
The InfiniSuite schema consists of two types of tables: transactions and entities.
All tables have a primary key named 'rowid'
All tables have an 'ID' field named <tableName> + id (i.e. accountid, classid, etc.)
Transactions
Transactions are stored in two, linked tables: transaction and transactiondetail. Offsetting transactions are stored in transactiondetail with istransactionoffset set to '1'.
Transaction
rowid
transactionid
isactive
description
transactiondate
totalamount
referencenbr
transactiontyperowid
transactionlinkrowid
TransactionOffset
A 'tranasctionoffset' row is a 'transactiondetail' row with the 'istransactionoffset' set to 1. The only fields used on transactiondetail are:
accountrowid
classrowid
debitamount
creditamount
istransactionoffset
rowid
TransactionDetail
Linking Transactions
TranasctionRowID - Used on tranasctiondetail to store the parent rowid of the transaction.
TransactionLinkRowID - Used on transaction to store the rowid of an associated transaction. Also, used on tranasctionoffset to store the rowid of an associated transaction (if present it should match tranasction.transactionlinkrowid).
TransactionDetailLinkRowID - Used on transactiondetail to store the rowid of an associated transactiondetail.
Notes
Transaction
Linking to other transactions.
TransactionDetail
Linking to parent transactions.
Linking to other TransactionDetail rows.
Entities
Last updated
Was this helpful?