 update buyFactorReturned set discount=0 where discount=null or discount='' or discount=NULL
 update buyFactors set discount=0 where discount=null or discount='' or discount=NULL
 update buyServiceFactors set discount=0 where discount=null or discount='' or discount=NULL
 update detileBuyFactor set discount=0 where discount=null or discount='' or discount=NULL
 update detileBuyFactorRecent set discount=0 where discount=null or discount='' or discount=NULL
 update detileBuyFactorReturned set discount=0 where discount=null or discount='' or discount=NULL
 update detileBuyFactorReturnedRecent set discount=0 where discount=null or discount='' or discount=NULL
 update detileBuyServiceFactor set discount=0 where discount=null or discount='' or discount=NULL
 update detileBuyServiceFactorRecent set discount=0 where discount=null or discount='' or discount=NULL
 update costOfCommodity set inputOrOutputAccountSide ='1001' where typeOfInputOrOutput='5'
 update sillingFactor                     set accountSide='1000'  where accountSide='0000'
 update sillingFactorReturned             set accountSide='1000'  where accountSide='0000'
 update sillingServiceFactor              set accountSide='1000'  where accountSide='0000'
 update detaliSellingFactor               set accountSide='1000'  where accountSide='0000'
 update detaliSellingFactorRecent         set accountSide='1000'  where accountSide='0000'
 update detaliSellingFactorReturned       set accountSide='1000'  where accountSide='0000'
 update detaliSellingFactorReturnedRecent set accountSide='1000'  where accountSide='0000'
 update detaliSellingServiceFactor        set accountSide='1000'  where accountSide='0000'
 update detaliSellingServiceFactorRecent  set accountSide='1000'  where accountSide='0000'
 update buyFactors                      set providerCode='1000'  where providerCode='0000'
 update buyFactorReturned                set providerCode='1000'  where providerCode='0000'
 update buyServiceFactors                set providerCode='1000'  where providerCode='0000'
 update detileBuyFactor                set accountSide='1000'  where accountSide='0000'
 update detileBuyFactorRecent          set accountSide='1000'  where accountSide='0000'
 update detileBuyFactorReturned        set accountSide='1000'  where accountSide='0000'
 update detileBuyFactorReturnedRecent  set accountSide='1000'  where accountSide='0000'
 update detileBuyServiceFactor         set accountSide='1000'  where accountSide='0000'
 update detileBuyServiceFactorRecent   set accountSide='1000'  where accountSide='0000'
 update documentAccounting             set accountSide='1000'  where accountSide='0000'
 update detailDocumentAccounting       set detailCode='1000'  where detailCode='0000'
 update detailDocumentAccountingRecent set detailCode='1000'  where detailCode='0000'
 update received                       set accountSide='1000'  where accountSide='0000'
 update payment                       set accountSide='1000'  where accountSide='0000'





 

