Wednesday, April 23, 2014

JDR UTILS Package in OAF


LISTDOCUMENTS: For extracting full path of documents.Can provide full or half path as first parameter
DECLARE
BEGIN
jdr_utils.listdocuments(‘/oracle/apps/po’, TRUE);
END;

LISTCUSTOMIZATIONS: List of all the Personalizations or Extensions for the object passed as parameter. Mostly useful to check whether View Object has been extended successfully.
BEGIN
jdr_utils.listcustomizations( ‘/oracle/apps/icx/por/wf/webui/ReqLinesNotificationsRN’);
END;

PRINTDOCUMENT: To get the XML of the object passed as parameter. Using this you can print the XML structure or the page as well as BC4J Object. 
DECLARE
BEGIN
jdr_utils.printdocument(/oracle/apps/per/irc/candidateSelfService/server/customizations/site/0/xxEmployeeVO’);
END;

DELETEDOCUMENT: Mostly used to delete the customization.
DECLARE
BEGIN
jdr_utils.deletedocument(‘/oracle/apps/per/irc/candidateSelfService/server/customizations/site/0/xxEmployeeVO’);
END;