added sale and purchase orders, added checks
Merge pull request #2 from rapdal/master

added sale and purchase orders, added checks

I am merging this but please add the missing files.