The goal was to restrict this one field "Last Direct Cost" in the permission sets, but I only see how to restrict all edits to the item card itself.
There is no standard way to put permissions on the record to make a field non-editable for specific users. However, this could happen by adding a small enhancement so that field (“Last direct Cost”) can be restricted to the users and the admin will have the privilege to restrict users who can edit this field value.
Could anyone help with the process and how could we do this?
0
Answers
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
Open the Workflow window in Business Central.
Click on "New" and choose from the pre-generated templates provided by Microsoft.
Look for the "Vendor Approval Workflow" template and select it.
The template will be copied and a new workflow will be created for you.
Edit the events and sequence in the workflow. Instead of starting with "Approval of a vendor is requested," change it to "A vendor record is changed."
Add conditions to filter when the workflow will be triggered. Click on the condition to open the "Edit - Event Conditions" page.
Add the necessary conditions based on your requirements. For example, you can specify specific document types, vendor, payment term, currency code, etc.
Specify the actions to be taken when the conditions are met. In this case, you can add responses such as putting the document on hold pending approval, setting the status of the document to pending approval, creating an approval request, and delivering it to the appropriate approvers.
Configure any additional settings such as confirmation messages, due dates, and approver types.
Save and activate the workflow.
By setting up this workflow, whenever a vendor record is changed and the specified conditions are met, the approval process will be triggered. The appropriate approvers will receive an approval request and can take action accordingly.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n