Closed thomaskolmans closed 2 years ago
Hello Thomas, thanks for your contribution again. I will discuss it, but I also don't really see an alternative, so I expect this can go in. Though note that everything for OTM5.3 is closed since we are going to release it next week and this will not have had enough time for others to provide alternatives or counter arguments.
Hello @thomaskolmans, we discussed it and it makes sense to add this constraint. If possible, can you elaborate how you would use this addition? Is this for transport orders? For trips that need some trailer? I also assume we also want to leverage equipmentSubType
so you can indicate what kind of trailer(s)?
This is for Consignment
and Trip
maybe even Location
. Yes, the equipmentSubType
would also come in handy
This is now part of OTM5.4
Type of request
Is your feature request related to a problem? Not able to create a constraint for a TransportEquipmentType
Describe the solution you'd like A new
ConstraintValue
type namelyTransportEquipmentTypeConstraint
with an array of possible types. Just likeVehicleTypeConstraint
andFuelTypeConstraint
are constructed.So a
Constraint
with that type it will look something like:Describe alternatives you've considered None - don't see a valid alternative to be honest.