/**Begin D:\PDM_UPGRADE\PDM1\POM_constraint.sql **/
 EXEC P_ALTERPK 'PK_POM_XMFTORDERMLOGENTRY', 'T_POM_XMFTORDERMLOGENTRY', 'FENTRYID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_POM_XMFTORDERMLOGENTRY_FID') CREATE INDEX IDX_POM_XMFTORDERMLOGENTRY_FID ON T_POM_XMFTORDERMLOGENTRY ( FID );


 EXEC P_ALTERPK 'PK_T_POM_XMFTORDERMLOG', 'T_POM_XMFTORDERMLOG', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'INDEX_POM_XMFTORDERML_XBILLEID') CREATE INDEX INDEX_POM_XMFTORDERML_XBILLEID ON T_POM_XMFTORDERMLOG ( FXBILLENTRYID );



/**End D:\PDM_UPGRADE\PDM1\POM_constraint.sql **/
