/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\AR_constraint.sql **/
 EXEC P_ALTERPK 'PK_T_AR_GLIMPORTLOG', 'T_AR_GLIMPORTLOG', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_AR_GLIMPT_SCHEMEID') CREATE INDEX IDX_AR_GLIMPT_SCHEMEID ON T_AR_GLIMPORTLOG ( FSCHEMEID );


 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_AR_GLIMPTBILL_SCHEMEID') CREATE INDEX IDX_AR_GLIMPTBILL_SCHEMEID ON T_AR_GLIMPORTBILL ( FSCHEMEID );


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