Switching of collection and delivery

Z Solvertech
Verze z 18. 8. 2022, 09:19, kterou vytvořil Jana.safferova (diskuse | příspěvky) (založena nová stránka s textem „The customer sends us the column "return" in the data, which takes the value 1 if it is a collection and 0 if it is a delivery. We set the ScenarioImporter as follows:“)
(rozdíl) ← Starší verze | zobrazit aktuální verzi (rozdíl) | Novější verze → (rozdíl)
Skočit na navigaci Skočit na vyhledávání
Jiné jazyky:

If the customer sends us information in the data that it is a collection or delivery, it is possible to use this information in the scenarioimporter to automatically switch the type of track from delivery to collection.

this is done with the command switchdeliverypickup. New switch_pickup_delivery

Example:

The customer sends us the column "return" in the data, which takes the value 1 if it is a collection and 0 if it is a delivery. We set the ScenarioImporter as follows:



<ColumnsAdd>
<string>0;switch_pickup_delivery;false</string>
</ColumnsAdd>

<AfterConsolidationColumnsCalculated>
<string>dynamic;switch_pickup_delivery;dynamic;vratka;;dynamicvratka==1?true:false</string>
</AfterConsolidationColumnsCalculated>