Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note

Important is that when the result is true, the reservation will be blocked. This is why we call the rules “Conflict Rules”.

...

Operators

We will support the following logical operators:

...

  • SUM(listofnumbers) -> yields the sum of all the number in a list

  • SUM(listofrecords, numberfield) -> yields the sum of all the number fields

  • COUNT(list) -> yields the number of items in the list

  • MIN(listofrecords, numberfield) -> yields the lowest number in all of the numberfields

  • MIN(listofnumbers) -> yields the lowest number in a list

  • MAX(listofrecords, numberfield) -> yields the highest number in all of the numberfields

  • MAX(listofnumbers) -> yields the highest number in a list

  • IsNotAvailable() → returns true if in basic availability checking the dimension is not available. Taking into account inheritance and unavailabilities. It is the equivalent of (COUNT(matchingAvailabilities) == 0 OR matchingAvailabilities[0].B25__Unavailability__c == true)

  • IF(condition, then, else) → when the value of the condition is true, return the value of then, otherwise return the value of else.

You can filter records by using the filter function:

...