__IF_EXISTS__
SELECT 1
  FROM CI_UT_INSTL_DTL
WHERE SCRIPT_FILE_NAME = 'FW43001_POSTDATA2.SQL'
   AND END_DTTM IS NOT NULL
/
__THEN__
 
__EXIT__
 
__ENDIF__
 
__IF_EXISTS__
SELECT 1
  FROM CI_INSTALL_PROD
WHERE INSTALL_OPT_ID = '11111'
   AND OWNER_FLG = 'F1'
/
__ELSE__
 
__EXIT__
 
__ENDIF__
 
UPDATE CI_BATCH_CTRL_P SET BATCH_PARM_VAL = 'F1-SYNC REQ' WHERE BATCH_CD = 'F1-SYNRQ' AND BATCH_PARM_NAME = 'maintenanceObject' and BATCH_PARM_VAL <> 'F1-SYNC REQ'
/
UPDATE CI_BATCH_CTRL_P SET BATCH_PARM_VAL = 'F1-OBJ REV' WHERE BATCH_CD = 'F1-REVPR' AND BATCH_PARM_NAME = 'maintenanceObject' and BATCH_PARM_VAL <> 'F1-OBJ REV'
/
UPDATE CI_BATCH_CTRL_P SET BATCH_PARM_VAL = 'F1-BUNDLE' WHERE BATCH_CD = 'F1-BUNPR' AND BATCH_PARM_NAME = 'maintenanceObject' and BATCH_PARM_VAL <> 'F1-BUNDLE'
/
UPDATE CI_BATCH_CTRL_P SET BATCH_PARM_VAL = 'F1-FACT' WHERE BATCH_CD = 'F1-FCTRN' AND BATCH_PARM_NAME = 'maintenanceObject' and BATCH_PARM_VAL <> 'F1-FACT' 
/
