ACCOUNT
Groups
ACCOUNT
Column Name | Data Type | Field Length | Not Null? | Data Def. | Comment |
---|---|---|---|---|---|
ID | NUMBER | 22 | N | Â | 'Primary' key |
ACCOUNT_TYPE | VARCHAR2 | 15 | Y | Â | The account type (Business/Private) |
OWNER_ID | NUMBER | 22 | Y | Â | Foreign key to USER-table |
STATUS_ID | NUMBER | 22 | Y | Â | Status table check |
INVOICE_CYCLE_DAY | NUMBER | 22 | Y | Â | Day for the Invoice cycle |
INVOICE_CYCLE_LENGTH | NUMBER | 22 | Y | Â | Length of the invoice cycle in days |
SMALL_INVOICE_LIMIT | NUMBER | 22 | Y | Â | The minimum amount for the invoice a invoice must have before it is closed |
OLDID | NUMBER | 22 | Y | Â | Â |
LAST_CHANGED_DATE | DATE | 7 | Y | Â | The date of the last change made to the account |
PARTNER_CODE | VARCHAR2 | 15 | Y | Â | Sales partner code |
CURRENT_BALANCE | NUMBER | 22 | Y | Â | The current balance for the account |
CUSTOMER_NUMBER | VARCHAR2 | 50 | Y | Â | Customer number |
WARNING | VARCHAR2 | 1000 | Y | Â | Warning message |
SALES_REP | VARCHAR2 | 50 | Y | Â | The name or initials of the Sales rep. |
REFERENCED_BY | VARCHAR2 | 30 | Y | Â | The name or code of the reference for creation of the account |
CAMPAIGN | VARCHAR2 | 30 | Y | Â | NOT USED Campaign description |
INSURANCE | VARCHAR2 | 30 | Y | Â | NOT USED Insurance name |
ACC_ROW_ID | VARCHAR2 | 40 | Y | Â | Â |
ACCOUNT_GROUP_ID | NUMBER | 22 | Y | Â | The ID for the account group |
BRAND_ID | NUMBER | 22 | Y | Â | Foreign key - BRAND-table |
ACCOUNT_SIGNUP_SHOP_ID | NUMBER | 22 | Y | Â | The ID for the sales Shop |
OWNER_CHECKED | CHAR | 1 | Y | Â | Â |
SIGNED | VARCHAR2 | 10 | Y | Â | Â |
COMPANY_NO | VARCHAR2 | 200 | Y | Â | Company number (VAT no./CVR) |
PARENT_ID | NUMBER | 22 | Y | Â | Foreign key - ACCOUNT-table |
ALIAS | VARCHAR2 | 100 | Y | Â | Alias for the account (Account name) |
Contains all Accounts