ATTACHMENT 
Default Table Name  ATTACHMENT 
Definition 
Name: Attachment  Description: This table contains the attachments,DB, or attachment links,File Based, for all object attachments.
 

ATTACHMENT Columns 
ColumnName  Domain  Datatype  NULL  Definition 
ATTACHMENT_ID(PK)    VARCHAR2(40)  NO 
Name: Attachment ID  Description: Indentifies the attachment for the completed task if appropriate.
 
ATTACHMENT_TYPE_CD(FK)    VARCHAR2(10)  NO 
Name: Attachment Type  Description: The attachment type related to task.
 
ATTACHMENT_DATA    BLOB  YES 
Name: Attachment Data  Description: The attachment stored in database.
 
ATTACHMENT_FILE_DIRECTORY_NAME    VARCHAR2(254)  YES 
Name: Attachment Directory  Description: The directory where file is located.
 
ATTACHMENT_DESC    VARCHAR2(30)  YES 
Name: Attachment Description  Description: The users description of attachment.
 
FILE_TYPE_CD    VARCHAR2(4)  YES 
Name: Type of File  Description: Indicates type of file. Examples would be DOC, GIF, PNG, PDF, etc.
 
ATTACHMENT_FILE_NAME    VARCHAR2(254)  YES 
Name: Attachment File Name  Description: The physical name of file.
 
ADVANCE_ID    VARCHAR2(40)  YES 
Name: Advance ID  Description: The unique identifier for the advance.
 
EXP_AUTH_ID    VARCHAR2(10)  YES 
Name: Expense Authorization ID  Description: The unique identifier for the expense authorization.
 
EXP_RPT_ID    VARCHAR2(10)  YES 
Name: Expense Report ID  Description: The unique identifier for the expense report.
 
EA_EXPENSE_ID    NUMBER(10, 0)  YES 
Name: EA Expense ID  Description: The unique identifier for expense on expense authorization.
 
EA_ALLOCATION_ID    NUMBER(10, 0)  YES 
Name: EA Allocation ID  Description: The unique identifier for charge on expense authorization.
 
ER_EXPENSE_ID    NUMBER(10, 0)  YES 
Name: ER Expense ID Description: The unique identifier for expense on expense authorization.
 
ER_ALLOCATION_ID    NUMBER(10, 0)  YES 
Name: ER Allocation ID  Description: The unique identifier for charge on expense report.
 
MODIFIED_BY    VARCHAR2(20)  NO 
 
ROWVERSION    NUMBER(10, 0)  NO 
 
TIME_STAMP    DATE  NO 
 
BARCODE_ID    VARCHAR2(20)  YES 
Name: BARCODE ID Description: This field contains the barcode ID printed on the attachment coversheet.
 

ATTACHMENT Primary and Unique Keys 
Key Name  Key Type  Keys 
PI_O236  PrimaryKey  ATTACHMENT_ID 

ATTACHMENT Foreign Keys 
Parent Relationships: 
Table Name  Type  Cardinality  Constraint Name  VerbPhrase  InversePhrase  Foreign Keys  Is Supertype  Deferrable 
GENERAL_CONFIG_ATTACHMENT  Non-Identifying  One To Zero or More  F00454      ATTACHMENT_TYPE_CD  NO  NO 
Child Relationships: 
Table Name  Type  Cardinality  Constraint Name  VerbPhrase  InversePhrase  Foreign Keys  Is Subtype  Deferrable 
TASK  Non-Identifying  One To Zero or More  F00470        NO  NO