Jump to content

Business logic

From Resco's Wiki
Wikipedia logo
Wikipedia has an article on a similar subject:

Business logic is a part of program or application, essentially a set of business rules and workflows that direct the interaction between user interface and data.

Examples

Here are some simple examples of what we understand as business logic in Resco Mobile CRM:

  • Validate email address, postal code, telephone number
  • Calculate the duration of an event (actual end – actual start)
  • Hide a field or disable it, depending on a condition
  • Populate fields on a child entity based on the parent
  • Modify an order to add a special discount
  • Find out how many appointments are associated to an account

Levels of business logic in Resco Mobile CRM

  • Built-in / hard-coded
  • Reused server-side logic
  • Rules (Form, View, Calendar, Map, …)
  • JavaScript

Rules