/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\BEI_constraint.sql **/
 EXEC P_ALTERPK 'PK_T_BEI_BANKAGENTPAY_ENTRY', 'T_BEI_BANKAGENTPAY_ENTRY', 'FENTRYID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_BEI_BANKAGENTPAYENTRY') CREATE INDEX IDX_BEI_BANKAGENTPAYENTRY ON T_BEI_BANKAGENTPAY_ENTRY ( FID ,FSOURCEENTRYID );



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