Last Updated: 7/22/2025 8:42:49 PM

Intergy Version: 22.00.00.00

Company

Table Definition  Parent Tables  Child Tables

Table Definition

Description: This table is used to define companys.

Field Datatype Default Null Option Comment
CompanyID INTEGER ?   MANDATORY FK
SortName CHARACTER(60)   MANDATORY Programmatically set sort name.
TaxID CHARACTER(15)   OPTIONAL Company tax id. User entered.
TimeStamp CHARACTER(14)   OPTIONAL System generated date/time stamp record was last written.
LastUser INTEGER ?   OPTIONAL User ID of user that last wrote the record.
CreateStamp CHARACTER(14)   OPTIONAL System generated date/time stamp record was created.
CreateUser INTEGER ?   OPTIONAL User ID of user that created the record.
HL7Updated CHARACTER(1)   OPTIONAL This field indicates if HL7 has processed this table entry and will be used by the DB triggers. values "Y" or "N".

Parent Tables
Parent TableJoin PhraseWhen deleting parent record...
Entity Company.CompanyID = Entity.EntitySID CASCADE if Company exists

Child Tables
Child TableJoin PhraseWhen deleting Company record...
CLWCorrespondence CLWCorrespondence.CompanyID = Company.CompanyID SET NULL if CLWCorrespondence exists
Employee Employee.CompanyID = Company.CompanyID RESTRICT if Employee exists
WorkersComp WorkersComp.CompanyID = Company.CompanyID RESTRICT if WorkersComp exists