Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.7 overpayment reversal #4816

Merged
merged 4 commits into from Jul 25, 2020
Merged

Conversation

ehuelsmann
Copy link
Member

No description provided.

* Post date not set, therefore violating integrity constraints on INSERT
* SQL function overpayment__reverse()
  * not ported to the MC paradigm (uses amount instead of amount_bc/amount_tc)
  * calls payment__reverse in incorrect way
  * doesn't truely reverse as it takes currency and
    exchangerate args (no longer)
Note that GL transactions are part of (over)payments/-receipts, in
which case they need to be posted just as any other case. They can't
be part of AR/AP vouchers/batches. If they were, though, I guess they
should be posted too.
…code

Note that old code wants '{ base => ... }', which differs from newer code and
that all DBObject code is old code...
@ehuelsmann ehuelsmann merged commit d634711 into ledgersmb:1.7 Jul 25, 2020
@ehuelsmann ehuelsmann deleted the 1.7-overpayment-reversal branch July 25, 2020 07:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant