Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0018091 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Openbravo ERP] 09. Financial management | major | always | 2011-07-12 12:53 | 2011-08-10 09:15 | |||
Reporter | psanjuan | View Status | public | |||||
Assigned To | gorkaion | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | 2.50 | Fixed in SCM revision | 3b390099113f | |||
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 | 0018091: 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 | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0039459) hgbot (developer) 2011-07-27 19:02 |
Repository: erp/pmods/org.openbravo.advpaymentmngt Changeset: 3b390099113faa339da62ae7592ebb845f071def Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com> Date: Wed Jul 27 18:41:53 2011 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.advpaymentmngt/rev/3b390099113faa339da62ae7592ebb845f071def [^] Fixed issue 18091.Add checkings to know if we are processing the last payment schedule. --- M src-db/database/model/functions/APRM_GEN_PAYMENTSCHEDULE_INV.xml --- |
Issue History | |||
Date Modified | Username | Field | Change |
2011-07-27 10:34 | gorkaion | Type | defect => backport |
2011-07-27 10:34 | gorkaion | fix_in_branch | => 2.50 |
2011-07-27 19:02 | hgbot | Checkin | |
2011-07-27 19:02 | hgbot | Note Added: 0039459 | |
2011-07-27 19:02 | hgbot | Status | scheduled => resolved |
2011-07-27 19:02 | hgbot | Resolution | open => fixed |
2011-07-27 19:02 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.advpaymentmngt/rev/3b390099113faa339da62ae7592ebb845f071def [^] |
2011-08-10 09:15 | mirurita | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |