projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e811dff
)
BankTransaction.pm POD verbessert, Feedback von Sven verarbeitet
author
Jan Büren
<jan@kivitendo-premium.de>
Fri, 13 Jul 2018 11:25:49 +0000
(13:25 +0200)
committer
Jan Büren
<jan@kivitendo-premium.de>
Mon, 16 Jul 2018 10:41:58 +0000
(12:41 +0200)
SL/Controller/BankTransaction.pm
patch
|
blob
|
history
diff --git
a/SL/Controller/BankTransaction.pm
b/SL/Controller/BankTransaction.pm
index
3ba67d1
..
5972ce0
100644
(file)
--- a/
SL/Controller/BankTransaction.pm
+++ b/
SL/Controller/BankTransaction.pm
@@
-949,16
+949,10
@@
invoice objects).
This method cannot handle already partly assigned bank transactions, i.e.
a bank transaction that has a invoice_amount <> 0 but not the fully
transaction amount (invoice_amount == amount).
This method cannot handle already partly assigned bank transactions, i.e.
a bank transaction that has a invoice_amount <> 0 but not the fully
transaction amount (invoice_amount == amount).
-Currently this state is impossible from the point of the user interface,
-but for double safety and further reliance posting an bank_transaction
-where some invoice_amount is already assigned or a RecordLink from
-bank to document exists will not be accepted.
If the amount of the bank transaction is higher than the sum of
the assigned invoices (1 .. n) the last invoice will be overpayed.
If the amount of the bank transaction is higher than the sum of
the assigned invoices (1 .. n) the last invoice will be overpayed.
-Therefore this function implements not all valid uses cases.
-
The whole function is wrapped in a database transaction. If an
exception occurs the bank transaction is not posted at all. The same
is true if the code detects an error during the execution, e.g. a bank
The whole function is wrapped in a database transaction. If an
exception occurs the bank transaction is not posted at all. The same
is true if the code detects an error during the execution, e.g. a bank