Last Updated: 9/24/2025 12:09:38 PM
Intergy Version: 22.00.00.00
Company
Table Definition  Parent Tables  Child Tables
Table Definition| 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 Table | Join Phrase | When deleting parent record... |
|---|---|---|
| Entity | Company.CompanyID = Entity.EntitySID | CASCADE if Company exists |
| Child Table | Join Phrase | When 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 |