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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0014022
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Localization Pack: Spain] Invoice Register Bookmajoralways2010-07-21 13:402010-08-20 09:39
ReporternetworkbView Statuspublic 
Assigned Tovmromanos 
PriorityimmediateResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisiondb0be7d3fd60
ProjectionnoneETAnoneTarget Version1.2.2
OSLinux 32 bitDatabasePostgreSQLJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Regression date
Regression introduced by commit
Regression level
Review Assigned To
Regression introduced in release
Summary

0014022: There is no order when printing Invoice Register Book

DescriptionThere is no order when printing Invoice Register Book. The report doesn't order by date neither document number.

It seems the order is stablished by seqno, but this number is not filled when runing the create process.

The order is very important specially on Sales invoice register book since it is a spanish legal requirement.
Steps To ReproduceGo to Financial Management || Accounting || Setup || Invoice Register Book Setup || Invoice Register Book
-Create an IRB for issued invoices
-Add the tax rate entregas 16%
- Create 4 Sales invoice with one line linked to entregas 16% VAT
- Go to Financial Management || Accounting || Analysis Tools || Invoice Register Book || Header
- Run process Create
- Notice that 4 lines are created without Register number
- Go to the header and print
TagsNo tags attached.
Attached Filespdf file icon IssuedInvoicesRegisterBook.jrxml-1.pdf [^] (2,311 bytes) 2010-07-21 13:40

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0030079)
vmromanos (manager)
2010-08-17 17:10

The Register Number is created when the book is processed (marked as final). As you said, the report is ordered by this sequence number.

A book can be in draft mode, so no Register Number is available, and in final mode (with a register number). The law forces the companies to keep a register/issue book in which all received/issued invoices or equivalent documents have to be **correlatively** numbered. So, the company should mark the book as final for properly fulfilling the law. Once the book is in final mode, it will be printed following the proper order (Register no.).


The fix of this bug will just consists on printing the books ordered by document date when no Register Number is available (i.e. in draft mode)
(0030080)
hgbot (developer)
2010-08-17 17:46

Repository: erp/pmods/org.openbravo.module.invoicesregisterbook
Changeset: db0be7d3fd604350c1a2ba6b04542d931b54eb14
Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com>
Date: Tue Aug 17 17:47:41 2010 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.module.invoicesregisterbook/rev/db0be7d3fd604350c1a2ba6b04542d931b54eb14 [^]

Fixed bug 14022: draft books are ordered by document date

---
M src-db/database/sourcedata/AD_MODULE.xml
M src/org/openbravo/module/invoicesregisterbook/obirb_reports/IssuedInvoicesRegisterBook.jrxml
M src/org/openbravo/module/invoicesregisterbook/obirb_reports/ReceivedInvoicesRegisterBook.jrxml
---
(0030172)
psanjuan (manager)
2010-08-20 09:39

BUG FIXED.
PLEASE PUBLISH A NEW VERSION OF THE MODULE.

- Issue History
Date Modified Username Field Change
2010-07-21 13:40 networkb New Issue
2010-07-21 13:40 networkb Assigned To => vmromanos
2010-07-21 13:40 networkb File Added: IssuedInvoicesRegisterBook.jrxml-1.pdf
2010-08-17 15:19 networkb Priority high => immediate
2010-08-17 17:10 vmromanos Status new => scheduled
2010-08-17 17:10 vmromanos Note Added: 0030079
2010-08-17 17:10 vmromanos fix_in_branch => pi
2010-08-17 17:46 hgbot Checkin
2010-08-17 17:46 hgbot Note Added: 0030080
2010-08-17 17:46 hgbot Status scheduled => resolved
2010-08-17 17:46 hgbot Resolution open => fixed
2010-08-17 17:46 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.module.invoicesregisterbook/rev/db0be7d3fd604350c1a2ba6b04542d931b54eb14 [^]
2010-08-20 09:39 psanjuan Note Added: 0030172
2010-08-20 09:39 psanjuan Status resolved => closed
2010-08-20 09:39 psanjuan fix_in_branch pi =>


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker