/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\SRC_constraint.sql **/
 EXEC P_ALTERPK 'PK_SRC_SUPPLIERUSER', 'T_SRC_SUPPLIERUSER', 'FPKID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_SRC_SUPPLIERUSER_FID') CREATE INDEX IDX_SRC_SUPPLIERUSER_FID ON T_SRC_SUPPLIERUSER ( FID );


 EXEC P_ALTERPK 'PK_SRC_SUPPLIERUSERS', 'T_SRC_SUPPLIERUSERS', 'FPKID', '1';

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



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