26 Mar’19

D365 Customer Service

Script in editable grid V 9.1 (EditableGrid_script_V9.0)

Introduction

You must have written script on form using javascript and apply various logic like enable/disable or setting value of another field on change of another field. After introduction of editable grid script which is applied on form is not applicable on editable grid. We can apply same logic, but we need to write on different structure.

Description:

Yes, we can apply the same logic on the editable grid as applied on the form. As you can see in the below screen shot two fields are locked and cannot be edited on the grid.

Also, if you have proper security permission than user can edit the date approved and it will set automatically.

You need to write script on the editable grid on the entity and not on the form as you can see in the below:

  1. You need to go the entity solution and add the script on change of record as you can see below

2. You need to write this script little different than the existing style

3.  As you can see in the above screen shot attribute is not access using the getAttribute() method but here we get using getByName().

4. Set value on form script using java script normal style.

Conclusion

Hope this help you write the script on the grid as well as on the form.

Written by

Subhash Mahato

Technical Consultant

Leave a Reply

Your email address will not be published. Required fields are marked *

Want to streamline your business processes?

  • This field is for validation purposes and should be left unchanged.

Recent Articles

  • How to enable Document ID in SharePoint Online

    16 May’ 2019

    Introduction: As you know that SharePoint Online can be used as a document management platform and with the help of Docu...

    Read more
  • Count Number of files in SharePoint folder

    15 May’ 2019

    Introduction: This blog explains how to Count No of files in SharePoint folder using MS Flow. Steps to be followed:Sel...

    Read more
  • Professional Services Automation (PSA) for CPA firms

    14 May’ 2019

    With the evolution of Technology, every industry is getting process oriented and so are CPA firms getting more organized...

    Read more
  • What if the Resource Requirement Still appears post the task is deleted from Schedule (WBS) in PSA V3?

    13 May’ 2019

    Problem Definition: I have observed a fact in PSA that when the task in PSA Schedule (WBS) is deleted, the corresponding...

    Read more
  • Discount Settings for D365 Sales Line Items – Line Items or Per Unit?

    10 May’ 2019

    For Line Item entities Opportunity Products, Quotes Products, Order Products or Invoice Products, you can chose what typ...

    Read more
  • We respect your privacy.
  • This field is for validation purposes and should be left unchanged.