Thursday, April 30, 2020

fmb file version find on application server

--Example of  FNDRSRUN.fmb file version find on application server

cd $AU_TOP/forms/US/
strings -a FNDRSRUN.fmb | grep Header

  FDRCSID('$Header: APPSTAND.fmb 120.6.12010000.6 2010/03/10 12:58  dbowles ship                                                                                                                                                                                                                                                         $');
$Header: APPSTAND.fmb 120.6.12010000.6 2010/03/10 12:58  dbowles ship                                                                                                                                                                                                                                                         $
CFDRCSID('$Header: FNDRSRUN.fmb 120.44.12010000.39 2010/06/15 10:15  ggupta ship                                                                                                                                                                                                                                                         $');
$Header: FNDRSRUN.fmb 120.44.12010000.39 2010/06/15 10:15  ggupta ship

API to Purge Workflow Notifications

 --API to Purge Workflow Notifications
begin
exec wf_purge.total(itemtype => 'HRSSA',itemkey => '458976');
commit;

end;

Monday, April 20, 2020

OAF - Write Diagnostic statements for debug Purposes:

--OAF - Write Diagnostic statements for debug Purposes:
From your contorller :
import oracle.apps.fnd.framework.OAFwkConstants;

String testmsg = "This is a test diagnostic message";
pageContext.writeDiagnostics(this,"TESTDIAG: = " + testmsg ,OAFwkConstants.STATEMENT);

Then set profile option at user level
FND: Diagnostics - set to Yes
FND: Debug Log Enabled - set to Yes --default to NO
FND: Debug Log Level - set to Statement
FND: Debug Log Filename for Middle-Tier - give a path to a log file on the server. (test.log)
FND: Debug Log Level ---%

run the application and search for your diagnostic message in test.log file.