/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\BASE_constraint.sql **/
 EXEC P_ALTERPK 'PK_T_BD_CUSTOMERTAX', 'T_BD_CUSTOMERTAX', 'FENTRYID', '1';

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


 EXEC P_ALTERPK 'PK_T_BD_SUPPLIERTAX', 'T_BD_SUPPLIERTAX', 'FENTRYID', '1';

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



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