From the PO lines screen, I made the Requisitioner and the Requisition no mandatory via checking the ‘required’ checkbox and then published.
The goal was to prevent users from creating PO lines without a Purchase Requisition / Requisitioner.
After publishing, I tried to save a PO line. It gets saved without the 2 mandatory fields that I set
Can you advise what I am doing wrong here?
Thanks, Asela
Best answer by Abdul
Hi @Asela Munasinghe,
If all Purchase Order lines should be generated through a Purchase Requisition Line only, then you simply hide Plus (+) and Duplicate crudaction for Purchase Order line tab, though this would not be a 100 percent foolproof solution since the user would still be able to copy and paste Purchase Order Line. Please refer to the screenshot below to hide crudaction.
I would suggest to configure a custom event for a foolproof solution with the desired conditions, and I have handled such requirements for a client with Custom Event in the past.
Manual linking is not allowed between Purchase Requisition line and Purchase Order line. The systems automatically update the Requisition-related information on Purchase Order line once business users convert a Purchase Requisition or a Purchase Request into the Purchase Order.
Due to this reason, these fields are not editable by default. Refer to the screenshot below.
Manual linking is not allowed between Purchase Requisition line and Purchase Order line. The systems automatically update the Requisition-related information on Purchase Order line once business users convert a Purchase Requisition or a Purchase Request into the Purchase Order.
I am not referring to a manual linking. We already raise POs converted through PRs only in our company [No manual POs allowed] However, in certain situations some users tend to forget this work instruction and raise a PO without a requisition. I want to prevent that. So if a user raises a PO line and tried to save it, the system shouldn't allow it because the values in the Requisition No and Requisitioner are missing in that PO line. Simply that's the requirement.
Secondly, I can still check editable checkbox, save an publish.This is the PO lines page by the way.
However, my intention isn't to edit those values in the PO lines, but to just to prevent saving the PO lines when those 2 fields are empty.
Simply that's the requirement. Hope its clearer now.
If all Purchase Order lines should be generated through a Purchase Requisition Line only, then you simply hide Plus (+) and Duplicate crudaction for Purchase Order line tab, though this would not be a 100 percent foolproof solution since the user would still be able to copy and paste Purchase Order Line. Please refer to the screenshot below to hide crudaction.
I would suggest to configure a custom event for a foolproof solution with the desired conditions, and I have handled such requirements for a client with Custom Event in the past.
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.