Vehicle dependent cost

Hi,

I want to implement a function where cost of delivering a job is also dependent on vehicle.

i.e: If there are 3 jobs A,B and C and 2 Vehicle V1 and V2.

  • Cost of job A by V1 and V2 are 10 and 20 respectively
  • Cost of job B by V1 and V2 are 20 and 5 respectively
  • Cost of job C by V1 and V2 are 10 and 5 respectively

So if solution is V1 delivers A and B --> 10 + 20
and V2 delivers C --> 5

My initial idea is to use vehicleDependent transport cost. But does current state manager be able to update state of route during vehicle switch. Or do I need to create vehicle dependent state?