on 06-24-2010 1:41 PM
I want to make a validation as follows:
For a user with name "TOM101", he should not be allowed to do Special GL Transaction with indicator '1'. I have written the validation as follows:
Pre-requisite : User Name = 'TOM101'
Check : Special G/L ind = '1'
Message : No Spl Gl Indicator other than 1 is allowed
However it issues error in the document entry screen whatever special GL indicator is used.
Have I done the validation correctly ?
Thanks for the inputs. Thread is closed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
With this validation code, you are preventing the user TOM101 from posting any special GL indicator other than 1. Which means, if the user tries to enter any special GL indicator other than 1 will result in error.
The logic of validation is
If the prerequisite is met and check is not fulfilled, it should result in error.
So if you want to preven this user from posting special GL indicator 1, as Sayyed rightly mentioned, the check should be "Special G/L indicator not equal to 1"
Hope this helps.
Best Regards,
Madhu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
I think you Validation set up is correct except following one point...
Check: Special GL = 1
with my knowledge, it should be as follows
Check: Special GL "Not Equal to" 1
try this.. hope it works. Please update me the response.
reg
S Habib Pasha
Edited by: Sayyad Habib Pasha on Jun 24, 2010 6:21 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
in the validation maintenance change to display mode and goto "extras / expert trace / set breakpoint".
After that post your testcase to see what happens during validation processing.
I guess the reason is that you are processing every line item but only some line items contain a special GL indicator, most of them have spl.GL indicator " " and thats why the message is raised.
best regards, Christian
Edited by: Christian Ortner on Jun 24, 2010 4:18 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
110 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.