Académique Documents
Professionnel Documents
Culture Documents
FND_PROFILE.PUT
Procedure FND_PROFILE.PUT
(name IN varchar2,
value IN varchar2);
Puts a value to the specified user profile option. If the option does not exist, you can also
create it with PUT.
Arguments (input)
name -- The (developer) name of the profile option you want to set.
value -- The value to set in the specified profile option.
FND_PROFILE.GET
procedure FND_PROFILE.GET
(name IN varchar2,
value OUT varchar2);
Gets the current value of the specified user profile option, or NULL if the profile does not
exist.
Arguments (input)
name -- The (developer) name of the profile option whose value you want to retrieve
Arguments (output)
value --The current value of the specified user profile option as last set by PUT or as
defaulted in the current users profile.
Example
FND_PROFILE.GET (USER_ID, user_id);
FND_PROFILE.VALUE
function FND_PROFILE.VALUE
(name IN varchar2) return varchar2;
VALUE works exactly like GET, except it returns the value of the specified profile option
as a function result.
Arguments (input)
name --The (developer) name of the profile option whose value you want to retrieve.
FND_CONCURRENT Package
FND_CONCURRENT.GET_REQUEST_STATUS
Function FND_CONCURRENT.GET_REQUEST_STATUS
(Request_id IN OUT number,
Application IN varchar2 default NULL,
Program IN varchar2 default NULL,
Phase OUT varchar2,
Status OUT varchar2,
Dev_phase OUT varchar2,
Dev_status OUT varchar2,
Message OUT varchar2) return Boolean;
Returns the status of a concurrent request. If the request has already completed, also
returns a completion message.
Arguments (input)
Arguments (output)
phase ---The userfriendly request phase from FND_LOOKUPS.
Status--The userfriendly request status from FND_LOOKUPS.
dev_phase ---The request phase as a constant string that can be used for program logic
comparisons.
dev_status ---The request status as a constant string that can be used for program logic
comparisons.
message ---The completion message supplied if the request has completed.
Example
begin
call_status boolean;
rphase varchar2(80);
rstatus varchar2(80);
dphase varchar2(30);
dstatus varchar2(30);
message varchar2(240);
call_status :=
FND_CONCURRENT.GET_REQUEST_STATUS(<Request_ID>, , ,
rphase,rstatus,dphase,dstatus, message);
end;
FND_CONCURRENT.WAIT_FOR_REQUEST (Client or Server)\
function FND_CONCURRENT.WAIT_FOR_REQUEST
(request_id IN number default NULL,
interval IN number default 60,
max_wait IN number default 0,
phase OUT varchar2,
status OUT varchar2,
dev_phase OUT varchar2,
dev_status OUT varchar2,
message OUT varchar2) return boolean;
Waits for request completion, then returns the request phase/status and completion
message to the caller. Goes to sleep between checks for request completion.
Arguments (input)
Arguments (output)
dev_phase --The request phase as a constant string that can be used for program logic
comparisons.
dev_status--The request status as a constant string that can be used for program logic
comparisons.
Use this procedure to write a line of text to a file (followed by a new line character). You
will use this utility most often.
Arguments (input)
Which--Log file or output file. Use either FND_FILE.LOG or FND_FILE.OUTPUT.
Buff --Text to write.