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

/*发票云集成配置表, 添加发票抬头小于等于5个字不校验*/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_KDINVOICECFG' AND KSQL_COL_NAME ='FBUYERNAMELE5_CI') 
 ALTER TABLE T_ER_KDINVOICECFG ADD (FBUYERNAMELE5_CI CHAR(1) DEFAULT '1' NOT NULL );

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