web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Unanswered

FS Mobile: Complex sync filter on work orders

(0) ShareShare
ReportReport
Posted on by

Business requirement: As a technician using FS Mobile, I would like to see work orders that I'm booked on during the next 7 days. To be able to pick an additional job if time permits, I would also like to see all unscheduled work orders (ideally in my region, maybe even within a date range to limit the number of records).

This would be a combination of an inner join and an outer join to the BRB entity. Advanced Find doesn't let me add BRBs twice and I was not able to massage my FetchXML appropriately. Any suggestion or workaround more than welcome.

I have the same question (0)
  • John Holmes Profile Picture
    260 on at

    Could you not use a View on Bookings to see the ones you are booked on and a Work Order View for the unscheduled?  I know that would give you Bookings on your Home Screen which you may not have but would distinguish between the two.

    You could then sync Work Order for your region (presumably you only have Bookings for Work Order in your Region)

  • ba365guy Profile Picture
    2,950 on at

    Bookable Resource Bookings will be visible under "Bookings" in mobile app.

    Related Work Orders are visible under "Work Orders" - Standard Sync. Filter

    Based on your requirement, you can change the sync. filter and configure 2 views accordingly.

    My Work Orders - Scheduled work orders for current resource

    Unscheduled Work Orders - Work Orders in the current region of the resource.

  • Al Iggs Profile Picture
    on at

    That part of the procedure is clear, but how do you define a sync filter that gives me "my" work orders plus the unscheduled ones? I know that I can define different views, but the question is about the underlying sync filter. I want to have the least-possible # of work orders.

  • ba365guy Profile Picture
    2,950 on at

    Sample Sync. filter as follows:

    pastedimage1574954878123v1.png

    I took Time to Promised parameters for next 7 days. We can also use Time from Promised in addition to Time To Promised.

    This gives the required data which can be segregated via views. 

  • Thomas David Dayman Profile Picture
    11,323 on at

    Hi Alex, maybe my blog post will give you some ideas?

    www.daymandynamics.com/.../

  • Al Iggs Profile Picture
    on at

    Hi ba365guy, I know the standard sync filter, however you will see that it only includes WOs against which I'm booked. For the 2nd part of my requirement I need an additional outer join, and I'm not able to combine the two. 

  • ba365guy Profile Picture
    2,950 on at

    Hi Alex,

    I changed the query of the sync filter added outer join. Below is the fetch i exported. With this query, i was able to see the work orders scheduled for me and unscheduled work orders for 7 days.

        
            
                
                
                    
                        690970003
                    
                    
                        690970002
                    
                    
                        690970001
                    
                    
                        690970000
                    
                
                
                
            
            
                
                    
                    
                        
                        
                        
                        
                    
                
                
                    
                        
                            
                                690970003
                            
                            
                                690970002
                            
                            
                                690970001
                            
                            
                                690970000
                            
                        
                        
                    
                
                
                    
                        
                        
                    
                
            
        
    

  • Al Iggs Profile Picture
    on at

    Thanks for your efforts! Unfortunately the sync filter also gives me work orders that have been scheduled to someone else. I know you could put an additional filter onto the view, but ideally I would like to limit the synced records.

  • Thomas David Dayman Profile Picture
    11,323 on at

    6131.Screenshot_5F00_3.png

    Hi Alex. This could work.

    You need to make all the links outer so it can bring back the other work orders which are not scheduled to yourself.

    You then need to add the condition to the work order entity itself. Look at the OR condition at the top.

  • Al Iggs Profile Picture
    on at

    Thanks Thomas, that was the missing pointer. Here is what finally solved my issue:

    2019_2D00_11_2D00_29_5F00_14_2D00_14_2D00_53.png

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 45 Super User 2025 Season 2

#2
Daniyal Khaleel Profile Picture

Daniyal Khaleel 27 Most Valuable Professional

#3
Soundari Profile Picture

Soundari 15

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans