/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\CAS_constraint.sql **/
 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_CAS_PBTLWB_FID') CREATE INDEX IDX_CAS_PBTLWB_FID ON T_CAS_PAYMENTBILL_WB ( FID );

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_CAS_PBTLLK_FENTRYID') CREATE INDEX IDX_CAS_PBTLLK_FENTRYID ON T_CAS_PAYMENTBILLENTRY_LK ( FENTRYID );

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_CAS_PBTLLK_FSEQ') CREATE INDEX IDX_CAS_PBTLLK_FSEQ ON T_CAS_PAYMENTBILLENTRY_LK ( FSEQ );


/**End E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\CAS_constraint.sql **/
