/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\FMM_constraint.sql **/
 EXEC P_ALTERPK 'PK_T_PDM_MFTBOMSALEORDER', 'T_PDM_MFTBOMSALEORDER', 'FENTRYID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_PDM_PROSALEORDER_ENTRYID') CREATE INDEX IDX_PDM_PROSALEORDER_ENTRYID ON T_PDM_MFTBOMSALEORDER ( FSALEORDERENTRYID );



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