My Oracle Support Banner

Why Documaker Interactive Reports 'Function Out Of Place' Error Using WIPEXIT() ? (Doc ID 2429938.1)

Last updated on AUGUST 14, 2018

Applies to:

Oracle Documaker - Version 12.3 and later
Information in this document applies to any platform.

Goal

When attempting to run a pre-edit DAL Script for a field.
------------------------
currgroup=wipfld("currgroup")
if currgroup != 1
msg("You do not have the necessary access to change this content. This transaction will be closed now.")
exit = wipexit(1)
end
-----------------------

When the script is executed in Documaker interactive,there is a pop-up with the above message.
After click on the OK, an error: "Line 4 Column 9 Error 20 Token wipexit Msg: Function out of place"
The intent is to make a field editable only for a specific set of users. Hence the if condition to check user group.
Is there another way to define user specific editable fields?
 

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.