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 :
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

I have the same question (0)
  • Suggested answer
    RaviKashyap Profile Picture
    55,410 Moderator on at

    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

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 > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 70 Super User 2025 Season 2

#2
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 43 Most Valuable Professional

#3
Daniyal Khaleel Profile Picture

Daniyal Khaleel 32 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans