Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0016284Openbravo ERP09. Financial managementpublic2011-03-15 09:162011-06-06 08:43
malsasua 
jonalegriaesarte 
highminoralways
closedfixed 
20Community Appliance
 
2.50MP292.50MP31 
OBPS
Core
No
0016284: the automatic cancel of payments should be shown a message with payment cancelled
If you have got a prepayment, and you create a new invoice of the same partner and amount that the prepayment, a settlement is generated automatically with the two payments.
If you have got several payments (same amount and partner), to create the new invoice with the same partner and amount, the system cancels the new payment with one of the prepayment randomly.
The prepayment should not be selected randomly. if it is selected randomly, a message should be shown with the prepayment cancelled
. create new bank statements:
 . Financial Management || Receivables & Payables || Transactions || Bank Statement || Header
. create two new lines
 . Financial Management || Receivables & Payables || Transactions || Bank Statement || Header || lines
   . new debt payment: mc gyver - (100) - receipt checked - due date 25/03/2011
   . new debt payment: mc gyver - (100) - receipt checked - due date 27/03/2011
  process

. create new sales invoice:
 .Sales Management || Transactions || Sales Invoice || Header
   . mc gyver - total amount 100
 process

a new settlement is generated, with payments of invoice and a prepayment generated from bank statement
  
  
. the prepayment selected should be the prepayment oldest, or a message should be shown
No tags attached.
Issue History
2011-03-15 09:16malsasuaNew Issue
2011-03-15 09:16malsasuaAssigned To => dalsasua
2011-03-15 09:16malsasuaModules => Core
2011-03-15 09:16malsasuaOBNetwork customer => Yes
2011-03-15 09:19malsasuaIssue Monitored: networkb
2011-05-17 13:09jonalegriaesarteAssigned Todalsasua => jonalegriaesarte
2011-06-02 08:11jonalegriaesarteStatusnew => scheduled
2011-06-02 08:11jonalegriaesartefix_in_branch => pi
2011-06-02 09:21hgbotCheckin
2011-06-02 09:21hgbotNote Added: 0037903
2011-06-02 09:21hgbotStatusscheduled => resolved
2011-06-02 09:21hgbotResolutionopen => fixed
2011-06-02 09:21hgbotFixed in SCM revision => http://code.openbravo.com/erp/stable/2.50/rev/bd746344278527bd2c56de6200b3e8c3fd2564d8 [^]
2011-06-06 08:43malsasuaNote Added: 0038014
2011-06-06 08:43malsasuaStatusresolved => closed
2011-06-06 08:43malsasuaFixed in Version => 2.50MP31

Notes
(0037903)
hgbot   
2011-06-02 09:21   
Repository: erp/stable/2.50
Changeset: bd746344278527bd2c56de6200b3e8c3fd2564d8
Author: Egoitz Castillo <egoitz.castillo <at> openbravo.com>
Date: Wed Jun 01 20:16:30 2011 +0200
URL: http://code.openbravo.com/erp/stable/2.50/rev/bd746344278527bd2c56de6200b3e8c3fd2564d8 [^]

Fixes issue 0016284: the automatic cancel of payments should be shown

---
M src-db/database/model/functions/C_INVOICE_POST.xml
---
(0038014)
malsasua   
2011-06-06 08:43   
tested: the payment cancelled always is the payment with due date older.
it works fine