Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0020273Openbravo ERP09. Financial managementpublic2012-04-16 13:322012-04-21 14:24
dmiguelez 
dmiguelez 
normaltrivialalways
closedfixed 
20Community Appliance
pi 
 
Core
No
0020273: It would be usefull to have a method that returns a list of payment confirmed/not confirme status
It would be usefull to have a method that returns a list of payment status when the status is a payment confirmed or not.
It would be usefull to have a method that returns a list of payment status when the status is a payment confirmed or not.
No tags attached.
blocks defect 0020274 closed dmiguelez Code Review: When looking for credit of a Business Partner it does not take all the possible Payment Status into account. 
Issue History
2012-04-16 13:32dmiguelezNew Issue
2012-04-16 13:32dmiguelezAssigned To => dmiguelez
2012-04-16 13:32dmiguelezModules => Core
2012-04-16 13:33dmiguelezStatusnew => scheduled
2012-04-16 13:33dmiguelezfix_in_branch => pi
2012-04-16 15:43dmiguelezRelationship addedblocks 0020274
2012-04-16 16:23dmiguelezNote Added: 0047592
2012-04-16 16:23dmiguelezNote Edited: 0047592bug_revision_view_page.php?bugnote_id=0047592#r3371
2012-04-16 16:24dmiguelezNote Edited: 0047592bug_revision_view_page.php?bugnote_id=0047592#r3372
2012-04-19 10:00hgbotCheckin
2012-04-19 10:00hgbotNote Added: 0047730
2012-04-19 10:00hgbotStatusscheduled => resolved
2012-04-19 10:00hgbotResolutionopen => fixed
2012-04-19 10:00hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/319114556c32904c6e98a68895564a94fe848f04 [^]
2012-04-19 10:00hgbotCheckin
2012-04-19 10:00hgbotNote Added: 0047731
2012-04-19 12:12miruritaNote Added: 0047741
2012-04-19 12:12miruritaStatusresolved => closed
2012-04-21 14:24hudsonbotCheckin
2012-04-21 14:24hudsonbotNote Added: 0047838
2012-04-21 14:24hudsonbotCheckin
2012-04-21 14:24hudsonbotNote Added: 0047839

Notes
(0047592)
dmiguelez   
2012-04-16 16:23   
(edited on: 2012-04-16 16:24)
Test Plan:

Login as:

Username: Openbravo
Password: openbravo
Change rol to QA Testing Admin

----------------------------------------------------------------------

Make a Payment to generate credit.

Go to Sales Financial Management || Receivables & Payables || Transactions || Payment In:
Click New and select:

“Received From”: Type CUSA and press enter key. Customer A should be showed instead.
"Amount": 200.00
Then click the “Add Details” button.
In the pop-up select:

Make sure no rows are selected. Then click on the "Leave this amount to be used later" radiobutton.
Click on "Process" and then OK

------------------------------------------------------------------

Make a Payment to generate credit in a not executed Payment status.

Go to Sales Financial Management || Receivables & Payables || Transactions || Payment In:
Click New and select:

“Received From”: Type CUSB and press enter key. Customer B should be showed instead.
"Payment Method": 2.1 (Spain)
"Amount": 300.00
Then click the “Add Details” button.
In the pop-up select:

Make sure no rows are selected. Then click on the "Leave this amount to be used later" radiobutton.
Click on "Process" and then OK

----------------------------------------------------------------------

Create a Sales Invoice.

Go to Sales Management || Transactions || Sales invoice:
Click New and select:

“Business Partner”: Type CUSA and press enter key. Customer A should be showed instead.
Move to Lines. Click new and select:

“Product”: Type FGA and press enter key. Final Good A should be showed instead.
“Order Quantity”: 100
Click the “Complete” button. Click OK.
When completing the Invoice, there is an option to Pay it using previous credit.
Select "Use Credit"

Check that this message appears:
"Process completed successfully"
Navigate to Payment In and search for the Payment of the Invoice.
In the Used Credit Source there should be a row.

--------------------------------------------------------------------------

Create another Sales Invoice.

Go to Sales Management || Transactions || Sales invoice:
Click New and select:

“Business Partner”: Type CUSB and press enter key. Customer B should be showed instead.
Move to Lines. Click new and select:

“Product”: Type FGB and press enter key. Final Good B should be showed instead.
“Order Quantity”: 75
Click the “Complete” button. Click OK.

Check that this message appears:
"Process completed successfully"
"Payment No. XXXX has been created"
Navigate to Payment In and search for the Payment of the Invoice.
In the Used Credit Source tab there should be no data.

(0047730)
hgbot   
2012-04-19 10:00   
Repository: erp/devel/pi
Changeset: 319114556c32904c6e98a68895564a94fe848f04
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Mon Apr 16 16:26:23 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/319114556c32904c6e98a68895564a94fe848f04 [^]

Fixes issue 0020273: Added methods for retrieving a list of
Payment status where Payments are confirmed or not.

---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/utility/FIN_Utility.java
---
(0047731)
hgbot   
2012-04-19 10:00   
Repository: erp/devel/pi
Changeset: c5c63261ef705a696862716c5be9de133662b565
Author: Mikel Irurita <mikel.irurita <at> openbravo.com>
Date: Thu Apr 19 09:44:22 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/c5c63261ef705a696862716c5be9de133662b565 [^]

Related to issue 20273: code review

---
M modules/org.openbravo.advpaymentmngt/src-db/database/model/functions/APRM_ISPAYMENTCONFIRMED.xml
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/utility/FIN_Utility.java
---
(0047741)
mirurita   
2012-04-19 12:12   
code review + testing OK
(0047838)
hudsonbot   
2012-04-21 14:24   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/2eb57286c1fc [^]

Maturity status: Test
(0047839)
hudsonbot   
2012-04-21 14:24   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/2eb57286c1fc [^]

Maturity status: Test