Clear List View Value

GMoon
Tera Guru

Hi all,

 

On our Hardware form, we have a field called 'Date Moved to Stock'. The date is set to the present date via a Business Rule. When this date is cleared from the 'Date Moved to Stock' field, the original date value still appears in List View. I have tried to use a Business Rule to clear the value but it does not work. 
I'm not certain whether a Business Rule is the correct way or whether I should use something else? would appreciate the support on achieving this.

 

Thanks!

 

1 ACCEPTED SOLUTION

GMoon
Tera Guru

Thanks to all for the replies. I have solved this by writing an OnChange Client Script.

View solution in original post

7 REPLIES 7

Could you please show me the value in XML and then list view if possible?
Just in case if you aren't familiar with XML, right click on form header and click Show XML and then find the field.
I just want to understand the scenario because it shouldn't be happening.

Maddysunil
Kilo Sage

@GMoon 

Please cross check the records on the list view are same records you are testing with also please try with setting null in the field and apply a log inspect if code is going inside the BR:

current.u_date_moved_to_stock = null; // or current.date_moved_to_stock = '';

 

Please Mark Correct if this solves your query and also mark 👍Helpful if you find my response worthy based on the impact.

 

Thanks

 

GMoon
Tera Guru

Thanks to all for the replies. I have solved this by writing an OnChange Client Script.