/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\TPO_constraint.sql **/
 EXEC P_ALTERPK 'PK_TPO_SOFTWARE_ENTRY_CODE', 'T_TPO_SOFTWARE_ENTRY_CODE', 'FPKID', '1';

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



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