CLIENT Table

Contains clients.

Field Data Type Description

LABCODE

Variable string (10)

Laboratory code.

CLI_CODE

Variable string (40)

Code for the client.

CLI_NAME

Variable string (40)
Unicode

Full name of the client.

ADDRESS1..ADDRESS3

Variable string (40)
Unicode

Client’s address.

STATE

Variable string (40)
Unicode

Client’s state or district.

POSTCODE

Variable string (10)
Unicode

Client’s postal code.

COUNTRY

Variable string (30)
Unicode

Client’s country.

TELEPHONE

Variable string (20)
Unicode

Client’s telephone number.

FAX

Variable string (20)
Unicode

Client’s fax number.

EMAIL

Variable string (40)

Client’s email address.

PRIORITY

Integer

Default priority for client’s work.

DISCOUNT

Real

Default discount given to this client.

PRO_NOTE1..PRO_NOTE3

Variable string (60)
Unicode

Notes for placing on client’s job profiles.

CINV_LABCODE

Variable string (10)

Invoice client's laboratory code, from the CLIENT table.

CLI_INV

Variable string (40)

Code of the client to whom invoices are raised, from the CLIENT table.

CLI_PPNUM

Integer

Number of days for prompt payment discount to be applicable.

CLI_PPDIS

Real

Addition percentage discount available to this client if the account is paid within the CLI_PPNUM number of days.

CLI_ASTAT

Boolean

Indicates whether the client is currently active.

CONV_CODE

Variable string (20)

Currency conversion code from the INVCONVERSION table, used to generate invoices in other currencies for this client.

COSTCODE

Variable string (20)

Cost code from COSTCENTRE table to which this work is allocated.

ACCNT_CODE

Variable string (20)
Unicode

A user-defined accounting code. This may link to external accounting systems.

CLI_ALTCCD

Variable string (40)

Name of the alternative CCLAS directory structure for invoice pricing.

TAX_FLAG

Variable string (3)

The method of applying taxation for the client:

  • NIL - No tax added
  • SCH - Scheme based tax, where the tax is calculated per scheme, as per the SCHEME_TAX table
  • CLI - Client based tax, where the tax is calculated for each tax specified for the client.

NOTESFILE

Variable string (80)

URL of a file containing notes on the client.

PICTUREFILE

Variable string (80)

URL of a file containing an image of the client.

ACCNTMANAGER

Variable string (20)

Manager of the accounting section within the client’s company.

LASTUSED

Date-time

Date-time that this client was used for job profiling.

LASTVISIT

Date-time

Date-time of last visit to this client.

LASTCONTACT

Date-time

Date-time of last contact with this client.

REPORTFILE

Variable string (80)

URL of a file containing a report template for the client.

DATAFILE

Variable string (80)

URL of a file containing data that is used with the report file to produce a report for the client.

PASSWORD

Variable string (80)

+Client’s password for accessing CCLAS results, etc. from over the internet, for example.

INVOICETERMS

Variable string (80)
Unicode

Default terms of an invoice for this client.

ISDISABLED

Boolean

Indicates whether the record is disabled, that is, whether it appears in selection lists, etc.

LOBCODE

Variable string (10)

Line of business code for this client.

USERFIELD1..USERFIELD20 Variable string (n)
Unicode
Extra site-specific fields accessed via a customised screen.
Primary key

LABCODE + CLI_CODE