Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0019958Openbravo ERP07. Sales managementpublic2012-03-06 13:152012-07-05 11:45
dmiguelez 
mirurita 
normalmajoralways
closedno change required 
20Community Appliance
main 
 
Core
No
0019958: When creating a Payment, it does create more Payment Detail lines than expected.
First three Sales orders are created.
Then a Sales Invoice grouping them.
When trying to make a Payment to the Invoice, two additional Payment Detail lines, with no aoumnt are created.
First, this Payment Terms needs to be created:

Login as:

Username: Openbravo
Password: openbravo
Change Role to QATesting Admin

Go to Payment Term window

Create a new one, and set:

Serach Key: 30-60-90
Name: 30-60-90
Overdue Payment Days Rule: 30
Go to Lines tab, create a new one, and set:

Percentage Due: 33
Overdue Payment Days Rule: 60
Rest: No
Create a one more line, and set:

Percentage Due: 33
Overdue Payment Days Rule: 90
Rest: No

Create the Sales order and the Sales invoice.

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

“Business Partner”: Type CUSA and press enter key. Customer A should be showed instead.
“Transaction Document”: Standard Order
“Payment Method”: 2.1 (Spain)
“Payment Terms”: 30-60-90
“Invoice Terms”: Immediate
Move to Lines. Click new and select:

“Product”: Type FGA and press enter key. Final good A should be showed instead.
“Order Quantity”: - 101
Click New and select:

“Product”: Type FGB and press enter key. Final good B should be showed instead.
“Order Quantity”: - 102
Click the “Book” button. Click OK.

Still in Sales Management || Transactions || Sales order:
Click New and select:

“Business Partner”: Type CUSA and press enter key. Customer A should be showed instead.
“Transaction Document”: Standard Order
“Payment Method”: 2.1 (Spain)
“Payment Terms”: 30-60-90
“Invoice Terms”: Immediate
Move to Lines. Click new and select:

“Product”: Type FGA and press enter key. Final good A should be showed instead.
“Order Quantity”: 201
Click the “Book” button. Click OK.

Still in Sales Management || Transactions || Sales order:
Click New and select:

“Business Partner”: Type CUSA and press enter key. Customer A should be showed instead.
“Transaction Document”: Standard Order
“Payment Method”: 2.1 (Spain)
“Payment Terms”: 30-60-90
“Invoice Terms”: Immediate
Move to Lines. Click new and select:

“Product”: Type FGA and press enter key. Final good A should be showed instead.
“Order Quantity”: - 301
Click New and select:

“Product”: Type FGB and press enter key. Final good B should be showed instead.
“Order Quantity”: - 302
Click New and select:

“Product”: Type FGC and press enter key. Final good C should be showed instead.
“Order Quantity”: - 303
Click the “Book” button. Click OK.

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.
“Payment Method”: 2.1 (Spain)
“Payment Terms”: 30-60-90
Click on the button “Create Lines From”:
In the order combo box select the first order created before.
Mark all the records that appear in the grid and press OK.
Click on the button “Create Lines From”:
In the order combo box select the second order created before.
Mark all the records that appear in the grid and press OK.
Click on the button “Create Lines From”:
In the order combo box select the third order created before.
Mark all the records that appear in the grid and press OK.
Click the “Complete” button. Click OK.

Partial Payment of the Invoice

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.
“Payment Method”: 2.1 (Spain)
“Amount”: -400.00
Then click the “Add Details” button.
In the pop-up select:

“Transaction Type”: Invoices
And then make sure that the only line selected is the one with the values:

“Sales Invoice No.”: The invoice created before.
“Outstanding Amount”: -639.06
Click the “Process” button and then OK.
Click on the “Execute Payment” button and then Execute.

In the Payment Plan select the line with the -639.06 Outstanding amount.
Notice that in it's Payment Details there are two lines wich are not supposed to be, with 0 amount each of them
VMA-Reviewed
png Pantallazo-3.png (73,761) 2012-03-06 13:16
https://issues.openbravo.com/file_download.php?file_id=5057&type=bug
png
Issue History
2012-03-06 13:15dmiguelezNew Issue
2012-03-06 13:15dmiguelezAssigned To => vmromanos
2012-03-06 13:15dmiguelezModules => Core
2012-03-06 13:16dmiguelezFile Added: Pantallazo-3.png
2012-04-11 11:47vmromanosTag Attached: VMA-Reviewed
2012-05-10 12:12gorka_gilAssigned Tovmromanos => mirurita
2012-07-05 11:45naiaramartinezNote Added: 0050369
2012-07-05 11:45naiaramartinezStatusnew => closed
2012-07-05 11:45naiaramartinezResolutionopen => no change required

Notes
(0050369)
naiaramartinez   
2012-07-05 11:45   
The issue has been closed because the application is working correctly.