cancel
Showing results for 
Search instead for 
Did you mean: 

Unlock SFM Delivery(web) early for user interactions

Product Team
Product Team

Unlock SFM Delivery(web) early for user interactions

Hi All,

Today SFM Delivery page is locked until all the lines are loaded. We are working on improving this user experience by unblocking the UI early instead of waiting for all lines to get loaded.

Approach we are proposing:
1.  We will load first 50 lines on each tab & unblock delivery UI for user interactions.

2.  We will provide option on the delivery UI to load the remaining records on request( button) only. 

3.  The number lines loaded by default is driven through a setting, you can set based on the requirement.

4. If there are events configured on SFM like On Load ,Before save or Custom Button, then we will execute those after all lines are loaded based on event type.

Share your thoughts on above approach.

Also would like to understand:

1. How often would a technician/ user need to see all lines associated to the Work order before adding new lines, especially when count is more than 50. What is use-case here.

2. Generally does Work Order have more than 50+ detail lines. What would be an average number of lines associated with Work order( or any debrief object we are editing using SFM)

3. Do the page events like webservice or javascript configured on the SFM for your business use-case require all lines to be loaded on the UI  or are those very specific to the header or detail line added/edited.

An inputs around this would be useful.

@lisa_mercer @susanbmichel @nick_bowles @smusku @richard_lewis 

Please tag me @shivaranjini_g  on the response to get notified.

 

Tags (1)
Message 1 of 5
4 Replies
Product Team
Product Team

Re: Unlock SFM Delivery(web) early for user interactions

Message 2 of 5
0 Likes
Reply
Pastry Chef
Pastry Chef

Re: Unlock SFM Delivery(web) early for user interactions

Hi @shivaranjini_g  Thank for sharing the progress and design approach on this topic. Please see my answers to your question below. If this design approach resolve the delay in loading SFM or crash for large WOs then we are good.

1. How often would a technician/ user need to see all lines associated to the Work order before adding new lines, especially when count is more than 50. What is use-case here.

[Sandeep]: When a Project WO is scheduled for more than a month for multiple FSRs then you would have more than Work Details. They might not see all Work details every day they enter time on WO. We restricted to show last 45 days records in Work Details to prevent issues in loading WO page when WD size is more than 200. We can also have WO with more than 50 Serviced IPs as Work Details as different section.

2. Generally does Work Order have more than 50+ detail lines. What would be an average number of lines associated with Work order( or any debrief object we are editing using SFM)

[Sandeep]: Would be 20-30% of overall work order with more than 50 WDs in all the sections.

3. Do the page events like webservice or javascript configured on the SFM for your business use-case require all lines to be loaded on the UI  or are those very specific to the header or detail line added/edited.

[Sandeep]: we configured Java Code Snippets for Time overlap functionality on Time - Work Details but this feature works only in FSA and these chnages for Web. We do not have any Webservices Configured on SFM.

Message 3 of 5
0 Likes
Reply
Product Team
Product Team

Re: Unlock SFM Delivery(web) early for user interactions

Hi @smusku Thanks for sharing the details. 

Message 4 of 5
0 Likes
Reply
Product Team
Product Team

Re: Unlock SFM Delivery(web) early for user interactions

Hi All,

19.2 release has a feature that enables user early access to SFM debrief record through lazy loading. This feature also enables to load record with more details lines which earlier displayed 'Apex limit exceed error'.

This will be a pre-release feature in 19.2 release.

Lazy loading is not enabled by default. This feature is applicable only on lightning delivery UI.

To enable lazy loading, you need set the global setting SET005 (Module: SFM Transaction Manager, Submodule: SFM Transaction Delivery Engine) to a value that is your desired batch for lazy loading (as multiple of 10s or 50s). Default value is '0' i.e lazy loading is not enabled.

When batching value is set and SFMs are invoked, user can perform all actions on the UI after first batch of lines are loaded. Remaining detail lines will load in the background.

If there are any page events( on load, Save), Formulas, Custom buttons actions configured on the SFM then these actions/events are initiated only after all lines/batches are loaded. UI will be locked until all lines are loaded & actions are complete.

This will be a pre-release feature in 19.2 release. More details will be available in the release notes

Try using this feature in 19.2 and let us know if this addresses your problem and also any feedback to improve the functionality.

Tag me on the response to get notified.

Message 5 of 5
0 Likes
Reply