Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0010159Openbravo ERP09. Financial managementpublic2009-07-30 14:042009-08-10 10:00
networkb 
dalsasua 
immediateminoralways
closedfixed 
5
2.40MP7 
2.40MP72.40MP8 
Core
No
0010159: Bank statement created using "Create Lines from" from a payment with "Write-off Amount" quantity gives an error when processing
When you create a bank statement using "Create Lines from" button and the payment you choose have quantity in "Write-off Amount" field, is not possible to process the bank statement. Error obtained is the following:

Error:
In line20 the amount does not match with amount of the debt payment
1. Financial Management || Receivables & Payables || Transactions || Bank Statement --> create a new bank statement
2. Press Create Lines From button
3. Choose any Payment
4. Navigate to Lines and to Payment window
5. Set any quantity in Write-off Amount field and save it
6. Go back to your bank statement header and try to Process it
7. Error "In line20 the amount does not match with amount of the debt payment" is obtained
No tags attached.
blocks defect 00101312.40MP7 closed dalsasua Bank statement created using "Create Lines from" from a payment with "Write-off Amount" quantity gives an error when processing 
Issue History
2009-08-03 10:59dalsasuaTypedefect => backport
2009-08-03 10:59dalsasuafix_in_branch => 2.40
2009-08-03 11:30hgbotCheckin
2009-08-03 11:30hgbotNote Added: 0018795
2009-08-03 11:30hgbotStatusscheduled => resolved
2009-08-03 11:30hgbotResolutionopen => fixed
2009-08-03 11:30hgbotFixed in SCM revision => http://code.openbravo.com/erp/stable/2.40/rev/5a3f88c3c2d4271fa4435aa0c082f5e3987d80a0 [^]
2009-08-10 10:00sureshbabuStatusresolved => closed
2009-08-10 10:00sureshbabuNote Added: 0018886
2009-08-10 10:00sureshbabuFixed in Version => 2.40MP8

Notes
(0018795)
hgbot   
2009-08-03 11:30   
Repository: erp/stable/2.40
Changeset: 5a3f88c3c2d4271fa4435aa0c082f5e3987d80a0
Author: David Alsasua <david.alsasua <at> openbravo.com>
Date: Mon Aug 03 11:28:22 2009 +0200
URL: http://code.openbravo.com/erp/stable/2.40/rev/5a3f88c3c2d4271fa4435aa0c082f5e3987d80a0 [^]

Fixes Issue 10159: Bank statement created using "Create Lines from" from a payment with "Write-off Amount" quantity gives an error when processing

---
M src-db/database/model/triggers/C_DEBT_PAYMENT_TRG.xml
---
(0018886)
sureshbabu   
2009-08-10 10:00   
Tested, system not allowing the user to change the Payment document after it gets completed. (checked with Pablo sarobe)