Wednesday, March 9, 2011

How To Take Approver's Input- Making approver comments a mandatory Free Text field

We have already discussed how we can provide a free text field to approver. Now Our aim is to make the field mandatory.

Basic Requirement 
Our old requirement looks like "when a person applies for a leave it should go his/her supervisor for approval. Approver must be able to provide his/her comments for approval or rejection of the requisition(comments optional). Approver must also be able to select the Organization Leave Type from a list of values . If the leave gets rejected, don’t store any information in database."

Now our changed requirement will looks like

"when a person applies for a leave it should go his/her supervisor for approval.Approver must be able to provide his/her approval/rejection comments. The comments must be entered by the approver while rejecting the leave requisition.If he/she rejects the leave requisition without entering comments, then it should raise an application error.If he/she approves the requisition it should be optional.Approver must also be able to select the Organization Leave Type from a list of values . If the leave gets rejected, don’t store any information in database."

Design Appraoch 
Following  interpretation can be drawn from the above requirement.
1) The comment field is mandatory while rejecting the leave request.
2) The comment field is remain as optional if he/she approves the requisition.



To read the full document go to Shareapps4u

No comments:

Post a Comment