/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\AR_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_AR_SALOUTWFRECORDENTRY' AND KSQL_COL_NAME ='FVERIFYTAX') 
 ALTER TABLE T_AR_SALOUTWFRECORDENTRY ADD (FVERIFYTAX DECIMAL(23,10) DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_AR_SALOUTWFRECORDENTRY' AND KSQL_COL_NAME ='FASSVERIFYTAX') 
 ALTER TABLE T_AR_SALOUTWFRECORDENTRY ADD (FASSVERIFYTAX DECIMAL(23,10) DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_AR_ORIGINALWFENTRY' AND KSQL_COL_NAME ='FVERIFYTAX') 
 ALTER TABLE T_AR_ORIGINALWFENTRY ADD (FVERIFYTAX DECIMAL(23,10) DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_AR_ORIGINALWFENTRY' AND KSQL_COL_NAME ='FVERIFYLOCTAX') 
 ALTER TABLE T_AR_ORIGINALWFENTRY ADD (FVERIFYLOCTAX DECIMAL(23,10) DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_AR_ORIGINALWFENTRY' AND KSQL_COL_NAME ='FVERIFYPRICETAX') 
 ALTER TABLE T_AR_ORIGINALWFENTRY ADD (FVERIFYPRICETAX DECIMAL(23,10) DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_AR_ORIGINALWFENTRY' AND KSQL_COL_NAME ='FVERIFYLOCPRICETAX') 
 ALTER TABLE T_AR_ORIGINALWFENTRY ADD (FVERIFYLOCPRICETAX DECIMAL(23,10) DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_AR_ORIGINALWFENTRY' AND KSQL_COL_NAME ='FASSVERIFYTAX') 
 ALTER TABLE T_AR_ORIGINALWFENTRY ADD (FASSVERIFYTAX DECIMAL(23,10) DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_AR_ORIGINALWFENTRY' AND KSQL_COL_NAME ='FASSVERIFYLOCTAX') 
 ALTER TABLE T_AR_ORIGINALWFENTRY ADD (FASSVERIFYLOCTAX DECIMAL(23,10) DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_AR_ORIGINALWFENTRY' AND KSQL_COL_NAME ='FASSVERIFYPRICETAX') 
 ALTER TABLE T_AR_ORIGINALWFENTRY ADD (FASSVERIFYPRICETAX DECIMAL(23,10) DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_AR_ORIGINALWFENTRY' AND KSQL_COL_NAME ='FASSVERIFYLOCPRICETAX') 
 ALTER TABLE T_AR_ORIGINALWFENTRY ADD (FASSVERIFYLOCPRICETAX DECIMAL(23,10) DEFAULT 0 NOT NULL );

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