Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

Can I stop a grid from allowing its members to be opened/edited?

(0) ShareShare
ReportReport
Posted on by

Maybe someone can verify this for me as well but, my submitted orders allow a user to change values on the order products.  We are at Unified Interface, phase 2 and all.  I've tested one form using a regular view as well as MS's editable grid and in both cases these should be locked down.

The simplest solution would be some jscript that "disables" the grid if the order status is "Submitted".  Can that be done?

TIA

ps- Yes, order Submitted -- I have thrown the switch to have Sales integrated with an external accounting system

pps- and on top of that, I've written my own CalculatePrice plugin and shut off the out-of-the-box pricing -- if either of those things might be short circuiting the proper behaviour.

ppps- something is working right because even when the quantity is changed the CalculatePrice event is not firing as the extended amount doesn't update

  • Suggested answer
    RaviKashyap Profile Picture
    55,410 Moderator on at
    RE: Can I stop a grid from allowing its members to be opened/edited?

    Hi,

    You don't need a javascript, you can create a real time workflow on Order Product entity which trigger on change on 'Modified On' field and checks if the related order status is not active, if not active then cancel the workflow and set the error message under properties.

    Refer this:

    7610.SalesOrder.png

    Hope this helps.

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Daivat Vartak (v-9davar) Profile Picture

Daivat Vartak (v-9d... 225 Super User 2025 Season 1

#2
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 97

#3
Vahid Ghafarpour Profile Picture

Vahid Ghafarpour 82 Super User 2025 Season 1

Overall leaderboard

Product updates

Dynamics 365 release plans