$ 0 0 First go to Table 5940 service item and then delete all the transactions in there and then try to delete customer and vendor and it should work.