İçereği Atla
Menü
Bu soru işaretlendi
2 Cevaplar
5905 Görünümler

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
Vazgeç
En İyi Yanıt

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
Vazgeç
En İyi Yanıt


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
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Tem 19
6548
3
Haz 15
5589
0
May 25
800
1
Tem 24
1531
1
Şub 24
2002