/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\IM_constraint.sql **/
 EXEC P_ALTERPK 'PK_T_IM_INVCOUNTSCHE_ORG', 'T_IM_INVCOUNTSCHE_ORG', 'FPKID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_TABNAME = 'T_IM_INVCOUNTSCHE_ORG' AND KSQL_INDNAME = 'PK_IM_INVCOUNTSCHE_ORG_FID') CREATE INDEX PK_IM_INVCOUNTSCHE_ORG_FID ON T_IM_INVCOUNTSCHE_ORG ( FID );



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