Restrict SO Line Unit Price Change

Hello everyone,

I am trying to find an easy way to restrict anyone from changing unit prices that are loaded in to the sales order line when a part is selected.

We use price list to get prices for different customer groups and we would like to prevent data entry people from changing any of the unit prices. I thought I can do this by a data directive that can check to see if the field is changed from any to other, however there is a big loophole if someone changes the unit price before saving the line for the first time.

I was wondering if anyone has ever done this and if there is an easier way?

Worst case I’m going to have a new field for unit price that will be used if they need to overwrite it. And do data directive to copy that to real unit price field if the overwrite chckbox is checked.

Thank you in advance.

Can you do it with field level security?

1 Like

Hi @OnurCam,

Set extended properties for unit price field to make it read only.
And if you don’t want to make it read only then you can also validate it “BeforeFieldChange” in customization.

Regards

1 Like

we have same situation. created security group and on data directive doing below validation, working so far fine.

3 Likes

@OnurCam did you ever figure anything out here? I am having the same issue.