OsFinancials Data model

Jump to: navigation, search

Inhoud

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

[