Skip to content

dbo.makesafeSharingCode ​

Info Generated by scripts/Generate-DataDictionary.ps1 - do not edit by hand. Edit descriptions in schemas/tables/dbo.makesafeSharingCode.json and regenerate.

Columns ​

#ColumnTypeNullableFlagsDescription
1IDintnoidentityPrimary key, identity.
2Codenvarchar(100)noUnique code shared with an external party (e.g. via link) to grant access to a make-safe form.
3DateModifieddatetimenoTimestamp the sharing code record was created or last modified.
4DateExpirydatetimenoDate/time after which the sharing code is no longer valid.
5PhoneCallIDintyesFK to makesafePhoneCall.ID this sharing code grants access to, if any.
6PrimeContactIDuniqueidentifieryesFK to primeContacts identifying the contact the sharing code was issued to, if any.
7FormTypenvarchar(100)yesType of form the shared link grants access to.

Relationships (inferred) ​

FromToConfidence
dbo.makesafeSharingCode.PhoneCallIDdbo.makesafePhoneCall.IDhigh
dbo.makesafeSharingCode.PhoneCallIDdbo.makesafePhoneCallTrade.PhoneCallIDmedium
dbo.makesafeSharingCode.PrimeContactIDdbo.primeContacts.idhigh
dbo.makesafeSharingCode.PrimeContactIDdbo.makesafePhoneCallTrade.PrimeContactIDmedium

Referenced by ​

Procedures: dbo.spMakesafeGetAllSharingCodes, dbo.spMakesafeGetPhoneCallbyCode, dbo.spMakesafeGetPhoneCallTradeByCode, dbo.spMakesafeGetSharingCode, dbo.spMakesafeInsertFormSharingCode, dbo.spMakesafeInsertPhoneCallSharingCode, dbo.spMakesafeValidateFormSharingCode