...
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 listSUM(listofrecords, numberfield)
-> yields the sum of all the number fieldsCOUNT(list)
-> yields the number of items in the listMIN(listofrecords, numberfield)
-> yields the lowest number in all of the numberfieldsMIN(listofnumbers)
-> yields the lowest number in a listMAX(listofrecords, numberfield)
-> yields the highest number in all of the numberfieldsMAX(listofnumbers)
-> yields the highest number in a listIsNotAvailable()
→ 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 thecondition
is true, return the value ofthen
, otherwise return the value ofelse
.
You can filter records by using the filter function:
...