/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\GL_table.sql **/
  IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_AI_DAPCONFIG' AND KSQL_COL_NAME ='FPARENTBILLID') 
  ALTER TABLE T_AI_DAPCONFIG ADD (FPARENTBILLID BIGINT DEFAULT 0 NOT NULL );
 EXEC p_AlterColumn 'T_AI_DAPCONFIG', 'FPARENTBILLID', 'VARCHAR(36)', 'NOT NULL', '1111', ''' ''';


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