Table : communications

Raw table description

Fields

id id

{
  "name": "id",
  "type": "primaryKey"
}

createdByUserId M  → userAccounts

{
  "name": "createdByUserId",
  "type": "foreignKey",
  "table": "userAccounts",
  "schema": "mspx_admin",
  "mandatory": "true"
}

createdDate

{
  "name": "createdDate",
  "type": "timestamp"
}

subject

{
  "name": "subject",
  "type": "text"
}

prioEmail

{
  "name": "prioEmail",
  "type": "tinyint"
}

prioSms

{
  "name": "prioSms",
  "type": "tinyint"
}

prioLetter

{
  "name": "prioLetter",
  "type": "tinyint"
}

emailId  → emails

{
  "name": "emailId",
  "type": "foreignKey",
  "table": "emails"
}

smsOutboxId  → smsOutboxes

{
  "name": "smsOutboxId",
  "type": "foreignKey",
  "table": "smsOutboxes"
}

smsSender

{
  "name": "smsSender",
  "type": "text",
  "maxLength": 14
}

smsMessage

{
  "name": "smsMessage",
  "type": "text"
}

letterSubject

{
  "name": "letterSubject",
  "type": "text"
}

letterBody

{
  "name": "letterBody",
  "type": "text"
}

letterSigneeText

{
  "name": "letterSigneeText",
  "type": "text"
}

updatedDate

{
  "name": "updatedDate",
  "type": "updated"
}

Referenced by

communicationContacts as communicationId