/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\SYS_constraint.sql **/


 EXEC P_ALTERPK 'PK_SVC_PRINTFONT_ID', 'T_SVC_PRINTFONT', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_SVC_PRINTFONT_BILLNO') CREATE UNIQUE INDEX IDX_SVC_PRINTFONT_BILLNO ON T_SVC_PRINTFONT ( FBILLNO );

 EXEC P_ALTERPK 'PK_T_SVC_PRINTFONT_L', 'T_SVC_PRINTFONT_L', 'FPKID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_SVC_PRINTFONT_L') CREATE INDEX IDX_SVC_PRINTFONT_L ON T_SVC_PRINTFONT_L ( FID ,FLOCALEID );



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