-- 修改实物卡片初始化卡片索引，加上“原始数据”，原来的字：资产组织+是否初始化卡片+资产编码
/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\FA_constraint.sql **/
EXEC p_DropIdx 'IDX_FA_CARREA_INI_SEL', 'T_FA_CARD_REAL';
 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_TABNAME = 'T_FA_CARD_REAL' AND KSQL_INDNAME = 'IDX_FA_CARREA_INI_SEL') CREATE INDEX IDX_FA_CARREA_INI_SEL ON T_FA_CARD_REAL ( FORIGINALDATA ,FASSETUNITID ,FISINITIALCARD ,FNUMBER );

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