VisibleFor Table (196)

Visible for rights, who may see this appointment/document, sale, salehist or selection

Fields

NameDescriptionTypeNull
VisibleFor_idPrimary keyPK
tableIdID of table this right is valid forTableNumber
recordIdID of row this right applies toRecordId
forAll1 = visible to all, 0 = not visible to allId
forGroupId0 = not visible to any particular group, or ID of groupFK UserGroup
forAssocId0 = not visible to any particular associate, or ID of associateFK associate
encryptedCheckEncrypted checksum field, to prevent tamperingString(254)
appointmentIdShortcut: appointment id, if tableId = appointment; to give faster joinsFK appointment
saleIdShortcut: sale id, if tableId = sale to give faster joinsFK sale
saleHistIdShortcut: salehist id, if tableId = salehist to give faster joinsFK SaleHist
selectionIdShortcut: selection id, if tableId = selection to give faster joinsFK selection
registeredRegistered whenUtcDateTime
registered_associate_idRegistered by whomFK associate
updatedLast updated whenUtcDateTime
updated_associate_idLast updated by whomFK associate
updatedCountNumber of updates made to this recordUShort

VisibleFor table relationship diagram

Indexes

FieldsTypesDescription
VisibleFor_idPKClustered, Unique
appointmentIdFKIndex
saleIdFKIndex
saleHistIdFKIndex
selectionIdFKIndex
recordId, tableIdRecordId, TableNumberIndex
tableId, recordId, forAll, forGroupId, forAssocIdTableNumber, RecordId, Id, FK, FKIndex

Relationships

TableDescription
appointmentTasks, appointments, followups, phone calls; and documents (document_id != 0). An appointment always has a corresponding record in VisibleFor specifying who may see this.
associateEmployees, resources and other users - except for External persons
saleSales For every Sale record edited through the SuperOffice GUI, a copy of the current version of the record will be saved in the SaleHist table. This also applies to editing done through the SaleModel COM interface, but not to editing done through the OLE DB Provider or other channels.
SaleHistMirror image of the Sale table, providing a full transaction history. Every time you edit a sale, the current record of the sale is also saved here.
selectionSelections
UserGroupSecondary user groups

Replication Flags

  • Area Management controlled table. Contents replicated to satellites and traveller databases.
  • Replicate changes UP from satellites and travellers back to central.
  • Copy to satellite and travel prototypes.

Security Flags

  • No access control via user’s Role.