/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\fa_inventory_entrust_index.sql **/
 EXEC P_ALTERPK 'PK_FA_INVENTORY_ENTRUST', 'T_FA_INVENTORY_ENTRUST', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_FA_INVENTORY_ENTRUST') CREATE INDEX IDX_FA_INVENTORY_ENTRUST ON T_FA_INVENTORY_ENTRUST ( FINVENTORYRECORDID );


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