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

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_IM_BILLFIELDSTING_L_FIDLC') CREATE INDEX IDX_IM_BILLFIELDSTING_L_FIDLC ON T_IM_BILLFIELDSETTING_L ( FID ,FLOCALEID );



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