Forms Features - By Anuj Kumar Forms Features: Forms Servlet Mode is default. Socket Mode supported o Simple SSL Configuration (as no separate ssl configuration is required for Forms as connections are via web/http server) o No port need to open to access forms in firewall o No need to start form server o More secure method of deployment over Internet o Result in more network traffic being http Forms Trace - Replacement for FRD.( record=all&log=/tmp/username_frd.log) - Ability to record debugging and performance data. - Two step process 1) Activate/Record .trc file, which is binary and is not port specific. 2) Translate to provide XML or HTML output Manual command line translation through Xlate utility. - Enabled via URL by passing ?record=forms&tracegroup=<tracegroup> or from Start Trace in OAM Updated Swan UI FORMS_ environment variables replace FORMS60_. New environment variables e.g. FORMS_TRACE_DIR. Generation tools are delivered as part of the Runtime Services and Developer Suite installations. frmcmp.sh and frmcmp_batch for generation. Modify the shell script to customize settings. New frmbld.sh to replace f60desm. Forms 10g Features Removed from Oracle Forms in 11G The following features have been dropped from Oracle Forms 10g and later: Graphics Integration Chart Items Forms 6i Features Removed from Oracle Forms The following features have been dropped from Oracle Forms 9.0.2 and later: Client-server Runtime Character mode Runtime Various runform command line options Character mode properties and logical attributes Item types that are specific to operating systems Various Built-ins Various properties Various menu features including: o Character mode menu properties o Obsolete types from the Menu-Items command type property o Menu parameters o Menu Built-ins o Full screen menu style o Bar (Lotus) menu style Forms version 2 style triggers and list of values (LOVs) Graphics Chart Wizard Oracle Forms Upgrade Overview Forms developed using form builder version 6i were used in Application Version 11.5.9 and 11.5.10 Forms are now upgraded to produce the same output in Application Version R12 Prerequisites The forms\rp2rro.pll and forms\EnableDisableItem.pll files should be in the FORMS_PATH. In UNIX, set the variable FORMS_PATH, such as setenv FORMS_PATH $ORACLE_HOME/forms. To convert multiple applications by running the Forms Migration Assistant in batch mode from the command line. On UNIX, create a shell script (for example upgrade.sh) that contains the following: for file in $* do frmplsqlconv.sh module=$ff done Then run the shell script as follows: upgrade.sh *.fmb or upgrade.sh foo*.mmb To start the Migration Assistant in batch mode in Windows: frmplsqlconv mode=batch module=<filename> log=<logname> To start the Migration Assistant in batch mode in UNIX: frmplsqlconv.sh mode=batch module=<filename> log=<logname> Eg: frmplsqlconv mode=batch module=d:\temp\test.fmb log=d:\temp\test.log By default the log file is written in $ORACLE_HOME\bin. The module parameter can take only one value. Step-By-Step Instructions Open the custom form (XXFORM.fmb) in Form Builder Version 10g. Compile the form and save it Form enabled for MOAC should have the following in PRE-FORM trigger BEGIN MO_GLOBAL.init('SQLAP'); END; Custom application short code that we registered in fnd_mo_product_init table . Please refer to my MOAC TOI. e.g. Say custom form XXMRECOM.fmb is run from responsibility”XXCHR Resp’. Then, the following query will give us the application short name SELECT FAV.application_short_name FROM fnd_application_vl FAV, fnd_responsibility_vl FRV WHERE FRV.responsibility_name = ‘XXCHR Resp’ AND FAV.application_id = FRV.application_id Make the data model changes in the form. Please note that the following features are obsolete in Forms 10g. So modify. Sr. No Trigger Restricted Usage 1. WHEN-CLEAR-BLOCK Allowed at the block and form level only. WHEN-CLEAR-RECORD WHEN-DATABASERECORD No longer allowed at item level WHEN-NEW-RECORDINSTANCE WHEN-REMOVE-RECORD 2. WHEN-NEW-FORMINSTANCE Allowed at form level only. No longer allowed at the Block and Item level. Save the changes that you made to the form. Compile and save it again. Transfer the compiled form to the corresponding top. f60gen replaced with frmcmp_batch. To generate the fmx use the following command.frmcmp_batch XXFORM.fmb <username/password> Converting PLD to PLL frmcmp_batch Module=CUSTOM.pld Userid=apps/apps@MYDEVDB parse=yes Module_Type=LIBRARY Converting PLL to PLX frmcmp_batch Module= CUSTOM.pll Userid= apps/apps@MYDEVDB compile_all=yes Module_Type=LIBRARY Converting PLL to PLD If you already have something in PLL format and want to convert it to text frmcmp_batch Module= CUSTOM.pll Userid= apps/apps@MYDEVDB Script=YES Module_Type=LIBRARY Output_File= CUSTOM.pld