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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0007260
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] 07. Sales managementmajorhave not tried2009-01-20 18:252009-03-05 17:22
ReporterRenateNieuwkoopView Statuspublic 
Assigned Togorkaion 
PrioritynormalResolutionfixedFixed in Version2.40MP3
StatusclosedFix in branch2.40Fixed in SCM revision13312
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

0007260: 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 Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0007033 closedgorkaion Postgres: Payment term generated incorrect Payment date in Sales Invoice 

-  Notes
(0013651)
svnbot (reporter)
2009-02-18 13:44

Repository: openbravo
Revision: 13312
Author: gorkaion
Date: 2009-02-18 13:44:00 +0100 (Wed, 18 Feb 2009)

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

---
U branches/r2.40/src-db/database/model/functions/C_PAYMENTDUEDATE.xml
---

https://dev.openbravo.com/websvn/openbravo/?rev=13312&sc=1 [^]

- Issue History
Date Modified Username Field Change
2009-01-30 11:52 psarobe Type defect => backport
2009-01-30 11:52 psarobe fix_in_branch => 2.40
2009-01-30 11:52 rafaroda Assigned To rafaroda => gorkaion
2009-02-18 13:44 svnbot Checkin
2009-02-18 13:44 svnbot Note Added: 0013651
2009-02-18 13:44 svnbot Status scheduled => resolved
2009-02-18 13:44 svnbot Resolution open => fixed
2009-02-18 13:44 svnbot svn_revision => 13312
2009-02-19 12:53 gorkaion Tag Attached: commsup_sprint6
2009-03-03 17:31 psarobe Fixed in Version => 2.40MP3
2009-03-05 17:22 psarobe Regression testing => No
2009-03-05 17:22 psarobe Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker