/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\FA_constraint.sql **/
 EXEC P_ALTERPK 'PK_FA_CONSIGNATION_RECORD', 'T_FA_CONSIGNATION_RECORD', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_FA_CONSIGNATION_RECORD') CREATE INDEX IDX_FA_CONSIGNATION_RECORD ON T_FA_CONSIGNATION_RECORD ( FINVENTSCHEMEENTRYID ,FINVENTORYTASKID );



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