Hello,
I have to manage the vehicles with several compartments. I thought to use the quantities.
- First, only 10 quantities can be define ?
- Secondly, how can I impose one good (transport order) and only one by compartments ?
Thank you
compartments
- Bernd Welter
- Site Admin
- Posts: 2574
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: compartments
That is a difficult topic, Michel!
First the easy part: the number of Quantities is limited to 10, that's right: the int[] array length can't exceed 10 and each Quantities object within a transaction is interpreted in the same way - for each vehicle and each order.
There are aspects you can model and others are not possible.
E.g. you can define int[4] as { complete volume , volume in compartment1, volume in compartment 2, volume in compartment 3}
We can deal with those compartments on a meta level but we can't just use the space and fill it with the products you like.
Dealing with quantities is one aspect of the engine - separating products (product incompatbility) is a different aspect. And I anticipate you need both to be considered in the same context. Right?
What do you want to achieve / avoid?
Regards,
Bernd
First the easy part: the number of Quantities is limited to 10, that's right: the int[] array length can't exceed 10 and each Quantities object within a transaction is interpreted in the same way - for each vehicle and each order.
There are aspects you can model and others are not possible.
E.g. you can define int[4] as { complete volume , volume in compartment1, volume in compartment 2, volume in compartment 3}
We can deal with those compartments on a meta level but we can't just use the space and fill it with the products you like.
Dealing with quantities is one aspect of the engine - separating products (product incompatbility) is a different aspect. And I anticipate you need both to be considered in the same context. Right?
What do you want to achieve / avoid?
Regards,
Bernd
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...![Twisted Evil :twisted:](./images/smilies/icon_twisted.gif)
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
![Twisted Evil :twisted:](./images/smilies/icon_twisted.gif)
-
- Posts: 46
- Joined: Wed Jul 05, 2017 10:27 am
Re: compartments
with the compartments and the incompatibilities I must be able to find a solution
Thank you Bernd.
Thank you Bernd.