Fixed Purchase/Sales auto updation issue