murad073 / SmartAccount

This project is for small business accounting system
http://smartaccount.dyanit.com/
11 stars 3 forks source link

CodeFirst Database #36

Closed jakaria42 closed 12 years ago

jakaria42 commented 12 years ago

Why isn't there any ProjectHeadID field in the Record table?

We don't have any ProjectHead for Cash/Bank book. That's why we have problems to entry contra voucher. We cannot get contra voucher serial number by calling GetNewVoucherNo.

jakaria42 commented 12 years ago

I have pushed a fix for contra vouchers in MassVoucherManager::Set and MassVoucherManager::GetNewVoucherNo functions. Verify that these are correct for the current DB structure.

murad073 commented 12 years ago

when database first create there must be cash book and bank book.

We removed record.ProjectHeadId, we can find it from record.ProjectHead.ID