|
Re: P_MODE="USER" in Form Function [message #585582 is a reply to message #585581] |
Tue, 28 May 2013 01:09 |
|
Littlefoot
Messages: 21823 Registered: June 2005 Location: Croatia, Europe
|
Senior Member Account Moderator |
|
|
It is taken out of its context so I can't tell what it might be. Therefore, post the whole function code.
The way it is written, it looks invalid. Double quotes most probably aren't used as these are meaningless. Equation sign misses colon (i.e. it shouldn't be just =, but := ).
If P_MODE is a variable, it would bewhich would put a string 'USER' into that variable. Or, if it wasit would put current user (the one who is logged in) into that variable.
If P_MODE was a parameter, it would bebut you didn't specify that.
So, if you could explain the question with some more details, it might be easier to answer.
P.S. I didn't realize that it was an Oracle Apps. question. If that's the case, *maybe* actually does something, but you'll have to wait for someone else to answer that.
I guess that USER represents currently logged user (its username).
[Updated on: Tue, 28 May 2013 01:13] Report message to a moderator
|
|
|
|
|
|
|
Re: P_MODE="USER" in Form Function [message #585643 is a reply to message #585616] |
Tue, 28 May 2013 11:16 |
|
vamsi kasina
Messages: 2112 Registered: October 2003 Location: Cincinnati, OH
|
Senior Member |
|
|
Quote:Do, P_MODE="USER" and QUERY_ONLY="YES" functions same?
Here the requirement is I have to check whether the form is protected against update or not.
So, I find a form which is protected against update having the parameter P_MODE="USER".
If I remove the parameter, the form can be updated. In other words, these two are just parameters. Not functions.
Whichever form you are checking that will be treated as function in Apps.
Depending on these parameter the validations / restrictions would have been added.
These would have coded in when-form-instance / when-block-instance triggers either in the form or pll.
May be both have been used for same functionality or different.
If you can check the code, search for the parameters in the form to understand better.
By
Vamsi
|
|
|