Monday, October 31, 2011

How To find missing source fmb files in custom module

Hi All

During the upgrade to R12 we found that some custom forms are not working.
After a little investigation we decided to open the forms and fix the issues,but opps, some fmb files where missed.

This is the small script that will help you to find what fmb files are missing during the migration and upgrade.

echo "Start looking for .." > missing .log
for f in *.fmx
do
FMX_FILE=$f
FMB_FILE=`echo $FMX_FILE | awk -F"." '{ print $1 }'`

FIND_FILE=`ls $FMB_FILE*.fmb`
export FIND_FILE

if [ "$FIND_FILE" = "" ]
then
STATUS="No fmb File"
echo "FMX file:  $FMX_FILE   FMB file:  $STATUS " >> missing.log
fi;

done;

Run it from your $CUSTM_TOP/forms/US folder.

Good Luck ...

No comments:

Post a Comment