Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
5939 Visualizzazioni

When I create a product, I would like the following Routes to be selected by default:


When I use the SET DEFAULTS Menu in Developer Mode, Routes does not show up.


Is there another way to set these three options as defaults?

Avatar
Abbandona
Risposta migliore

Hi,

Activate the developer mode and navigate to Settings -> Technical -> Actions -> User Defined Defaults, and add a new record here like below.


Select the field Routes, technical name: route_ids and in Default Value (JSON format) you have to add coma separated list with ID's of route that you need to set as default value.




To Get the ID of the routes, you can go to the Routes menu from Inventory -> Configuration -> Warehouse Management -> Routes


Then open the record to get the ID, either you can get ID from URL or from the metadata.




Thanks

Avatar
Abbandona
Risposta migliore


Yes.

I just tested this with Version 13 and 14:


The first step is to determine the ID's of each of the Routes.  Open each up and look in the URL to see the ID:




Another way is to add the ID field to the List View so you can see the ID's you would need for these three.  Note that ID's are specific to each database:




Then, make a default record directly from the User-defined Defaults Menu:




Each time you create a Product, all three Routes will be selected:


Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
lug 19
6558
3
giu 15
5598
0
mag 25
820
1
lug 24
1540
1
feb 24
2018