update receiving_details set credit_type_code=1 where credit_type_code=3 and updated_at < "2011-03-02";
update receiving_details set credit_type_code=3 where credit_type_code=4 and updated_at < "2011-03-02";
update receiving_details set credit_type_code=4 where credit_type_code=5 and updated_at < "2011-03-02";
