PSC_COM_BUSINESS_ENTITY
This table contains application specific details for business entities.
Details
-
Schema: FUSION
-
Object owner: PSC_CC
-
Object type: TABLE
-
Tablespace: Default
Primary Key
| Name | Columns |
|---|---|
|
PSC_COM_BUSINESS_ENTITY_PK |
BUSINESS_ENTITY_KEY |
Columns
| Name | Datatype | Length | Precision | Not-null | Comments |
|---|---|---|---|---|---|
| BUSINESS_ENTITY_KEY | NUMBER | 18 | Yes | System-generated Business Entity GUID | |
| BUS_PARTY_LOCATION_ID | NUMBER | 18 | Party location id from TCA | ||
| BUS_PARTY_SITE_ID | NUMBER | 18 | Party site id from TCA | ||
| BUSINESS_ENTITY_ID | VARCHAR2 | 50 | Yes | Unique alpha-numeric key | |
| AGENCY_ID | NUMBER | 8 | This column is used to indicate agency Id. | ||
| BUS_PARTY_ID | NUMBER | 18 | Party ID key from TCA | ||
| BUSINESS_LOCATION_ID | VARCHAR2 | 50 | Foreign key to psc_com_bus_location table | ||
| BUS_OWNERSHIP_TYPE | VARCHAR2 | 15 | Social security number associated to the business entity | ||
| BUS_ENABLED_FLAG | VARCHAR2 | 1 | Enabled or Disabled | ||
| BUS_STATUS | VARCHAR2 | 20 | Yes | Active, Inactive, Provisional | |
| BUS_EXEMPT_FLAG | VARCHAR2 | 1 | Business tax exampted | ||
| BUS_HIDE_INFO_FLAG | VARCHAR2 | 1 | Yes | Indicates that the business should be hidden from public users. | |
| BUS_EXEMPT_TYPE | VARCHAR2 | 30 | Type of examption. Non-profit, veteran, Etc. | ||
| BUS_EXEMPT_PCT | NUMBER | 3 | Exemption percentage, entered by agency staff | ||
| BUS_VETERAN_OWNED_FLAG | VARCHAR2 | 1 | Military veteran owned | ||
| FISCAL_YEAREND_MON | VARCHAR2 | 30 | Month that the fiscal year ends for a orginaization | ||
| FISCAL_YEAREND_DAY | NUMBER | 2 | Day of the month that the fiscal year ends for oraganization. Range determined by the month. | ||
| BUS_INACTIVE_REASON | VARCHAR2 | 1000 | The reason why the business entity was changed to inactive. | ||
| OBJECT_VERSION_NUMBER | NUMBER | 9 | Yes | Used to implement optimistic locking. This number is incremented every time that the row is updated. The number is compared at the start and end of a transaction to detect whether another session has updated the row since it was queried. | |
| CREATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who created the row. | |
| CREATION_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the creation of the row. | ||
| LAST_UPDATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who last updated the row. | |
| LAST_UPDATE_LOGIN | VARCHAR2 | 32 | Who column: indicates the session login associated to the user who last updated the row. | ||
| LAST_UPDATE_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the last update of the row. | ||
| MIGRATED_DATA_FLAG | VARCHAR2 | 3 | Attribute identifying data migrated from legacy system. | ||
| ORGANIZATION_NAME | VARCHAR2 | 360 | This column is used to indicate organization name. | ||
| LEGAL_STATUS | VARCHAR2 | 30 | Legal structure. For example, partnership, corporation, and so on. | ||
| JGZZ_FISCAL_CODE | VARCHAR2 | 20 | Taxpayer identification number, often unique identifier of person or organization. Can be SSN or income taxpayer ID in US, fiscal code or NIF in Europe. | ||
| MINORITY_OWNED_IND | VARCHAR2 | 30 | Indicates if this company is primarily owned by ethnic or racial minorities. Y for a minority-owned firm, N for a firm that is not owned by minorities . | ||
| WOMAN_OWNED_IND | VARCHAR2 | 30 | Indicates if this company is primarily owned by women. Y for a women-owned firm, N for a firm that is not primarily owned by women. | ||
| BUS_DISADV_OWNED_FLAG | VARCHAR2 | 30 | Indicates if this company is considered disadvantaged by the US government under Title 8A. Y for a Title 8A disadvantaged firm, N for all other firms. | ||
| SMALL_BUS_IND | VARCHAR2 | 30 | Indicates if this company is considered to be a small business. Y for small businesses, N for all other firms. | ||
| ADDRESS1 | VARCHAR2 | 240 | First line for address. | ||
| ADDRESS2 | VARCHAR2 | 240 | Second line for address. | ||
| ADDRESS3 | VARCHAR2 | 240 | Third line for address. | ||
| ADDRESS4 | VARCHAR2 | 240 | Fourth line for address. | ||
| CITY | VARCHAR2 | 60 | City | ||
| STATE | VARCHAR2 | 60 | State | ||
| PROVINCE | VARCHAR2 | 60 | Province | ||
| COUNTY | VARCHAR2 | 60 | County | ||
| COUNTRY | VARCHAR2 | 2 | Country code | ||
| POSTAL_CODE | VARCHAR2 | 60 | Postal code | ||
| POSTAL_PLUS4_CODE | VARCHAR2 | 20 | Four digit extension to the United States Postal ZIP code. |
Foreign Keys
| Table | Foreign Table | Foreign Key Column |
|---|---|---|
| psc_com_bus_attachment | psc_com_business_entity | BUSINESS_ENTITY_KEY |
Indexes
| Index | Uniqueness | Tablespace | Columns |
|---|---|---|---|
| PSC_COM_BUSINESS_ENTITY_PK | Unique | Default | BUSINESS_ENTITY_KEY |
| PSC_COM_BUSINESS_ENTITY_U1 | Unique | Default | BUSINESS_ENTITY_ID |