Bug 426

Summary: haven't consider the case in which record a transaction creditting and debitting the same account
Product: Group 3 Reporter: Hsu To-Liang <tlhsu2-c>
Component: Corporation Accounting SystemAssignee: Hsu To-Liang <tlhsu2-c>
Status: RESOLVED FIXED    
Severity: enhancement CC: hsiangtai2-c
Priority: ---    
Version: unspecified   
Hardware: PC   
OS: Windows   

Description Hsu To-Liang 2020-11-21 12:21:22 HKT

    
Comment 1 hsiangtai2-c 2020-11-23 20:54:20 HKT
You are correct. The program should not allow the user to debit and credit the same account in one transaction, since the effect would be canceled out and not make sense from an accounting standpoint. The program has been fixed and now checks whether the debited account and credited account are the same, in which case it will mark it as an invalid transaction record and not proceed with the recording process.