OsFinancials Data model
Grafical representation
Grafical representation of datamodel
TABLE
ABREVIAT
ABREVIAT.CKEY
Datatype : String Width : 1
ABREVIAT.SABREVIATION
Datatype : String Width : 30
ACCOUNT
Description
Account is the main table for debtors, creditors, balance, income expense, bank, cash and tax accounts. Most of them have other tables to hold more detailed data like
bank Tax Debtor Creditor
But there main key is on WAccountID
This primary key is referenced in all tables that got to do with account
ACCOUNT depends on
TABLE GROUPS : WGROUPID
Objects that depend on ACCOUNT
VIEW TRANSACTASBATCH : SMAINACCOUNTCODE, SSUBACCOUNTCODE, WACCOUNTID VIEW V_OPENDOCAMOUNT : WACCOUNTID, WACCOUNTTYPEID VIEW V_TRANSACTASBATCHWITHTRANSID : SMAINACCOUNTCODE, SSUBACCOUNTCODE, WACCOUNTID VIEW V_TRANSACTTAXENTRIES : SMAINACCOUNTCODE, SSUBACCOUNTCODE, WACCOUNTID, WACCOUNTTYPEID TABLE DEBTOR : WACCOUNTID TABLE CREDITOR : WACCOUNTID TABLE DOCHEAD :WACCOUNTID TABLE BANK : WACCOUNTID TABLE TRANSACT :WACCOUNTID TABLE TOTALS : ACCOUNTID
ACCOUNT.WACCOUNTID
Datatype : Integer Width : 4
ACCOUNT.SACCOUNTCODE
Datatype : String Width : 7
ACCOUNT.SMAINACCOUNTCODE
Datatype : String Width : 4
ACCOUNT.SSUBACCOUNTCODE
Datatype : String Width : 3
ACCOUNT.SDESCRIPTION
Datatype : String Width : 35
ACCOUNT.WACCOUNTTYPEID
Datatype : Integer Width : 4
ACCOUNT.WREPORTINGGROUP1ID
Datatype : Integer Width : 4
ACCOUNT.WREPORTINGGROUP2ID
Datatype : Integer Width : 4
ACCOUNT.BSUBACCOUNTS
Datatype : SmallInt Width : 2
ACCOUNT.BINCOMEEXPENSE
Datatype : SmallInt Width : 2
ACCOUNT.BOPENITEM
Datatype : SmallInt Width : 2
ACCOUNT.BINACTIVE
Datatype : SmallInt Width : 2
ACCOUNT.DSYSDATE
Datatype : DateTime Width : 8
ACCOUNT.WPROFILEID
Datatype : Integer Width : 4
ACCOUNT.WLINKACCOUNT
Datatype : Integer Width : 4
ACCOUNTREF
Description
ACCOUNTREF.WACCOUNTREFID
Datatype : Integer Width : 4
ACCOUNTREF.SREFERENCE
Datatype : String Width : 35
ACCOUNTREF.WACCOUNTID
Datatype : Integer Width : 4
ADDRESSPERACCOUNT
Description
ADDRESSPERACCOUNT.WADDRESSPERACCOUNTID
Datatype : Integer Width : 4
ADDRESSPERACCOUNT.WACCOUNTID
Datatype : Integer Width : 4
ADDRESSPERACCOUNT.WCONTACTID
Datatype : Integer Width : 4
ADDRESSPERACCOUNT.DSYSDATE
Datatype : DateTime Width : 8
ASSETMAS
Description
ASSETMAS.WASSETID
Datatype : Integer Width : 4
ASSETMAS.SDESRIPTION
Datatype : String Width : 35
ASSETMAS.WLOCATIONID
Datatype : Integer Width : 4
ASSETMAS.WGROUP1ID
Datatype : Integer Width : 4
ASSETMAS.WGROUP2ID
Datatype : Integer Width : 4
ASSETMAS.SASSETCODE
Datatype : String Width : 15
ASSETMAS.SSUBASSETCODE
Datatype : String Width : 15
ASSETMAS.SSERIALNO
Datatype : String Width : 25
ASSETMAS.DDEPSTART
Datatype : DateTime Width : 8
ASSETMAS.DDEPEND
Datatype : DateTime Width : 8
ASSETMAS.DBUY
Datatype : DateTime Width : 8
ASSETMAS.DASSETOUT
Datatype : DateTime Width : 8
ASSETMAS.WDEPTYPEID
Datatype : Integer Width : 4
ASSETMAS.FDEPRATE
Datatype : Float Width : 8
ASSETMAS.FTAXRATE
Datatype : Float Width : 8
ASSETMAS.WTAXTYPE
Datatype : Integer Width : 4
ASSETMAS.WTAXID
Datatype : Integer Width : 4
ASSETMAS.WSUPPLIERID
Datatype : Integer Width : 4
ASSETMAS.BDISABLED
Datatype : SmallInt Width : 2
ASSETMAS.FCOSTPRICE
Datatype : Float Width : 8
ASSETMAS.FPURPRICE
Datatype : Float Width : 8
ASSETMAS.FCAPTAXAMT
Datatype : Float Width : 8
ASSETMAS.FMARKETVALUE
Datatype : Float Width : 8
ASSETMAS.FBOOKVALUE
Datatype : Float Width : 8
ASSETMAS.FUNSED1
Datatype : Float Width : 8
ASSETMAS.FUNSED2
Datatype : Float Width : 8
ASSETMAS.DSYSDATE
Datatype : DateTime Width : 8
ASSETMAS.WACCOUNTID
Datatype : Integer Width : 4
BACKORD
Description
BACKORD.WBACKORDERID
Datatype : Integer Width : 4
BACKORD.WACCOUNTID
Datatype : Integer Width : 4
BACKORD.WSTOCKID
Datatype : Integer Width : 4
BACKORD.FQTY
Datatype : Float Width : 8
BACKORD.FSELLINGPRICE
Datatype : Float Width : 8
BACKORD.BSELECTED
Datatype : SmallInt Width : 2
BACKORD.DSYSDATE
Datatype : DateTime Width : 8
BANK
Description
BANK.WACCOUNTID
Datatype : Integer Width : 4
BANK.WCONTACTID
Datatype : Integer Width : 4
BANK.WRECEIPTSID
Datatype : Integer Width : 4
BANK.WPAYMENTSID
Datatype : Integer Width : 4
BANK.WCURRENCYID
Datatype : Integer Width : 4
BANK.DSYSDATE
Datatype : DateTime Width : 8
BAT"X"T"X"
Description
BAT0T5.WLINEID
Datatype : Integer Width : 4
BAT0T5.SREFERENCE
Datatype : String Width : 15
BAT0T5.SACCOUNT
Datatype : String Width : 8
BAT0T5.SDESCRIPTION
Datatype : String Width : 35
BAT0T5.FDEBIT
Datatype : Float Width : 8
BAT0T5.FCREDIT
Datatype : Float Width : 8
BAT0T5.FAMOUNT
Datatype : Float Width : 8
BAT0T5.STAX
Datatype : String Width : 8
BAT0T5.WTAXID
Datatype : Integer Width : 4
BAT0T5.DDATE
Datatype : DateTime Width : 8
BAT0T5.SCONTRAACCOUNT
Datatype : String Width : 8
BAT0T5.WCONTRAACCOUNTID
Datatype : Integer Width : 4
BAT0T5.FTAXAMOUNT
Datatype : Float Width : 8
BAT0T5.DALLOCATEDDATE
Datatype : DateTime Width : 8
BAT0T5.BRECONCILED
Datatype : Integer Width : 4
BAT0T5.BEXCLUSIVE
Datatype : Integer Width : 4
BAT0T5.WACCOUNTID
Datatype : Integer Width : 4
BAT0T5.FQTY
Datatype : Float Width : 8
BAT0T5.WPROFILEID
Datatype : Integer Width : 4
BAT0T5.WTAX2ID
Datatype : Integer Width : 4
BAT0T5.NOTUSED
Datatype : Float Width : 8
BAT0T5.SPROFILE
Datatype : String Width : 35
BAT0T5.SJOBCODE
Datatype : String Width : 8
BAT0T5.STAX2
Datatype : String Width : 8
BAT0T5.BLINKED
Datatype : Integer Width : 4
BAT0T5.DSYSDATE
Datatype : DateTime Width : 8
BAT0T5.FTAX2AMOUNT
Datatype : Float Width : 8
BAT0T5.WLINKEDID
Datatype : Integer Width : 4
BAT0T5.WREPORTINGGROUP1ID
Datatype : Integer Width : 4
BAT0T5.WREPORTINGGROUP2ID
Datatype : Integer Width : 4
BATCON
Description
BATCON.WBATCHID
Datatype : Integer Width : 4
BATCON.WUSERID
Datatype : Integer Width : 4
BATCON.WBATCHTYPEID
Datatype : Integer Width : 4
BATCON.SBATCHNUMBER
Datatype : String Width : 8
BATCON.BPOSTED
Datatype : SmallInt Width : 2
BATCON.BIMPORTED
Datatype : SmallInt Width : 2
BATCON.BDOCSOURCE
Datatype : SmallInt Width : 2
BATCON.WLINECOUNT
Datatype : Integer Width : 4
BATCON.SFILENAME
Datatype : String Width : 16
BATCON.WDOCID
Datatype : Integer Width : 4
BATCON.DSYSDATE
Datatype : DateTime Width : 8
BATCON.WINITBATID
Datatype : Integer Width : 4
BATCON.SALIAS
Datatype : String Width : 15
BATCON.SUNIQUEID
Datatype : String Width : 8
BATTYPES
Description
BATTYPES.WBATCHTYPEID
Datatype : Integer Width : 4
BATTYPES.SDESCRIPTION
Datatype : String Width : 16
BATTYPES.BCASHBOOK
Datatype : SmallInt Width : 2
BATTYPES.WCONTRAACCOUNTID
Datatype : Integer Width : 4
BATTYPES.BCONTRAPERLINE
Datatype : SmallInt Width : 2
BATTYPES.BINCREMENTREFNO
Datatype : SmallInt Width : 2
BATTYPES.BREPEATDETAILS
Datatype : SmallInt Width : 2
BATTYPES.BCONSOLIDATEBALANCING
Datatype : SmallInt Width : 2
BATTYPES.WDEBITCREDIT
Datatype : Integer Width : 4
BATTYPES.WPAYMENTGROUPID
Datatype : Integer Width : 4
BATTYPES.WDEFAULTTAXID
Datatype : Integer Width : 4
BATTYPES.BVIEWEXCLUSIVE
Datatype : SmallInt Width : 2
BATTYPES.BLINKOI
Datatype : SmallInt Width : 2
BATTYPES.BINCLUSIVEMODE
Datatype : SmallInt Width : 2
BATTYPES.DSYSDATE
Datatype : DateTime Width : 8
BOM
Description
BOM.WBOMID
Datatype : Integer Width : 4
BOM.WSTOCKID
Datatype : Integer Width : 4
BOM.WLINKEDSTOCKID
Datatype : Integer Width : 4
BOM.FQTY
Datatype : Float Width : 8
CONTACTS
Description
CONTACTS.RECORDID
Datatype : Integer Width : 4
CONTACTS.RESOURCEID
Datatype : Integer Width : 4
CONTACTS.FIRSTNAME
Datatype : String Width : 50
CONTACTS.LASTNAME
Datatype : String Width : 50
CONTACTS.BIRTHDATE
Datatype : DateTime Width : 8
CONTACTS.ANNIVERSARY
Datatype : DateTime Width : 8
CONTACTS.TITLE
Datatype : String Width : 50
CONTACTS.COMPANY
Datatype : String Width : 50
CONTACTS.GENDER
Datatype : String Width : 1
CONTACTS.JOB_POSITION
Datatype : String Width : 30
CONTACTS.ADDRESS
Datatype : String Width : 100
CONTACTS.CITY
Datatype : String Width : 50
CONTACTS.STATE
Datatype : String Width : 25
CONTACTS.ZIP
Datatype : String Width : 10
CONTACTS.COUNTRY
Datatype : String Width : 25
CONTACTS.NOTE
Datatype : String Width : 255
CONTACTS.PHONE1
Datatype : String Width : 25
CONTACTS.PHONE2
Datatype : String Width : 25
CONTACTS.PHONE3
Datatype : String Width : 25
CONTACTS.PHONE4
Datatype : String Width : 25
CONTACTS.PHONE5
Datatype : String Width : 25
CONTACTS.PHONETYPE1
Datatype : Integer Width : 4
CONTACTS.PHONETYPE2
Datatype : Integer Width : 4
CONTACTS.PHONETYPE3
Datatype : Integer Width : 4
CONTACTS.PHONETYPE4
Datatype : Integer Width : 4
CONTACTS.PHONETYPE5
Datatype : Integer Width : 4
CONTACTS.CATEGORY
Datatype : Integer Width : 4
CONTACTS.EMAIL
Datatype : String Width : 100
CONTACTS.CUSTOM1
Datatype : String Width : 100
CONTACTS.CUSTOM2
Datatype : String Width : 100
CONTACTS.CUSTOM3
Datatype : String Width : 100
CONTACTS.CUSTOM4
Datatype : String Width : 100
CONTACTS.USERFIELD0
Datatype : String Width : 100
CONTACTS.USERFIELD1
Datatype : String Width : 100
CONTACTS.USERFIELD2
Datatype : String Width : 100
CONTACTS.USERFIELD3
Datatype : String Width : 100
CONTACTS.USERFIELD4
Datatype : String Width : 100
CONTACTS.USERFIELD5
Datatype : String Width : 100
CONTACTS.USERFIELD6
Datatype : String Width : 100
CONTACTS.USERFIELD7
Datatype : String Width : 100
CONTACTS.USERFIELD8
Datatype : String Width : 100
CONTACTS.USERFIELD9
Datatype : String Width : 100
CONTACTS.DSYSDATE
Datatype : DateTime Width : 8
COUNTRIES
Description
COUNTRIES.COUNTRIES_ID
Datatype : Integer Width : 4
COUNTRIES.COUNTRIES_NAME
Datatype : String Width : 64
COUNTRIES.COUNTRIES_ISO_CODE_2
Datatype : String Width : 2
COUNTRIES.COUNTRIES_ISO_CODE_3
Datatype : String Width : 3
COUNTRIES.ADDRESS_FORMAT_ID
Datatype : Integer Width : 4
CREDITOR
Description
CREDITOR.WACCOUNTID
Datatype : Integer Width : 4
CREDITOR.SCODE
Datatype : String Width : 6
CREDITOR.WCONTACTID
Datatype : Integer Width : 4
CREDITOR.SPASSWORD
Datatype : String Width : 8
CREDITOR.SPOSTAL1
Datatype : String Width : 30
CREDITOR.SPOSTAL2
Datatype : String Width : 30
CREDITOR.SPOSTAL3
Datatype : String Width : 30
CREDITOR.SPOSTALCODE
Datatype : String Width : 8
CREDITOR.WPOSTCOUNTRIES_ID
Datatype : Integer Width : 4
CREDITOR.SDELIVERY1
Datatype : String Width : 30
CREDITOR.SDELIVERY2
Datatype : String Width : 30
CREDITOR.SDELIVERY3
Datatype : String Width : 30
CREDITOR.WDELCOUNTRIES_ID
Datatype : Integer Width : 4
CREDITOR.STELEPHONE1
Datatype : String Width : 20
CREDITOR.STELEPHONE2
Datatype : String Width : 20
CREDITOR.SFAX
Datatype : String Width : 20
CREDITOR.SEMAIL
Datatype : String Width : 50
CREDITOR.WBANKNAME
Datatype : String Width : 20
CREDITOR.SBRANCHCODE
Datatype : String Width : 10
CREDITOR.SBANKACCOUNTNUMBER
Datatype : String Width : 20
CREDITOR.SBANKACCOUNTNAME
Datatype : String Width : 30
CREDITOR.FCREDITLIMIT
Datatype : Float Width : 8
CREDITOR.FCHARGEAMOUNT
Datatype : Float Width : 8
CREDITOR.BOPENITEM
Datatype : SmallInt Width : 2
CREDITOR.BPOSTBBF
Datatype : SmallInt Width : 2
CREDITOR.DLASTACTIVITY
Datatype : DateTime Width : 8
CREDITOR.WCURRENCYID
Datatype : Integer Width : 4
CREDITOR.WFOREXACCOUNTID
Datatype : Integer Width : 4
CREDITOR.SMESSAGE
Datatype : String Width : 50
CREDITOR.SREFERENCE
Datatype : String Width : 15
CREDITOR.FDISCOUNT
Datatype : Float Width : 8
CREDITOR.WDEFAULTPRICETYPEID
Datatype : Integer Width : 4
CREDITOR.DSYSDATE
Datatype : DateTime Width : 8
CREDITOR.WDUEDAYS
Datatype : Integer Width : 4
CREDITOR.WDEFAULTACCOUNT
Datatype : Integer Width : 4
CREDITOR.WDEFAULTTAX
Datatype : Integer Width : 4
CURRENCY
Description
CURRENCY.WCURRENCYID
Datatype : Integer Width : 4
CURRENCY.SDESCRIPTION
Datatype : String Width : 30
CURRENCY.SSYMBOL
Datatype : String Width : 6
CURRENCY.FRATE1
Datatype : Float Width : 8
CURRENCY.FRATE2
Datatype : Float Width : 8
CURRENCY.FRETE3
Datatype : Float Width : 8
CURRENCY.FRATE4
Datatype : Float Width : 8
CURRENCY.FRATE5
Datatype : Float Width : 8
CURRENCY.FRATE6
Datatype : Float Width : 8
CURRENCY.FRATE7
Datatype : Float Width : 8
CURRENCY.FRATE8
Datatype : Float Width : 8
CURRENCY.FRATE9
Datatype : Float Width : 8
CURRENCY.FRATE10
Datatype : Float Width : 8
CURRENCY.FRATE11
Datatype : Float Width : 8
CURRENCY.FRATE12
Datatype : Float Width : 8
CURRENCY.FRATE13
Datatype : Float Width : 8
CURRENCY.FRATE14
Datatype : Float Width : 8
CURRENCY.FRATE15
Datatype : Float Width : 8
CURRENCY.FRATE16
Datatype : Float Width : 8
CURRENCY.FRATE17
Datatype : Float Width : 8
CURRENCY.FRATE18
Datatype : Float Width : 8
CURRENCY.FRATE19
Datatype : Float Width : 8
CURRENCY.FRATE20
Datatype : Float Width : 8
CURRENCY.FRATE21
Datatype : Float Width : 8
CURRENCY.FRATE22
Datatype : Float Width : 8
CURRENCY.FRATE23
Datatype : Float Width : 8
CURRENCY.FRATE24
Datatype : Float Width : 8
CURRENCY.FRATE25
Datatype : Float Width : 8
CURRENCY.FRATE26
Datatype : Float Width : 8
CURRENCY.WCONTRYID
Datatype : Integer Width : 4
CURRENCY.WVARIANCEACCOUNTID
Datatype : Integer Width : 4
CURRENCY.WNOOFDECIMALS
Datatype : Integer Width : 4
CURRENCY.DSYSDATE
Datatype : DateTime Width : 8
DEBTOR
Description
DEBTOR.WACCOUNTID
Datatype : Integer Width : 4
DEBTOR.WCONTACTID
Datatype : Integer Width : 4
DEBTOR.SPASSWORD
Datatype : String Width : 8
DEBTOR.SPOSTAL1
Datatype : String Width : 30
DEBTOR.SPOSTAL2
Datatype : String Width : 30
DEBTOR.SPOSTAL3
Datatype : String Width : 30
DEBTOR.WPOSTCOUNTRIES_ID
Datatype : Integer Width : 4
DEBTOR.SPOSTALCODE
Datatype : String Width : 8
DEBTOR.SDELIVERY1
Datatype : String Width : 30
DEBTOR.SDELIVERY2
Datatype : String Width : 30
DEBTOR.SDELIVERY3
Datatype : String Width : 30
DEBTOR.WDELCOUNTRIES_ID
Datatype : Integer Width : 4
DEBTOR.SDELIVERYCODE
Datatype : String Width : 8
DEBTOR.STELEPHONE1
Datatype : String Width : 20
DEBTOR.STELEPHONE2
Datatype : String Width : 20
DEBTOR.SFAX
Datatype : String Width : 20
DEBTOR.SEMAIL
Datatype : String Width : 50
DEBTOR.SBANKNAME
Datatype : String Width : 20
DEBTOR.SBRANCHCODE
Datatype : String Width : 10
DEBTOR.SBANKACCOUNTNUMBER
Datatype : String Width : 20
DEBTOR.SBANKACCOUNTNAME
Datatype : String Width : 30
DEBTOR.SCREDITCARDNUMBER
Datatype : String Width : 20
DEBTOR.DEXPIRYDATE
Datatype : DateTime Width : 8
DEBTOR.SCREDITCARDTYPE
Datatype : String Width : 20
DEBTOR.SCREDITCARDHOLDER
Datatype : String Width : 20
DEBTOR.FCREDITLIMIT
Datatype : Float Width : 8
DEBTOR.FCHARGEAMOUNT
Datatype : Float Width : 8
DEBTOR.FDISCOUNT
Datatype : Float Width : 8
DEBTOR.FINTEREST
Datatype : Float Width : 8
DEBTOR.WBANKID
Datatype : Integer Width : 4
DEBTOR.WSALESMANID
Datatype : Integer Width : 4
DEBTOR.BOPENITEM
Datatype : SmallInt Width : 2
DEBTOR.BPOSTBBF
Datatype : SmallInt Width : 2
DEBTOR.BDISABLED
Datatype : SmallInt Width : 2
DEBTOR.SMESSAGE
Datatype : String Width : 50
DEBTOR.WDEFAULTPRICETYPEID
Datatype : Integer Width : 4
DEBTOR.DLASTACTIVITY
Datatype : DateTime Width : 8
DEBTOR.WCURRENCYID
Datatype : Integer Width : 4
DEBTOR.WFOREXACCOUNTID
Datatype : Integer Width : 4
DEBTOR.SREFERENCE
Datatype : String Width : 15
DEBTOR.DSYSDATE
Datatype : DateTime Width : 8
DEBTOR.WDUEDAYS
Datatype : Integer Width : 4
DEBTOR.DREMITTANCE
Datatype : DateTime Width : 8
DEBTOR.WDEFAULTACCOUNT
Datatype : Integer Width : 4
DEBTOR.WDEFAULTTAX
Datatype : Integer Width : 4
DNLBANKS
Description
DNLBANKS.STRANSID
Datatype : String Width : 32
DNLBANKS.WLINETYPEID
Datatype : Integer Width : 4
DNLBANKS.WSOURCEID
Datatype : Integer Width : 4
DNLBANKS.WBANKID
Datatype : Integer Width : 4
DNLBANKS.WTRANSTYPEID
Datatype : Integer Width : 4
DNLBANKS.SACCOUNTCODE
Datatype : String Width : 15
DNLBANKS.DTRANSDATE
Datatype : DateTime Width : 8
DNLBANKS.DPOSTEDDATE
Datatype : DateTime Width : 8
DNLBANKS.FAMOUNT
Datatype : Float Width : 8
DNLBANKS.SMEMO
Datatype : String Width : 40
DNLBANKS.SREFERENCE
Datatype : String Width : 15
DNLBANKS.BRECONCILED
Datatype : SmallInt Width : 2
DNLBANKS.SDESCRIPTION
Datatype : String Width : 40
DNLBANKS.WCURRENCYID
Datatype : Integer Width : 4
DNLBANKS.WACCOUNTID
Datatype : Integer Width : 4
DNLBANKS.WLINEID
Datatype : Integer Width : 4
DNLBANKS.WTCTRANSID
Datatype : Integer Width : 4
DNLBANKS.WPROFILEID
Datatype : Integer Width : 4
DNLBANKS.WAUTOMATCHID
Datatype : Integer Width : 4
DNLBANKS.BUSEFORBATCH
Datatype : Integer Width : 4
DNLBANKS.DSYSDATE
Datatype : DateTime Width : 8
DNLBANKS.WAMTSGN
Datatype : Integer Width : 4
DNLBANKS.SEXTRADESCRIPTION
Datatype : String Width : 255
DOCBATCH_0_0
Description
DOCBATCH_0_0.WLINEID
Datatype : Integer Width : 4
DOCBATCH_0_0.SREFERENCE
Datatype : String Width : 15
DOCBATCH_0_0.SACCOUNT
Datatype : String Width : 8
DOCBATCH_0_0.SDESCRIPTION
Datatype : String Width : 35
DOCBATCH_0_0.FDEBIT
Datatype : Float Width : 8
DOCBATCH_0_0.FCREDIT
Datatype : Float Width : 8
DOCBATCH_0_0.FAMOUNT
Datatype : Float Width : 8
DOCBATCH_0_0.STAX
Datatype : String Width : 8
DOCBATCH_0_0.WTAXID
Datatype : Integer Width : 4
DOCBATCH_0_0.DDATE
Datatype : DateTime Width : 8
DOCBATCH_0_0.SCONTRAACCOUNT
Datatype : String Width : 8
DOCBATCH_0_0.WCONTRAACCOUNTID
Datatype : Integer Width : 4
DOCBATCH_0_0.FTAXAMOUNT
Datatype : Float Width : 8
DOCBATCH_0_0.DALLOCATEDDATE
Datatype : DateTime Width : 8
DOCBATCH_0_0.BRECONCILED
Datatype : Integer Width : 4
DOCBATCH_0_0.BEXCLUSIVE
Datatype : Integer Width : 4
DOCBATCH_0_0.WACCOUNTID
Datatype : Integer Width : 4
DOCBATCH_0_0.FQTY
Datatype : Float Width : 8
DOCBATCH_0_0.WPROFILEID
Datatype : Integer Width : 4
DOCBATCH_0_0.WTAX2ID
Datatype : Integer Width : 4
DOCBATCH_0_0.NOTUSED
Datatype : Float Width : 8
DOCBATCH_0_0.SPROFILE
Datatype : String Width : 35
DOCBATCH_0_0.SJOBCODE
Datatype : String Width : 8
DOCBATCH_0_0.STAX2
Datatype : String Width : 8
DOCBATCH_0_0.BLINKED
Datatype : Integer Width : 4
DOCBATCH_0_0.DSYSDATE
Datatype : DateTime Width : 8
DOCBATCH_0_0.FTAX2AMOUNT
Datatype : Float Width : 8
DOCBATCH_0_0.WLINKEDID
Datatype : Integer Width : 4
DOCBATCH_0_0.WREPORTINGGROUP1ID
Datatype : Integer Width : 4
DOCBATCH_0_0.WREPORTINGGROUP2ID
Datatype : Integer Width : 4
DOCHEAD
Description
DOCHEAD.WDOCID
Datatype : Integer Width : 4
DOCHEAD.SDOCNO
Datatype : String Width : 15
DOCHEAD.WTYPEID
Datatype : Integer Width : 4
DOCHEAD.DDATE
Datatype : DateTime Width : 8
DOCHEAD.DALLOCATEDDATE
Datatype : DateTime Width : 8
DOCHEAD.WACCOUNTID
Datatype : Integer Width : 4
DOCHEAD.WPAYMENTTYPEID
Datatype : Integer Width : 4
DOCHEAD.WPOSTAL1ID
Datatype : Integer Width : 4
DOCHEAD.WPOSTAL2ID
Datatype : Integer Width : 4
DOCHEAD.WPOSTAL3ID
Datatype : Integer Width : 4
DOCHEAD.WPOSCOUNTRIES_ID
Datatype : Integer Width : 4
DOCHEAD.WPOSTALCODEID
Datatype : Integer Width : 4
DOCHEAD.WMESSAGE1ID
Datatype : Integer Width : 4
DOCHEAD.WMESSAGE2ID
Datatype : Integer Width : 4
DOCHEAD.WMESSAGE3ID
Datatype : Integer Width : 4
DOCHEAD.FINVOICEDISCOUNT
Datatype : Float Width : 8
DOCHEAD.WSALESMANID
Datatype : Integer Width : 4
DOCHEAD.SREFERENCE
Datatype : String Width : 15
DOCHEAD.WDELADDRESS1ID
Datatype : Integer Width : 4
DOCHEAD.WDELADDRESS2ID
Datatype : Integer Width : 4
DOCHEAD.WDELADDRESS3ID
Datatype : Integer Width : 4
DOCHEAD.WDELCOUNTRIES_ID
Datatype : Integer Width : 4
DOCHEAD.WDELCODEID
Datatype : Integer Width : 4
DOCHEAD.BPRINTED
Datatype : SmallInt Width : 2
DOCHEAD.BPOSTED
Datatype : SmallInt Width : 2
DOCHEAD.WREPORTINGGROUP1ID
Datatype : Integer Width : 4
DOCHEAD.WREPORTINGGROUP2ID
Datatype : Integer Width : 4
DOCHEAD.WPAYMENTGROUPID
Datatype : Integer Width : 4
DOCHEAD.BEXCLUSIVE
Datatype : SmallInt Width : 2
DOCHEAD.WCURRENCYID
Datatype : Integer Width : 4
DOCHEAD.FDOCAMOUNT
Datatype : Float Width : 8
DOCHEAD.FTAXAMOUNT
Datatype : Float Width : 8
DOCHEAD.BREPEATING
Datatype : SmallInt Width : 2
DOCHEAD.DSYSDATE
Datatype : DateTime Width : 8
DOCHEAD.WSOURCETYPEID
Datatype : Integer Width : 4
DOCHEAD.WPROFILEID
Datatype : Integer Width : 4
DOCHEAD.WTERMS
Datatype : Integer Width : 4
DOCHEAD.WJOBCODEID
Datatype : Integer Width : 4
DOCHEAD.DDUEDATE
Datatype : DateTime Width : 8
DOCHEAD.WUSERID
Datatype : Integer Width : 4
DOCLINE
Description
DOCLINE.WDOCLINEID
Datatype : Integer Width : 4
DOCLINE.WDOCID
Datatype : Integer Width : 4
DOCLINE.WSTOCKID
Datatype : Integer Width : 4
DOCLINE.WLINETYPEID
Datatype : Integer Width : 4
DOCLINE.WDESCRIPTIONID
Datatype : Integer Width : 4
DOCLINE.FQTYORDERED
Datatype : Float Width : 8
DOCLINE.FQTYSHIPPED
Datatype : Float Width : 8
DOCLINE.FSELLINGPRICE
Datatype : Float Width : 8
DOCLINE.FITEMDISCOUNT
Datatype : Float Width : 8
DOCLINE.WTAXID
Datatype : Integer Width : 4
DOCLINE.FEXCLUSIVEAMT
Datatype : Float Width : 8
DOCLINE.FINCLUSIVEAMT
Datatype : Float Width : 8
DOCLINE.FTAXAMOUNT
Datatype : Float Width : 8
DOCLINE.DSYSDATE
Datatype : DateTime Width : 8
DOCLINE.SUNIT
Datatype : String Width : 8
DOCLINE.SSTOCKCODE
Datatype : String Width : 15
DOCLINE.WPROFILEID
Datatype : Integer Width : 4
DOCLINE.WSERIALNOID
Datatype : Integer Width : 4
EMPMAS
Description
EMPMAS.WEMPLOYEEID
Datatype : Integer Width : 4
EMPMAS.SEMPLOYEENUMBER
Datatype : String Width : 15
EMPMAS.SFIRSTNAME
Datatype : String Width : 20
EMPMAS.SSURNAME
Datatype : String Width : 20
EMPMAS.SADDRESS1
Datatype : String Width : 30
EMPMAS.SADDRESS2
Datatype : String Width : 30
EMPMAS.SADDRESS3
Datatype : String Width : 30
EMPMAS.SPOSTCODE
Datatype : String Width : 15
EMPMAS.SIDNUMBER
Datatype : String Width : 20
EMPMAS.SPASSPORTNUMBER
Datatype : String Width : 20
EMPMAS.SINCOMETAXREFNUMBER
Datatype : String Width : 30
EMPMAS.SDIRECTIVENUMBER
Datatype : String Width : 20
EMPMAS.SBRANCH
Datatype : String Width : 30
EMPMAS.DSTARTDATE
Datatype : DateTime Width : 8
EMPMAS.DTERMINATIONDATE
Datatype : DateTime Width : 8
EMPMAS.BACTIVE
Datatype : SmallInt Width : 2
EMPMAS.DBIRTHDATE
Datatype : DateTime Width : 8
EMPMAS.WIRPTYPE
Datatype : Integer Width : 4
EMPMAS.SREASON
Datatype : String Width : 30
EMPMAS.WREPORTINGGROUP1
Datatype : Integer Width : 4
EMPMAS.WREPORTINGGROUP2
Datatype : Integer Width : 4
EMPMAS.WACCOUNTID
Datatype : Integer Width : 4
EMPMAS.WPAYMENTMETHODID
Datatype : Integer Width : 4
EMPMAS.SBANKNAME
Datatype : String Width : 20
EMPMAS.SBANKACCOUNTNUMBER
Datatype : String Width : 20
EMPMAS.SBANKBRANCH
Datatype : String Width : 20
EMPMAS.FLEAVEALLOCATED
Datatype : Float Width : 8
EMPMAS.FLEAVETAKEN
Datatype : Float Width : 8
EMPMAS.SDATA1
Datatype : String Width : 20
EMPMAS.SDATA2
Datatype : String Width : 20
EMPMAS.SDATA3
Datatype : String Width : 20
EMPMAS.WPROFILEID
Datatype : Integer Width : 4
EMPMAS.DSYSDATE
Datatype : DateTime Width : 8
EMPSOURCE
Description
EMPSOURCE.WSOURCEID
Datatype : Integer Width : 4
EMPSOURCE.WUNITID
Datatype : Integer Width : 4
EMPSOURCE.SDESCRIPTION
Datatype : String Width : 20
EMPSOURCE.WACCOUNTID
Datatype : Integer Width : 4
EMPSOURCE.WSOURCETYPEID
Datatype : Integer Width : 4
EMPSOURCE.BTAXABLE
Datatype : SmallInt Width : 2
EMPSOURCE.BACTIVE
Datatype : SmallInt Width : 2
EMPSOURCE.WPARENTSOURCEID
Datatype : Integer Width : 4
EMPSOURCE.SFORMULA
Datatype : String Width : 35
EMPSOURCE.WPROFILEID
Datatype : Integer Width : 4
EMPSOURCE.BFORINFO
Datatype : Integer Width : 4
EMPSOURCE.WDRACCOUNTID
Datatype : Integer Width : 4
EMPSOURCE.WCRACCOUNTID
Datatype : Integer Width : 4
EMPSOURCE.DSYSDATE
Datatype : DateTime Width : 8
EVENTS
Description
EVENTS.RECORDID
Datatype : Integer Width : 4
EVENTS.STARTTIME
Datatype : DateTime Width : 8
EVENTS.ENDTIME
Datatype : DateTime Width : 8
EVENTS.RESOURCEID
Datatype : Integer Width : 4
EVENTS.WCONTACTID
Datatype : Integer Width : 4
EVENTS.DESCRIPTION
Datatype : String Width : 255
EVENTS.NOTES
Datatype : String Width : 255
EVENTS.CATEGORY
Datatype : Integer Width : 4
EVENTS.ALLDAYEVENT
Datatype : SmallInt Width : 2
EVENTS.DINGPATH
Datatype : String Width : 255
EVENTS.ALARMSET
Datatype : SmallInt Width : 2
EVENTS.ALARMADVANCE
Datatype : Integer Width : 4
EVENTS.ALARMADVANCETYPE
Datatype : Integer Width : 4
EVENTS.SNOOZETIME
Datatype : DateTime Width : 8
EVENTS.REPEATCODE
Datatype : Integer Width : 4
EVENTS.REPEATRANGEEND
Datatype : DateTime Width : 8
EVENTS.CUSTOMINTERVAL
Datatype : Integer Width : 4
EVENTS.USERFIELD0
Datatype : String Width : 100
EVENTS.USERFIELD1
Datatype : String Width : 100
EVENTS.USERFIELD2
Datatype : String Width : 100
EVENTS.USERFIELD3
Datatype : String Width : 100
EVENTS.USERFIELD4
Datatype : String Width : 100
EVENTS.USERFIELD5
Datatype : String Width : 100
EVENTS.USERFIELD6
Datatype : String Width : 100
EVENTS.USERFIELD7
Datatype : String Width : 100
EVENTS.USERFIELD8
Datatype : String Width : 100
EVENTS.USERFIELD9
Datatype : String Width : 100
EVENTS.WACCOUNTID
Datatype : Integer Width : 4
FLOWTMP
Description
FLOWTMP.WACCOUNTID
Datatype : Integer Width : 4
FLOWTMP.WBATCHID
Datatype : Integer Width : 4
FLOWTMP.SDESCRIPTION
Datatype : String Width : 32
FLOWTMP.WPERIODID
Datatype : Integer Width : 4
FLOWTMP.SCODE
Datatype : String Width : 8
FLOWTMP.FAMOUNT1
Datatype : Float Width : 8
FLOWTMP.FAMOUNT2
Datatype : Float Width : 8
FLOWTMP.FAMOUNT3
Datatype : Float Width : 8
FLOWTMP.FAMOUNT4
Datatype : Float Width : 8
FLOWTMP.FAMOUNT5
Datatype : Float Width : 8
FLOWTMP.FAMOUNT6
Datatype : Float Width : 8
GLOBAL
Description
GLOBAL.WNEWACCOUNTID
Datatype : Integer Width : 4
GLOBAL.WNEWBACKORDERID
Datatype : Integer Width : 4
GLOBAL.WNEWCONTACTID
Datatype : Integer Width : 4
GLOBAL.WNEWBATCHTYPEID
Datatype : Integer Width : 4
GLOBAL.WNEWBATCHID
Datatype : Integer Width : 4
GLOBAL.WNEWGROUPID
Datatype : Integer Width : 4
GLOBAL.WNEWCURRENCYID
Datatype : Integer Width : 4
GLOBAL.WNEWDOCID
Datatype : Integer Width : 4
GLOBAL.WNEWLABSPECSID
Datatype : Integer Width : 4
GLOBAL.WNEWREPORTID
Datatype : Integer Width : 4
GLOBAL.WNEWTRANSACTIONID
Datatype : Integer Width : 4
GLOBAL.WNEWSTOCKID
Datatype : Integer Width : 4
GLOBAL.WNEWUNITID
Datatype : Integer Width : 4
GLOBAL.WNEWUSERID
Datatype : Integer Width : 4
GLOBAL.WNEWMESSAGEID
Datatype : Integer Width : 4
GLOBAL.WNEWSTOCKTRANSID
Datatype : Integer Width : 4
GROUPS
Description
GROUPS.WGROUPID
Datatype : Integer Width : 4
GROUPS.WGROUPTYPEID
Datatype : Integer Width : 4
GROUPS.SDESCRIPTION
Datatype : String Width : 30
GROUPS.WPARENTGROUP2ID
Datatype : Integer Width : 4
GROUPS.WPARENTGROUP1ID
Datatype : Integer Width : 4
GROUPS.DSYSDATE
Datatype : DateTime Width : 8
GROUPS.WSORTNO
Datatype : Integer Width : 4
JOBPROJECT
Description
JOBPROJECT.WJOBPROJECTID
Datatype : Integer Width : 4
JOBPROJECT.SJOBPROJECTCODE
Datatype : String Width : 10
JOBPROJECT.SDESCRIPTION
Datatype : String Width : 35
JOBPROJECT.DSTARTDATE
Datatype : DateTime Width : 8
JOBPROJECT.DENDDATE
Datatype : DateTime Width : 8
JOBPROJECT.WPARENTID
Datatype : Integer Width : 4
JOBPROJECT.WNOTEFILEID
Datatype : Integer Width : 4
JOBPROJECT.BENABLED
Datatype : SmallInt Width : 2
JOBPROJECT.WSTATUSID
Datatype : Integer Width : 4
JOBPROJECT.WINBUDGETACCID
Datatype : Integer Width : 4
JOBPROJECT.WEXBUDGETACCID
Datatype : Integer Width : 4
JOBPROJECT.WPROFILEID
Datatype : Integer Width : 4
JOBPROJECT.WINFOSID
Datatype : Integer Width : 4
JOBPROJECT.WGROUP1ID
Datatype : Integer Width : 4
JOBPROJECT.DSYSDATE
Datatype : DateTime Width : 8
JOBPROJECT.WUSERID
Datatype : Integer Width : 4
JOBPROJECT.WGROUP2ID
Datatype : Integer Width : 4
JOBPROJECT.WPROFBUDGETID
Datatype : Integer Width : 4
KEYSCONT
Description
KEYSCONT.WKEYVALUE
Datatype : Integer Width : 4
KEYSCONT.SKEYNAME
Datatype : String Width : 10
LABSPECS
Description
LABSPECS.WLABSPECSID
Datatype : Integer Width : 4
LABSPECS.SDESCRIPTION
Datatype : String Width : 30
LABSPECS.FTOPMARGIN
Datatype : Float Width : 8
LABSPECS.FBOTTOMMARGIN
Datatype : Float Width : 8
LABSPECS.FLEFTMARGIN
Datatype : Float Width : 8
LABSPECS.FRIGHTMARGIN
Datatype : Float Width : 8
LABSPECS.BPORTRAIT
Datatype : SmallInt Width : 2
LABSPECS.FHEIGHT
Datatype : Float Width : 8
LABSPECS.FWIDTH
Datatype : Float Width : 8
LABSPECS.WACCROSS
Datatype : Integer Width : 4
LABSPECS.WDOWN
Datatype : Integer Width : 4
LABSPECS.FHGAP
Datatype : Float Width : 8
LABSPECS.FVGAP
Datatype : Float Width : 8
LABSPECS.FUNPRINTABLETOP
Datatype : Float Width : 8
LABSPECS.FUNPRINTABLELEFT
Datatype : Float Width : 8
LABSPECS.FPAGEHEIGHT
Datatype : Float Width : 8
LABSPECS.FPAGEWIDTH
Datatype : Float Width : 8
LABSPECS.DSYSDATE
Datatype : DateTime Width : 8
LABSPECS.WFONTSIZE
Datatype : Integer Width : 4
LOCATIONS
Description
LOCATIONS.WLOCATIONID
Datatype : Integer Width : 4
LOCATIONS.SDESCRIPTION
Datatype : String Width : 35
LOCATIONS.SLOCCODE
Datatype : String Width : 8
LOCATIONS.WLOCATIONTYPEID
Datatype : Integer Width : 4
LOCATIONS.WPARENTID
Datatype : Integer Width : 4
LOCATIONS.DSYSDATE
Datatype : DateTime Width : 8
LOCATIONS.WSORTNO
Datatype : Integer Width : 4
MANUFACD
Description
MANUFACD.WMFCDOCID
Datatype : Integer Width : 4
MANUFACD.WLINEID
Datatype : Integer Width : 4
MANUFACD.WLINETYPEID
Datatype : Integer Width : 4
MANUFACD.SSTOCKCODE
Datatype : String Width : 20
MANUFACD.SDESCRIPTION
Datatype : String Width : 40
MANUFACD.WLOCATIONID
Datatype : Integer Width : 4
MANUFACD.FQTY
Datatype : Float Width : 8
MANUFACD.FVALUE
Datatype : Float Width : 8
MANUFACD.WPROFILEID
Datatype : Integer Width : 4
MANUFACD.DSYSDATE
Datatype : DateTime Width : 8
MANUFACH
Description
MANUFACH.WMFCDOCID
Datatype : Integer Width : 4
MANUFACH.WMFCTYPEID
Datatype : Integer Width : 4
MANUFACH.SMFCCODE
Datatype : String Width : 20
MANUFACH.WPARENTID
Datatype : Integer Width : 4
MANUFACH.SPICTURE
Datatype : String Width : 20
MANUFACH.BDISABLED
Datatype : SmallInt Width : 2
MANUFACH.SDESCRIPTION
Datatype : String Width : 35
MANUFACH.WLOCATIONID
Datatype : Integer Width : 4
MANUFACH.WFINISHEDSTOCKID
Datatype : Integer Width : 4
MANUFACH.FPRICE1
Datatype : Float Width : 8
MANUFACH.FPRICE2
Datatype : Float Width : 8
MANUFACH.FPRICE3
Datatype : Float Width : 8
MANUFACH.FUNUSED
Datatype : Float Width : 8
MANUFACH.WPROFILEID
Datatype : Integer Width : 4
MANUFACH.DSYSDATE
Datatype : DateTime Width : 8
MESSAGES
Description
Should we use this table format ? You can easily edit in excel and then generate the mediawiki syntax using the tool published on this page: http://people.fas.harvard.edu/~sdouglas/table.cgi
| Field | Datatype | Width | Comments |
| WMESSAGEID | Integer | 4 | |
| SDESCRIPTION | String | 35 | |
| SEXTRADESCRIPTION | String | 255 | |
[delphidreamer] I have made the tool to generate the table content my self. I could make any format its just the first format i have made so any sugestions are welcome.
[Cbruyndoncx] If you generate this by a tool, then how can we help in adding the content ? What tool is it that you use ? Where are the descriptions stored ?
TABLES O ... Z
see here for DataModelTablesO-Z
VIEWS
see here for DataModelViews
SYSTEMTABLES FirebirdSystemTables
Description
System tables are tables of Firebid. The can help you change or get information of the data model. But its not adviced to do so unless your absolutly sure what you are doing.
Since this page wouldn't load with all the FirebirdSystemTables listed, I've removed them here and put them in the separate FirebirdSystemTables topic. [CBruyndoncx]

