Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
2 Ответы
4755 Представления

Some accountants like to use the convention that when canceling an entry they use minus the amount they would like to cancel. Example;


Expenses Dr. - 100 “to cancel entry from before”

Payables Cr. - 100 “to cancel entry from before”


In Odoo the following constraint is in AML;

CONSTRAINT account_move_line_credit_debit2 CHECK ((credit + debit) >= 0::numeric)


Is there any particular reason why this constraint exists for the above balanced entry and would it cause any unforeseen effects to remove it?

Аватар
Отменить
Автор Лучший ответ

Thanks Mahmoud that is fine and in order, but to clarify the question ... why is it not possible to cancel an entry in this manner as it is quite common to do so in other systems, and what possible negative or unforeseen consequences would it have to remove the constraint that checks for this?

Аватар
Отменить
Лучший ответ

You can't create Dr. or Cr. with minus value , If you want to cancel entry you can create new Entry and reverse credit and debit values.

EXample

 Expenses Cr.  100 “to cancel entry from before”

Payables Dr.  100 “to cancel entry from before”


Аватар
Отменить
Related Posts Ответы Просмотры Активность
1
нояб. 24
12759
4
окт. 25
758
2
окт. 25
210
0
окт. 25
2
2
сент. 25
447