Design and Implementation of Accounting Information Systems for Sales and Purchases