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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0017966
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 09. Financial managementmajoralways2011-07-12 12:532011-08-10 09:14
ReporterpsanjuanView Statuspublic 
Assigned Togorkaion 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revision7a0507ddc412
ProjectionnoneETAnoneTarget Version3.0MP2
OSLinux 32 bitDatabaseOracleJava version1.6
OS VersionUbuntu 8.04.1Database version11.1.0.6.0Ant version1.7.0
Product VersionSCM revision 
Review Assigned To
Web browserMozilla Firefox
ModulesAdvanced Payables and Receivables Mngmt
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0017966: Payment Plan not properly created in the case of several line payment terms and an Invoice created from an Order.

DescriptionPayment Plan not properly created in the case of several line payment terms and an Invoice created from an Order
Steps To ReproduceCase 1: Order invoiced using a payment term with several payments
Create below payment terms:
(1) 50-50 (lines) - 2 lines for a 50% of the amount. The first 50% in 30 days and the second 50% in 60 days. Rest flag = no

(2) 50-50 (cabecera-lineas) - 1 line for a 50% in 30 days, and in the header overdue Payment days rule field = 60 days, which implies that the header contains the second 50% in 60 days.

Create a sales order for an amount of 2800 for a customer and then a sales invoice by using "Create Lines From" option, for both payment terms.

Once done press "Add Payment In/Out" button and realize that it is not right. See screen attached.

In our example FV/62 was created by using 50-50 lines payment term. See first screen attached.

In our example FV/66 was created by using 50-50 (cabecera-lineas) payment term. See second screen attached.


Case 2: Several orders completely invoiced on a single invoice with an invoiced amount lower than the amount of the orders:

Create 2 Sales Orders with 1500€ amount each one (1000 units at 1.50€ and tax exempt)

Create 1 Invoice using the Create lines from and change the price of both orders to 0.5€ so the total amount of the invoice is 1000€.

Currently we get the following payment details when clicking the Add PAymetn:
SO1 & SI for 1500€
--- & SI for -500€
But we expect:
SO1 & SI for 1500€
SO2 & SI for 1500€
--- & SI for -2000€
TagsNo tags attached.
Attached Filespng file icon 17966-1.png [^] (95,986 bytes) 2011-07-12 12:58


png file icon 17966-2.png [^] (100,138 bytes) 2011-07-12 12:58

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 00180913.0MP2 closedgorkaion Payment Plan not properly created in the case of several line payment terms and an Invoice created from an Order. 

-  Notes
(0039425)
hgbot (developer)
2011-07-27 10:42

Repository: erp/devel/pi
Changeset: 7a0507ddc41287623ede896a57cd2d51dd88bb91
Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
Date: Wed Jul 27 10:37:43 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/7a0507ddc41287623ede896a57cd2d51dd88bb91 [^]

Fixed issue 17966.Add checkings to know if we are processing the last payment schedule.

---
M modules/org.openbravo.advpaymentmngt/src-db/database/model/functions/APRM_GEN_PAYMENTSCHEDULE_INV.xml
---
(0039437)
hgbot (developer)
2011-07-27 11:52

Repository: erp/devel/pi
Changeset: 3bf7e8a8b2db36570c43303250b95b5fb97e1c69
Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
Date: Wed Jul 27 11:49:56 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/3bf7e8a8b2db36570c43303250b95b5fb97e1c69 [^]

Related to issue 17966.Fixed postgresql issue.

---
M modules/org.openbravo.advpaymentmngt/src-db/database/model/functions/APRM_GEN_PAYMENTSCHEDULE_INV.xml
---
(0039701)
hudsonbot (developer)
2011-08-01 14:21

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

Maturity status: Test
(0039705)
hudsonbot (developer)
2011-08-01 14:21

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

Maturity status: Test
(0040060)
mirurita (developer)
2011-08-10 09:14

Verified.

- Issue History
Date Modified Username Field Change
2011-07-12 12:53 psanjuan New Issue
2011-07-12 12:53 psanjuan Assigned To => gorkaion
2011-07-12 12:53 psanjuan Web browser => Mozilla Firefox
2011-07-12 12:53 psanjuan Modules => Advanced Payables and Receivables Mngmt
2011-07-12 12:58 psanjuan File Added: 17966-1.png
2011-07-12 12:58 psanjuan File Added: 17966-2.png
2011-07-27 10:34 gorkaion Web browser Mozilla Firefox => Mozilla Firefox
2011-07-27 10:34 gorkaion Steps to Reproduce Updated View Revisions
2011-07-27 10:34 gorkaion Status new => scheduled
2011-07-27 10:34 gorkaion fix_in_branch => pi
2011-07-27 10:42 hgbot Checkin
2011-07-27 10:42 hgbot Note Added: 0039425
2011-07-27 10:42 hgbot Status scheduled => resolved
2011-07-27 10:42 hgbot Resolution open => fixed
2011-07-27 10:42 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/7a0507ddc41287623ede896a57cd2d51dd88bb91 [^]
2011-07-27 11:52 hgbot Checkin
2011-07-27 11:52 hgbot Note Added: 0039437
2011-08-01 14:21 hudsonbot Checkin
2011-08-01 14:21 hudsonbot Note Added: 0039701
2011-08-01 14:21 hudsonbot Checkin
2011-08-01 14:21 hudsonbot Note Added: 0039705
2011-08-10 09:14 mirurita Note Added: 0040060
2011-08-10 09:14 mirurita Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker