/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\AR_constraint.sql **/
 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_AR_JOU_SRCID') CREATE INDEX IDX_AR_JOU_SRCID ON T_AR_JOURNAL ( FSOURCEBILLID );

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_AR_BUSBILL_FISPERIOD') CREATE INDEX IDX_AR_BUSBILL_FISPERIOD ON T_AR_BUSBILL ( FISPERIOD );


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