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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0009951
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] 09. Financial managementmajoralways2009-07-14 19:412009-07-31 08:09
ReporternetworkbView Statuspublic 
Assigned Tosathiyan 
PriorityimmediateResolutionfixedFixed in Version2.40MP8
StatusclosedFix in branch2.40Fixed in SCM revisione1b8cac288db
ProjectionnoneETAnoneTarget Version2.50MP4
OSLinux 32 bitDatabasePostgreSQLJava version1.6.0_11
OS VersionrPath LinuxDatabase version8.3.5Ant version1.7.1
Product Version2.40MP6SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0009951: create vat register process does not include invoices with tax date equals to "Ending Date" in tab "Tax payment-> header"

Descriptioninvoice with tax date is the same day that "Ending Date" in tab "Tax payment-> header", but time is distinct of 00:00:00, then invoice is not included in process "create vat register"
Steps To Reproducein Sales Management || Transactions || Sales Invoice || Header
. create invoice:
    date tax = to_date ('30/06/2009 01:00:00', 'DD-MM-YYYY HH24:MI:SS')
. create invoice lines
. run process invoice
    
in Financial Management || Receivables & Payables || Transactions || Tax Payment || Header :
 . create new:
    . Ending Date = 30/06/2009
    . run "create vat registers"

Proposed Solutionfile .../ad_actionbutton/CreateVarRegister.java:
 line 167:
  taxRegister.cTaxregisterTypeId, strDatefrom, strDateto);
 --replace by--
  taxRegister.cTaxregisterTypeId, strDatefrom, DateTimeData.nDaysAfter(this, strDateTo,"1"));

file .../ad_actionbutton/CreateVarRegister_data.xsql
 line 68: ...
   <Parameter name="parDateTo" optional="true" after="and 1=1"><![CDATA[ and C_Invoice.TaxDate <= to_date(?)]]></Parameter>
  --replace by--
    <Parameter name="parDateTo" optional="true" after="and 1=1"><![CDATA[ and C_Invoice.TaxDate < to_date(?)]]></Parameter>
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 00099002.50MP4 closedsathiyan create vat register process does not include invoices with tax date equals to "Ending Date" in tab "Tax payment-> header" 

-  Notes
(0018676)
hgbot (developer)
2009-07-29 10:14

Repository: erp/stable/2.40
Changeset: e1b8cac288dbbc4aed67e938bd9e6375b4468742
Author: Harikrishnan Raja <harikrishnan.raja <at> openbravo.com>
Date: Wed Jul 29 13:19:22 2009 +0530
URL: http://code.openbravo.com/erp/stable/2.40/rev/e1b8cac288dbbc4aed67e938bd9e6375b4468742 [^]

Fixed issue 9951: create vat register process does not include invoices with tax date equals to \"Ending Date\" in tab \"Tax payment-> header\"

---
M src/org/openbravo/erpCommon/ad_actionButton/CreateVatRegisters.java
M src/org/openbravo/erpCommon/ad_actionButton/CreateVatRegisters_data.xsql
---
(0018740)
sureshbabu (reporter)
2009-07-31 08:09

Tested working fine

- Issue History
Date Modified Username Field Change
2009-07-19 16:30 psarobe Type defect => backport
2009-07-19 16:30 psarobe fix_in_branch => 2.40
2009-07-20 09:02 rafaroda Assigned To rafaroda => sathiyan
2009-07-28 06:52 pjuvara Target Version => 2.50MP4
2009-07-29 10:14 hgbot Checkin
2009-07-29 10:14 hgbot Note Added: 0018676
2009-07-29 10:14 hgbot Status scheduled => resolved
2009-07-29 10:14 hgbot Resolution open => fixed
2009-07-29 10:14 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/stable/2.40/rev/e1b8cac288dbbc4aed67e938bd9e6375b4468742 [^]
2009-07-31 08:09 sureshbabu Status resolved => closed
2009-07-31 08:09 sureshbabu Note Added: 0018740
2009-07-31 08:09 sureshbabu Fixed in Version => 2.40MP8


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker