Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0012568Openbravo ERPZ. Otherspublic2010-03-04 15:042010-12-09 15:59
sureshbabu 
gorkaion 
normalmajoralways
closedfixed 
5
2.50 
2.50 
Advanced Payables and Receivables Mngmt
No
0012568: In Paymnet plan tab, payment is schedule even fro inactive Payment terms lines
In sales invoice, when user clicks complete button, payment is scheduled using Payment terms line item due dates, but not checked whether the status of the Payment term line item is active or not.
Precondition:

Create a Payment term by moving to Master Data Management || Business Partner Setup || Payment Term || Header

And click new, then enter the below details

Search:40% 30 days, 60% 45 days
Name:40% 30 days, 60% 45 days
Overdue Payment Days Rule: 45

Then move to lines tab and clikc new

Percentage Due:40
Overdue Payment Days Rule:30
Active: un check (here i am un checking the active field so 100% will be applied for 45 days)

process of creating sales invoice:

Create sales invoice using the above Payment terms: 0% 30 days, 60% 45 days
Complete the sales invoice.
Then Navigate to payment tab and Payment plan tab,

one can find two lines instead of one line item...
Advance Rec & Payables
Issue History
2010-03-04 15:04sureshbabuNew Issue
2010-03-04 15:04sureshbabuTag Attached: Advance Rec & Payables
2010-03-05 16:18gorkaionStatusnew => scheduled
2010-03-05 16:18gorkaionfix_in_branch => pi
2010-03-05 16:28gorkaionNote Added: 0025093
2010-03-05 16:28gorkaionStatusscheduled => resolved
2010-03-05 16:28gorkaionResolutionopen => fixed
2010-03-05 16:28gorkaionAssigned To => gorkaion
2010-03-23 08:33sureshbabuNote Added: 0025663
2010-03-23 08:33sureshbabuStatusresolved => closed
2010-03-23 08:33sureshbabuFixed in Version => 2.50
2010-03-31 18:11hgbotCheckin
2010-03-31 18:11hgbotNote Added: 0025842
2010-03-31 18:11hgbotStatusclosed => resolved
2010-03-31 18:11hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/9f64015c026dd561598377d142e6aae89b763a05 [^]
2010-04-05 15:35sureshbabuNote Added: 0025879
2010-04-05 15:35sureshbabuStatusresolved => closed
2010-04-19 21:11hudsonbotCheckin
2010-04-19 21:11hudsonbotNote Added: 0026402
2010-12-09 15:59anonymoussf_bug_id0 => 3133048

Notes
(0025093)
gorkaion   
2010-03-05 16:28   
Fixed in pi-engdev:
https://code.openbravo.com/erp/devel/pi-engdev/rev/9f64015c026d [^]
(0025663)
sureshbabu   
2010-03-23 08:33   
Tested working fine
(0025842)
hgbot   
2010-03-31 18:11   
Repository: erp/devel/pi
Changeset: 9f64015c026dd561598377d142e6aae89b763a05
Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
Date: Fri Mar 05 16:23:42 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/9f64015c026dd561598377d142e6aae89b763a05 [^]

Fixes issue 12568. Added an isActive clause.

---
M src-db/database/model/functions/FIN_GEN_PAYMENTSCHEDULE_INV.xml
---
(0025879)
sureshbabu   
2010-04-05 15:35   
Tested working fine
(0026402)
hudsonbot   
2010-04-19 21:11   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/9f64015c026d [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/91d98bda46c1 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17088.obx [^]