//  
CREATE TABLE bank_epay_status (
    TRAN_ID     CHAR(10)         NOT NULL,
    REF_SER     CHAR(6)          NOT NULL,
    REF_ID      CHAR(12)         NOT NULL,
    STATUS_DATE TIMESTAMP(6)     NOT NULL,
    STAGE_DESCR VARCHAR2(50),
    REMARKS     VARCHAR2(300),
    ERROR_DET   VARCHAR2(300),
    ADD_DATE    DATE             NOT NULL,
    ADD_TERM    VARCHAR2(15)     NOT NULL,
    ADD_USER    VARCHAR2(10)     NOT NULL,
    CHG_DATE    DATE             NOT NULL,
    CHG_USER    VARCHAR2(10)     NOT NULL,
    CHG_TERM    VARCHAR2(15)     NOT NULL,
    CONSTRAINT PK_BANK_EPAY_STATUS PRIMARY KEY (TRAN_ID)
);

//Transetup
REM INSERTING into TRANSETUP

Insert into TRANSETUP (TRAN_WINDOW,SAVE_FLAG,VAL_FLAG,KEY_FLAG,KEY_STRING,UDF_1,UDF_2,UDF_3,UDF_4,UDF_5,REPEATE_ADD,CHG_DATE,CHG_USER,CHG_TERM,EDI_OPTION,SITE_ACC_COL,CONFIRM_COL,CONFIRM_VAL,REPEAT_ADD_DET,REPEATADDDET,LOAD_MODE,AUTO_CONFIRM,LEDG_POST_CONF,CHG_DATE_ON_CONF,TRAN_ID_COL,MAIL_OPTION,CONFIRM_MODE,GARBAGE_OPT,VAL_FLAG_EDI,VERIFY_PASSWORD,CUST_ACC_COL,SALES_PERS_ACC_COL,SUPP_ACC_COL,ITEM_SER_ACC_CODE,EMP_ACC_COL,ITEM_SER_ACC_COL,WORKFLOW_OPT,TABLE_NAME,APPLICATION,TABLE_DESC,TRAN_DATE_COL,TRAN_ID__FROM,TRAN_ID__TO,TABLE_NAME_DET1,TABLE_NAME_DET2,TABLE_NAME_DET3,MULTITIRE_OPT,REF_SER,VIEW_MODE,TAX_FORMS,SIGN_STATUS,USER_TRAN_WINDOW,CUSTOM_PREVIEW_OBJ,IGNOREERRLIST_ONLOAD,CHILDDATA_ARGOPT,EDIT_TMPLT,WRKFLW_INIT,EDITTAX,FORMAL_ARGS,AUDIT_TRAIL_OPT,EDIT_OPT,CACHE_OPT,OPTIMIZE_MODE,EDIT_EXPR,RATE_COL,QTY_COL,EDIT_EXPR_INP,RCP_CACHE_STATUS,PRINT_CONTROL,TRANSFER_MODE,PROFILE_ID__RES,TRAN_COMPL_MSG,PERIOD_OPTION,WRKFLW_PRIORITY,EXEC_TYPE,DISP_META_DATA,ALLOW_ATTACH,START_FORM,ISATTACHMENT,HEADER_FORM_NO,CONFIRM_DATE_COL,CONFIRM_BY_COL,MSG_ONSAVE,WF_STATUS,RESTART_FORM,CMS_PATH,BROW_DATA_DEF,DEF_VIEW,VIEW_OPTS,ISGWTINITIATED,DEFAULT_DATA_ROW,IN_WF_VAL,IN_WF_COL,CANCEL_VAL,CANCEL_COL,THUMB_ALT_COL,THUMB_IMAGE_COL,THUMB_OBJ,ATTACH_COUNT_MIN,FUNCTION_TYPE,COMPL_ACTION,DEFAULT_EDITOR,MSG_NO,OBJ_TYPE,STATUS_COL,ENABLE_EDITOR,OFFLINE_OPT,CLOSE_COL,CLOSE_VAL,THREAD_KEY_COL,LOAD_ORDER,SYNC_FROM_APP)
values ('w_payintstatus','2','2','A','_SEQ10',null,null,null,null,null,'N',to_date('20-NOV-23','DD-MON-RR'),'GSB       ','SYSTEM','0',null,null,null,null,null,null,null,'N','N',null,null,null,null,null,null,null,null,null,null,null,null,'0','BANK_EPAY_STATUS',null,null,null,null,null,null,null,null,null,'M-PAY ','F',null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,'W',null,null,null,null,null,null,null,null,null,null,null,null,null,'Y',null,null,null,null,null,null,null,null,'descr','apps','sys',null,null,null,'compact',null,'C',null,null,null,null,null,null,null,null);

//obj_forms
REM INSERTING into OBJ_FORMS

Insert into OBJ_FORMS (WIN_NAME,TITLE,OBJ_BROW_NAME,OBJ_EDIT_NAME,CROSS_UPDATE_EXPR,EXPR_FLD_INFO,TARGET_FLD_INFO,EXPR_COMMENT,FORM_NO,SCR_FLAG,AUTO_ACCEPT_SCAN,SCAN_FLAG,SCAN_METADATA,PROPERTY_INFO,SCAN_DELIMITER,COLUMN_ON_SAVE,AFTER_SAVE,EXT_SETUP,EXT_METADATA,EXT_COM,AUTO_ACCEPT_WEIGHDATA,FORM_TYPE,DISP_METADATA,PARENT_KEY_COL,QTY_COL,RATE_COL,ASSISTED_MODE,STORAGE_KEY_METADATA,SELECTION_MODE,DEFAULT_VIEW,AUTO_ADDON_ENTRY,DUPLICATE_ADD,DEFAULT_ROW_CNT,FREEZE_COL_POS,IS_MANDATORY,TRAN_ID_COL,SELECTION_OPT,KEY_INFO,THUMB_OBJ,THUMB_IMAGE_COL,THUMB_ALT_COL,FORM_NAME,FORM_ICON,FORM_VIEW_OPTS,X_COLUMN,Y_COLUMN,ACTION_ARG) values ('w_payintstatus','Payment Status','payint11','payint21',null,null,null,null,'1','F',null,null,null,null,null,null,null,null,null,null,null,null,'<html>
    <div>
    <span style="white-space: normal;"> <b> Transaction Id:</b> {tran_id} </span>

    <span style="white-space: normal;"> <b>Reference Id:</b>{ref_id}</span>
   </div>
   <div>
    <span style="white-space: normal;"> <b>Status Date:</b>{status_date} </span>

    <span style="white-space: normal;"><b>Stage Description:</b>{stage_descr}</span>
    </div>
</html>',null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null);

//obj_actions
REM INSERTING into OBJ_ACTIONS
SET DEFINE OFF;
Insert into OBJ_ACTIONS (OBJ_NAME,LINE_NO,IMAGE,DESCRIPTION,SERVICE_CODE,INTERACTIVE,RIGHTS_CHAR,TITLE,FORM_NO,SERVICE_HANDLER,PLACEMENT,ACTION_TYPE,TRAN_TYPE,CHG_DATE,CHG_TERM,CHG_USER,IS_CONFIRMATION_REQ,SEP_DUTY_OPT,RE_AUTH_OPT,SHOW_IN_PANEL,PAGE_CONTEXT,TYPE,ACTION_ARG,SWIPE_POSITION,MULTI_ROW_OPT,ACTION_ID,DEF_NODATA,IN_PROC_INTRUPT,ESTIMATED_TIME,ACTION_GROUP,DISPLAY_OPT,DISPLAY_MODE,SHOW_CONFIRM,REC_SPECIFIC)
values ('payintstatus',1,'ibase/resource/objaction/add.svg','Adding New','a','a','A','Add','1',null,null,'S',null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,'1','0  ',null);

// obj_itmchnage

//ITM2MENU
REM INSERTING into ITM2MENU
SET DEFINE OFF;
Insert into ITM2MENU (APPLICATION,LEVEL_1,LEVEL_2,LEVEL_3,LEVEL_4,LEVEL_5,WIN_NAME,DESCR,COMMENTS,MENU_PATH,ICON_PATH,CLOSE_ICON,OPEN_ICON,OBJ_TYPE,CHG_DATE,CHG_TERM,CHG_USER,MOB_DEPLOY,DEFAULT_STATE,DEF_ACTION,MOB_DEPLY,ENT_TYPES)
values ('FIP',5,8,10,0,0,'w_payintstatus','Payment Integration','Training','SYS.5.8.10.0.0','brandcampaign.png','state.png',null,'T',null,null,null,null,null,null,null,'0  ');

//refser

Insert into REFSER (REF_SER,DESCR,TYPE,SYS_SER,PREFIX,CHG_DATE,CHG_USER,CHG_TERM,SEQ_NAME,TAX_FORM_REQD,TRANS_TYPE,SKILL_CODE) 
values ('W-PIS ','Payment Integration Status','S',null,null,null,null,null,'payint_SEQ',null,null,null);

//SEQUENC
 CREATE SEQUENCE  payint_SEQ  MINVALUE 1 MAXVALUE 9999999999999999999999999999999 INCREMENT BY 1 START WITH 1;
