Skip to main content

Notification

Upsert

Inserts or updates a notification record. Notifications can be applied for either one of the following dimensions:

  • Global
  • Job
  • Task
  • Appointment

This is a cascading mechanism. The appointment has a reference to a task, and a task has a reference to a job. Notifications for a job will be shown for all corresponding tasks and jobs. Same goes for tasks, whose notifications will be shown to the planned appointments.

NameData TypeDefaultRequiredDescription
SourceAppnvarchar(30)✔️See API reference
SourceTypenvarchar(10)See API reference
NotificationTypeint0See API reference
NotificationCodenvarchar(20)
NotificationTextnvarchar(max)
NotificationDatedatetime
mboc_idnvarchar(50)
JobNonvarchar(50)
TaskNonvarchar(50)
AppointmentIdbigint
AppointmentGuidnvarchar(50)
SentFromBackofficebit1

Delete

Deletes the notification record. The behavior of this procedure depends on the data passed to it:

  • A filled out JobNo and TaskNo will lead to all notification records attached to the TaskNo being deleted.
  • Populating JobNo will delete all notification records attached to the JobNo.
NameData TypeDefaultRequiredDescription
SourceAppnvarchar(30)See API reference
SourceTypenvarchar(10)See API reference
mboc_idnvarchar(50)
JobNonvarchar(50)
TaskNonvarchar(50)
AppointmentIdbigint0
AppointmentGuidnvarchar(50)
SentFromBackofficebit1

API reference

Source

Dime.Scheduler is a centralized planning application. One the key tenets is the ability to accommodate data from different origins. For instance, it is perfectly acceptable to plan work orders from Business Central, CRM, imported Excel sheets, etc., and Dime.Scheduler won't break a sweat because of the existence of the Source App and SourceType fields in the data model.

Source App

When the planner makes an appointment for a resource or task, Dime.Scheduler knows which system to notify. Through the connector setup, Dime.Scheduler will find a matching SourceApp and send the appointment to the corresponding URI subsequently. The source app field is a unique identifier that identifies a back office instance such a tenant of Business Central, a test environment, an instance of CRM cloud, or any other application you wish to use to feed the data into Dime.Scheduler.

Source Type

The SourceType is used inside the backoffice system itself. A source type represents a distinct entity such as a service order, production order, assembly order, etc.

The standard connectors that Dime Software provides make it possible to plan different types of resources and tasks. When Dime.Scheduler posts an appointment to a standard connector, it ends up in a staging table, which is then processed by the connector to make sure the appointment produced in Dime.Scheduler is traced back to the original record using the externally identifiable fields (JobNo, TaskNo, ResourceNo) that identify the record.

Notification type

The values for notification types are:

  • 0 for Information
  • 1 for Warning
  • 2 for Error.