InfiniSuite SDK
  • Introduction
  • SDK & Scripting
    • Building Applications
    • Widgets
    • Classes
      • BaseApp
      • DashboardApp
      • EntityApp
      • FormApp
      • ListApp
      • Menu
      • Report
      • ReportQueryApp
      • Toolbar
      • TransactionApp
    • Libraries
      • ApiLib
      • AppLib
      • CacheLib
      • ChartLib
      • ExportLib
      • ImportLib
      • InfobarLib
      • LogLib
      • MainLib
      • MessageLib
      • RqlLib
      • ScriptLib
      • SpreadsheetLib
      • SystemLib
      • TabLib
      • TransactionGridLib
    • Sample Code
      • Entity App
      • Using Radiobuttons
  • REST API
    • Using the REST API
      • Entity Endpoint Summary
      • Authentication
      • Filters
      • Using RQL to Query Data
    • REST Endpoints
      • Account
      • Address
      • Application
      • Box1099
      • Class
      • CompanySetup
      • Contact
      • Favorite
      • Form1099
      • Item
      • Job
      • List
      • ListItem
      • Log
      • Note
      • Relationship
      • SalesTax
      • SalesTaxGroup
      • SalesTaxGroupItem
      • Task
      • Term
      • Transaction
      • TransactionDetail
      • Unit
  • Data Model & Schema
    • Data Model
    • Business Object Schemas
    • Tables
      • account
      • address
      • class
      • companysetup
      • contact
      • item
      • job
      • lead
      • list
      • listitem
      • relationship
      • task
      • term
      • transaction
      • unit
    • Views
      • accountbalanceview
      • accountbalanceyearmonthview
      • accountviewcompact
      • addressview
      • billview
      • classview
      • contactview
      • customerbalance
      • customerinvoicebodetail
      • customerinvoiceboheader
      • customerinvoicetotal
      • customeropeninvoices
      • customeropeninvoicetotal
      • customerpaymenttotal
      • itemview
      • listitemview
      • modelrelationview
      • openbillview
      • salestaxgroupitemview
      • scriptview
      • taskview
      • transaction_balance_view
      • transactiondetailview
      • transactiondetailviewcompact
      • transactiondetailviewnooffset
      • transactiondetailviewoffset
      • transactionview
      • transactionviewcompact
      • trialbalanceview
      • vendorbalance
  • Reference
    • Account Types
    • Field Types
    • Script Types
    • Tab Types
    • Transaction Types
    • Grid Filters
  • Setup & Configuration
    • Application Manager
    • Schema Manager
    • Script Manager
    • Bundle Manager
    • Text Localization
  • License
    • Open Source Licenses
Powered by GitBook
On this page
  • Notes
  • Summary
  • Transactions
  • Transaction
  • TransactionOffset
  • TransactionDetail
  • Linking Transactions
  • Entities

Was this helpful?

  1. Data Model & Schema

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

  1. TranasctionRowID - Used on tranasctiondetail to store the parent rowid of the transaction.

  2. 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).

  3. TransactionDetailLinkRowID - Used on transactiondetail to store the rowid of an associated transactiondetail.

Notes

  1. Transaction

    1. Linking to other transactions.

  2. TransactionDetail

    1. Linking to parent transactions.

    2. Linking to other TransactionDetail rows.

Entities

PreviousUnitNextBusiness Object Schemas

Last updated 5 years ago

Was this helpful?