RIDDL Specification For improving.app
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

VenueCapacityViewHandler: Handler

ItemValue
BrieflyBrief description missing.
Definition PathImprovingApp.Venues.VenueContext.VenuesView.VenueCapacityViewHandler
View Source LinkvenueProjections.riddl(8:13)

OnMessageClause event VenueEstablished

Statements

\nset field VenuesFields.venueId to "VenueEstablished.VenueId"\n

OnMessageClause event LocationEstablished

Statements

{
  error "Location cannot be established because the venueId requested does not exist already"
} else {
  if "LocationEstablished.locationInfo.venueId exists in this projector" then
{
  set field VenuesFields.minCapacity to "min(LocationEstablished.locationInfo.capacity, minCapacity)"
  set field VenuesFields.maxCapacity to "max(LocationEstablished.locationInfo.capacity, maxCapacity)"
}

}
```\n
## *Used By None*

## *Uses Nothing*