int PCMSNumLegs(Trip trip)
Trip trip – Handle to a trip.
Gets the number of legs in a calculated trip. This is useful for APIs related to legs, like reports. This is only accurate when the trip is recently run and has not had any new stops added.
Returns the number of calculated legs in a trip.
Supported Since: PC*MILER|Connect 12
Category: Trip Management