Service Manager - Approval Comments - Optional
does anyone know if it is possible to make this approval comments optional, if I put checkbox for approval comments they are always mandatory. I want to make it only optional.
I have checked and this is buried in RAD so I don't know if it is possible to manipulate.
The formatctrl usually handles pop-ups for out of box validation pop-ups, but rulesets can also create pop-up validations. I did notice that the message "Please enter the comments for the approval" on the form is coming from scmessage(31, "approval"). In scmessage, you can search for message number "17" and Class "approval" to verify. There could be a variable that is set for and used on a formatctrl to validate if you entered data into the text box.
What is the message displayed when you attempt to approve when box is empty?
Do you know what form is the pop-up? If you open the approval pop-up in the windows app and click on top left corner "Tools" then "Help on Form", you can get the form name.
What workflow are you using? The pop-up may be coming from a wizard, which would contain the form and formatctrl info.
Also, you can type "fs" on command line to display the find string screen and search for keywords. For example, search for the message displayed and search in scmessage.
There's an old enhancement request for approval comments to be made optional. - See https://softwaresupport.softwaregrp.com/doc/KM02695386
Unfortunately, that was submitted in 2017 and may have lost its way. You should log a new idea for this in https://community.softwaregrp.com/t5/SMA-Idea-Exchange/idb-p/SMA-X-Ideas and use the new ER process.
Drum up enough votes for this idea and this functionality could be reviewed for inclusion into future release.
You have my vote. More choices in SM is always a good thing.
log in as admin, from menu navigate to tailoring --> document engine --> objects --> type the table name & search --> go to approval tab --> select "Require appr.comments?
this will allow to capture approval comments
Hmmm, I guess another option is to set "Require appr. comments" box to false and update the form pop-up to include a text box for comments and use the comments field as the input.
You need to find a way to fill the value strings2 in $L.ask when the action is approve; I think a god place would be the DO approve.get.comments.
Maybe you want to give it a try.
If you feel this was helpful please click the KUDOS! thumb below!