콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다

Hi all! I have a very simple need from our v14 Field Service app that I cannot work out.


Our Field Service projects have configured 'Products on Tasks' to track material used in the completion of a task.


In the tasks, when our Technicians' click on the 'Products' ribbon to select products, we want to filter the products view only to a specific warehouse and location in our database. It makes no sense for them to access products that they do not physically have with them.


 I have tried using the filter > Inventory Location but it doesn't seem to be the right one.


Any ideas?

아바타
취소
베스트 답변

You can create filter on model "Product"

On debug mode Settings > Technical > User-defined Filters

Name - As you provide
Model "Product"

Domain - Stock Quant > Location '=' your location (e.g WH/Stock/Truck 1)

[['stock_quant_ids.location_id', '=', 'WH/Stock/Truck 1']]

Available for Users - If left blank is available for all

Default Filter - If you wish to enable else the filter would be available in Favorites

On clicking the Product ribbon on Task, only products in that location would be visible (if set as default).

아바타
취소
작성자

Hi Jaideep,
This is the best answer I have seen for this issue - your filtering has worked smoothly without the need of making any modifications. Thank you!

베스트 답변

Here is a way to solve it using Studio. 

Assuming your technicians use trucks / vans where the product come during Field Service jobs. You can add a field on the product, for instance a boolean (checkmark) and name it Truck 1, Truck 2 etc. The field indicates you keep this product in your trucks. It is just for reference, no logic behind it. 

Add the field to the Search view > group by AND create a Filter "Truck 1 = set/true". Now you can use this filter in Field Service products view and perhaps set is as a default filter on the user. 

Here is a video https://youtu.be/Oha35HrpkbM to explain the steps.

Hope it helps. 

아바타
취소
작성자

Thank you so much for that suggestion! Would you have the steps in how to add it as a filter/group by in Search View?

Hi Emma, please see the video link in my updated answer. Let me know if you have any questions

작성자

Thank you very much!

관련 게시물 답글 화면 활동
0
12월 21
2156
1
11월 24
2581
1
5월 22
3144
1
10월 21
4617
0
3월 21
2603