Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0017966 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 09. Financial management | major | always | 2011-07-12 12:53 | 2011-08-10 09:14 | |||
Reporter | psanjuan | View Status | public | |||||
Assigned To | gorkaion | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | pi | Fixed in SCM revision | 7a0507ddc412 | |||
Projection | none | ETA | none | Target Version | 3.0MP2 | |||
OS | Linux 32 bit | Database | Oracle | Java version | 1.6 | |||
OS Version | Ubuntu 8.04.1 | Database version | 11.1.0.6.0 | Ant version | 1.7.0 | |||
Product Version | SCM revision | |||||||
Review Assigned To | ||||||||
Web browser | Mozilla Firefox | |||||||
Modules | Advanced Payables and Receivables Mngmt | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0017966: Payment Plan not properly created in the case of several line payment terms and an Invoice created from an Order. | |||||||
Description | Payment Plan not properly created in the case of several line payment terms and an Invoice created from an Order | |||||||
Steps To Reproduce | Case 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€ | |||||||
Tags | No tags attached. | |||||||
Attached Files | 17966-1.png [^] (95,986 bytes) 2011-07-12 12:58
17966-2.png [^] (100,138 bytes) 2011-07-12 12:58 | |||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
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 |