Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
2 Antworten
5802 Ansichten

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
Verwerfen
Beste Antwort

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
Verwerfen
Beste Antwort


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
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
1
Juli 19
6390
3
Juni 15
5523
0
Mai 25
691
1
Juli 24
1443
1
Feb. 24
1889