Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0020020
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 09. Financial managementcriticalalways2012-03-14 12:112012-04-02 12:16
ReporterdmiguelezView Statuspublic 
Assigned Toeduardo_Argal 
PriorityimmediateResolutionfixedFixed in Version3.0MP9
StatusclosedFix in branchpiFixed in SCM revision79c1c6515ec9
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabasePostgreSQLJava version1.6.0_18
OS VersionCommunity ApplianceDatabase version8.3.9Ant version1.7.1
Product VersionpiSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0020020: When completing an Invoice it creates a Payment Schedule Detail line that should not exist

DescriptionA negative Sales Order is created.
A Payment is made to this order and then is canceled.
Then an Invoice is created using this order.
It creates an unexpected line In the Payment Schedule Details.
Steps To ReproduceTest Cases from [EPPh010] to [EPPh050]

[EPPh010]
Create the Sales Order.

Login as:

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

“Transaction Document”: Standard Order
“Business Partner”: Type CUSA and press enter key. Customer A should be showed instead.
“Payment Method”: 2.1 (Spain)
“Payment Terms”: 90 days
“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”: - 500
Click the “Book” button. Click OK.

[EPPh020]
Create a Canceled Payment for the Order.

Login as:

Username: QAAdmin
Password: QAAdmin
Go to 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”: -200.00
Then click the “Add Details” button.
In the pop-up select:

“Transaction Type”: Orders
And then make sure that the line with:

“Sales Order No.”: The order created in [EPPh010].
Click the “Process” button and then OK.
Click on the “Reactivate” button. In the selector box select “Void” and click OK.

[EPPh030]
 Create an Executed Payment for the Order.

Login as:

Username: QAAdmin
Password: QAAdmin
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”: -200.00
Then click the “Add Details” button.
In the pop-up select:

“Transaction Type”: Orders
And then make sure that the line with:

“Sales Order No.”: The order created in [EPPh010].
Click the “Process” button and then OK.
Click on the “Execute Payment” button and then Execute.

[EPPh040]
Create a Payment for the Order in status Awaiting Execution.

Login as:

Username: QAAdmin
Password: QAAdmin
Go to 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”: -200.00
Then click the “Add Details” button.
In the pop-up select:

“Transaction Type”: Orders
And then make sure that the line with:

“Sales Order No.”: The order created in [EPPh010].
Click the “Process” button and then OK.

[EPPh050]
 Create the Sales Invoice.

Login as:

Username: QAAdmin
Password: QAAdmin
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”: 90 days
Click on the button “Create Lines From”:
In the order combo box select the order created in [EPPh010].
Mark all the records that appear in the grid and press OK.
Click the “Complete” button. Click OK.

Check that, in the database, there is a Payment Schedule Detail line with amount of +200.00 that should not exist in the first place.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0046424)
hgbot (developer)
2012-03-14 17:37

Repository: erp/devel/pi
Changeset: aa9bbdcfead5592d03f78d9415933117f8b14350
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Wed Mar 14 17:36:05 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/aa9bbdcfead5592d03f78d9415933117f8b14350 [^]

Fixes issue 0020020: Discards canceled Payments of an Order

---
M modules/org.openbravo.advpaymentmngt/src-db/database/model/functions/APRM_GEN_PAYMENTSCHEDULE_INV.xml
---
(0046538)
gorkaion (developer)
2012-03-20 11:50

code reviewed and tested
(0047009)
hgbot (developer)
2012-04-01 20:33

Repository: erp/devel/pi
Changeset: 79c1c6515ec90bfcf26450172581916df164fc17
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Wed Mar 14 17:36:05 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/79c1c6515ec90bfcf26450172581916df164fc17 [^]

Fixes issue 0020020: Discards canceled Payments of an Order

---
M modules/org.openbravo.advpaymentmngt/src-db/database/model/functions/APRM_GEN_PAYMENTSCHEDULE_INV.xml
---
(0047139)
hudsonbot (developer)
2012-04-02 06:10

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/7814864461ac [^]

Maturity status: Test
(0047299)
gorka_gil (administrator)
2012-04-02 12:16

Reopened by merge.

- Issue History
Date Modified Username Field Change
2012-03-14 12:11 dmiguelez New Issue
2012-03-14 12:11 dmiguelez Assigned To => dmiguelez
2012-03-14 12:11 dmiguelez Modules => Core
2012-03-14 13:05 eduardo_Argal Assigned To dmiguelez => eduardo_Argal
2012-03-14 13:05 eduardo_Argal Status new => scheduled
2012-03-14 13:05 eduardo_Argal fix_in_branch => pi
2012-03-14 17:37 hgbot Checkin
2012-03-14 17:37 hgbot Note Added: 0046424
2012-03-14 17:37 hgbot Status scheduled => resolved
2012-03-14 17:37 hgbot Resolution open => fixed
2012-03-14 17:37 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/aa9bbdcfead5592d03f78d9415933117f8b14350 [^]
2012-03-20 11:50 gorkaion Note Added: 0046538
2012-03-20 11:50 gorkaion Status resolved => closed
2012-04-01 20:33 hgbot Checkin
2012-04-01 20:33 hgbot Note Added: 0047009
2012-04-01 20:33 hgbot Status closed => resolved
2012-04-01 20:33 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/pi/rev/aa9bbdcfead5592d03f78d9415933117f8b14350 [^] => http://code.openbravo.com/erp/devel/pi/rev/79c1c6515ec90bfcf26450172581916df164fc17 [^]
2012-04-02 06:10 hudsonbot Checkin
2012-04-02 06:10 hudsonbot Note Added: 0047139
2012-04-02 12:16 gorka_gil Note Added: 0047299
2012-04-02 12:16 gorka_gil Status resolved => closed
2012-04-02 12:16 gorka_gil Fixed in Version => 3.0MP9


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker