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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0007033
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 07. Sales managementmajorhave not tried2009-01-20 18:252009-03-02 11:04
ReporterRenateNieuwkoopView Statuspublic 
Assigned Togorkaion 
PriorityhighResolutionfixedFixed in Version2.50beta
StatusclosedFix in branchFixed in SCM revision13311
ProjectionnoneETAnoneTarget Version
OSAnyDatabasePostgreSQLJava version
OS VersionDatabase versionAnt version
Product Version2.40SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0007033: Postgres: Payment term generated incorrect Payment date in Sales Invoice

DescriptionOur students use the university platform for the BFT training and it's 2.40 Community version with Postgres Database.
I have 2.40 training locally with Oracle and I didn't have the same issue.

As per the snapshot, the payment term is one month, the checkbox 'next business day' is selected, yet for a Sales Invoice dated 20-1-2009, the due date in the Payment is 22-2-2009, which is a Sunday. The expected due date would be 20-2-2009, which is one month after 20-1-2009 and is a business day.


Steps To ReproduceHow to recreate the issue:
Enter a Sales Order for a customer, add a line with a product.
Go to 'Generate Invoices' and select the BP on the SO.
Check the Sales Invoice:
Sales Management || Transactions || Sales Invoice || Header

In the Sales Invoice, click the payment term link:
Master Data Management || Business Partner Setup || Payment Term || Header
Tagscommsup_sprint6
Attached Filesjpg file icon 200109Paymenttermsnap1.jpg [^] (215,304 bytes) 2009-01-20 18:25

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0007260 closedgorkaion Postgres: Payment term generated incorrect Payment date in Sales Invoice 
related to feature request 0007626 acknowledgedrmorley Inprove the calendar management including the definition of labor days 

-  Notes
(0012879)
psarobe (manager)
2009-01-30 11:52

Hi Renate,

If you don't mark next business day then it works fine. So it seems that there is a problem with that check.
(0013650)
svnbot (reporter)
2009-02-18 13:43

Repository: openbravo
Revision: 13311
Author: gorkaion
Date: 2009-02-18 13:43:09 +0100 (Wed, 18 Feb 2009)

Fixed bug 7033. Modified the day of the week calculation to ensure that saturday and sunday are always days 6 and 7.

---
U trunk/src-db/database/model/functions/C_PAYMENTDUEDATE.xml
---

https://dev.openbravo.com/websvn/openbravo/?rev=13311&sc=1 [^]
(0014213)
sureshbabu (reporter)
2009-03-02 11:04

Retested in context 79.125.56.185/openbravotrunk

- Issue History
Date Modified Username Field Change
2009-01-20 18:25 RenateNieuwkoop New Issue
2009-01-20 18:25 RenateNieuwkoop Assigned To => rafaroda
2009-01-20 18:25 RenateNieuwkoop sf_bug_id 0 => 2524163
2009-01-20 18:25 RenateNieuwkoop File Added: 200109Paymenttermsnap1.jpg
2009-01-30 11:50 rafaroda Description Updated
2009-01-30 11:50 rafaroda Proposed Solution updated
2009-01-30 11:52 psarobe Status new => scheduled
2009-01-30 11:52 psarobe Note Added: 0012879
2009-01-30 11:52 psarobe fix_in_branch => trunk
2009-01-30 11:52 rafaroda Assigned To rafaroda => gorkaion
2009-02-02 06:19 pjuvara Priority normal => high
2009-02-02 06:19 pjuvara fix_in_branch trunk =>
2009-02-18 13:43 svnbot Checkin
2009-02-18 13:43 svnbot Note Added: 0013650
2009-02-18 13:43 svnbot Status scheduled => resolved
2009-02-18 13:43 svnbot Resolution open => fixed
2009-02-18 13:43 svnbot svn_revision => 13311
2009-02-18 13:52 gorkaion Relationship added related to 0007626
2009-02-19 12:53 gorkaion Tag Attached: commsup_sprint6
2009-03-02 11:04 sureshbabu Regression testing => No
2009-03-02 11:04 sureshbabu Status resolved => closed
2009-03-02 11:04 sureshbabu Note Added: 0014213
2009-03-02 11:04 sureshbabu Fixed in Version => trunk


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker