Fixed SaleDocuments.. and DB updates (purchase doc added)