Tables [dbo].[Attachment_ActionHistory]
Print/Fax actions performed on attachments related to a referral order
KeyNameData TypeMax Length (Bytes)NullabilityIdentityDefaultDescription
Cluster Primary Key PK_Attachment_ActionHistory: IDID[dbo].[uniqueid]9NOT NULL1 - 1Key to the Attachment_ActionHistory table
Indexes NIX_Attachment_ActionHistory_ActivityHeaderIDForeign Keys FK_Attachment_ActionHistory_ActivityHeaderID: [dbo].[Order_Activity_Header].ActivityHeaderIDActivityHeaderID[dbo].[uniqueid]9NOT NULLReferral Order. Link to Order_Activity_Header.ID
AttachmentID[dbo].[uniqueid]9NOT NULLAttachment. Document/Result/Order header identifier
AttachmentTypechar(3)3NOT NULLType of attachment REF/RS/MSG/DOC/SOC etc.
ActionTypechar(1)1NOT NULLP - Print, F- Fax, R - eReferral
ActionPerformedDTTMdatetime8NOT NULLWhen action actually performed
FromUservarchar(255)255NOT NULLWhich user performed faxing/printing, may vary in faxing
ToUservarchar(255)255NULL allowedWhich user received information while faxing also capable of holding free text.
Detailsvarchar(500)500NULL allowedDetsils. Fax# (or) Print server (or) Direct Address etc.
Indexes NIX_Attachment_ActionHistory_UserIDForeign Keys FK_Attachment_ActionHistory_UserID: [dbo].[IDX_User].UserIDUserID[dbo].[uniqueid]9NOT NULLLogged in user who performed the action. Link to IDX_User.ID
Foreign Keys FK_Attachment_ActionHistory_SiteDE: [dbo].[Site_DE].SiteDESiteDE[dbo].[dict_id]5NOT NULLSite of logged in user. Link to Site_DE.ID.
CreatedDTTMdatetime8NOT NULL(getdate())Data and time when the data was inserted / added.
DeliveryStatusvarchar(20)20NULL allowedFinal Status of the Processed Job
JobID[dbo].[uniqueid]9NULL allowedJob ID of Print / Fax Jobs Created in Print Queue