Sets the quantity of the service to the number of seats present in the aircraft. It takes the number of seats from the aircraft registration first. If not present, it takes the number from the aircraft type.
Optional properties
Maximum (int?; default=null)
Maximum number of seats to return. If the aircraft's seat count exceeds this value, the quantity is capped at this maximum. If not specified, there is no maximum limit.
Important Notes
- Purpose: Calculates the quantity based on the number of seats of the aircraft registration.
- Aircraft registration required: The calculator requires an aircraft registration to be selected on the order. If no aircraft is selected, a warning is shown: "No aircraft selected, so number of seats cannot be calculated".
- Seat count validation: If the aircraft registration exists but no seat count is found (neither on the registration nor on the aircraft type), a warning is shown: "No default number of seats found on aircraft type".
Quantity: If no seat count is available, the quantity is set to 0.
Example Configuration
This configuration caps the quantity at 50 seats, even if the aircraft has more seats.
Example Without Maximum
If no settings are specified (or Maximum is not set), the calculator returns the actual number of seats from the aircraft registration without any limit.
Comments
0 comments
Please sign in to leave a comment.