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

IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_POM_MROORDER_S_E' AND KSQL_COL_NAME ='FMANUWORKER') 
 ALTER TABLE T_POM_MROORDER_S_E ADD (FMANUWORKER BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_POM_MROORDER_S_E' AND KSQL_COL_NAME ='FMANUCHECKER') 
 ALTER TABLE T_POM_MROORDER_S_E ADD (FMANUCHECKER BIGINT DEFAULT 0 NOT NULL );
 
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_POM_MROORDER_P_E' AND KSQL_COL_NAME ='FMANUWORKER') 
 ALTER TABLE T_POM_MROORDER_P_E ADD (FMANUWORKER BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_POM_MROORDER_P_E' AND KSQL_COL_NAME ='FMANUCHECKER') 
 ALTER TABLE T_POM_MROORDER_P_E ADD (FMANUCHECKER BIGINT DEFAULT 0 NOT NULL );
/**End E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\POM_table.sql **/
