/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\SYS_table.sql **/
 EXEC P_ALTERPK 'PK_T_BAS_PRINTCONDITION', 'T_BAS_PRINTCONDITION', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_T_BAS_PRINTCONDITION_BILL') CREATE INDEX IDX_T_BAS_PRINTCONDITION_BILL ON T_BAS_PRINTCONDITION ( FBILLID );

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_T_BAS_PRINTCONDITION_NUM') CREATE INDEX IDX_T_BAS_PRINTCONDITION_NUM ON T_BAS_PRINTCONDITION ( FBILLNUMBER );
/**End E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\SYS_table.sql **/
