تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
5913 أدوات العرض

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?

الصورة الرمزية
إهمال
أفضل إجابة

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

الصورة الرمزية
إهمال
أفضل إجابة


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:


الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
يوليو 19
6551
3
يونيو 15
5590
0
مايو 25
803
1
يوليو 24
1533
1
فبراير 24
2006