/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\POM_constraint.sql **/
 EXEC P_ALTERPK 'PK_POM_COORDINATION', 'T_POM_COORDINATION', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_POM_COORDINATIONE_FK') CREATE INDEX IDX_POM_COORDINATIONE_FK ON T_POM_COORDINATION ( FBILLNO );


 EXEC P_ALTERPK 'PK_POM_SURFACE', 'T_POM_SURFACE', 'FENTRYID', '1';

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



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