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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0013126
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Localization Pack: Spain] AEAT 349criticalalways2010-04-26 18:502010-04-29 16:17
ReporterpsanjuanView Statuspublic 
Assigned Tovmromanos 
PriorityimmediateResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision8a1864b78acd
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabaseOracleJava version1.6
OS VersionUbuntu 8.04.1Database version11.1.0.6.0Ant version1.7.0
Product VersionSCM revision 
Regression date
Regression introduced by commit
Regression level
Review Assigned To
Regression introduced in release
Summary

0013126: 349 2010 new Req - show an error

Description349 2010 new Req - show below error

Invalid string length for parameter null
-46 string's length is greater than the expected final length 2
Steps To Reproduce    * Go to Sales Management // Transactions // Sales Invoice and create a negative invoice
    * Document Type = AR Invoice
    * Dated on = October 2010
    * BP UE Customer Products A
    * Go to Lines and enter below lines:
    * Line 10 - Product A - Invoiced Quantity = -5 - Net Unit Price =250 - Line Net Amount = -1250 - Tax =Entregas Intracomunitarias 16% - Key E
    * Line 20 - Service B - Invoiced Quantity = -5 - Net Unit Price = 750 - Line Net Amount = -3750 - Tax =Servicios Prestados UE7% - Key S
    * Go back to Header.
    * Complete and Post


Go to Financial Management // Accounting // Analysis Tools // Tax Report Launcher and run Modelo 349 Mensual v 2010 for Org349

Above error is shown.

Proposed SolutionAbove error is not shown and below transactions are captured in the 349 tax report

    * Go to Financial Management // Accounting // Analysis Tools // Tax Report Launcher
    * Select organization = Org 349
    * Report = Modelo 349 Mensual v2010
    * Period = Oct-10
    * Press Input Parameters
    * Enter below input
    * Name = Oct-2010v9(negative)
    * 1 transactions for "UE Customer Products A" - Tax key E = 18776.81 (-1250) = 17526.81
    * 1 transactions for "UE Customer Products A" - Tax key S = 1301.54 (-3750) = -2448.46
TagsNo tags attached.
Attached Filespng file icon error_lenght.png [^] (49,874 bytes) 2010-04-26 19:04

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0026787)
vmromanos (manager)
2010-04-28 19:25

Reproducible when you have more returns of goods (or services) than the invoiced amount.

This situation is very strange and, in this case, the application should raise an error.
(0026790)
hgbot (developer)
2010-04-28 19:48

Repository: erp/pmods/org.openbravo.module.aeat349.es
Changeset: 8a1864b78acd3e702f3ad975902d38e9981c394d
Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com>
Date: Wed Apr 28 19:28:13 2010 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.module.aeat349.es/rev/8a1864b78acd3e702f3ad975902d38e9981c394d [^]

Fixed bug 13126: checks negative amounts

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M src-db/database/sourcedata/AD_MODULE.xml
M src/org/openbravo/module/aeat349/es/AEAT3492010Report.java
---

- Issue History
Date Modified Username Field Change
2010-04-26 18:50 psanjuan New Issue
2010-04-26 18:50 psanjuan Assigned To => vmromanos
2010-04-26 19:03 psanjuan Steps to Reproduce Updated View Revisions
2010-04-26 19:04 psanjuan File Added: error_lenght.png
2010-04-28 19:25 vmromanos Status new => scheduled
2010-04-28 19:25 vmromanos Note Added: 0026787
2010-04-28 19:25 vmromanos fix_in_branch => pi
2010-04-28 19:48 hgbot Checkin
2010-04-28 19:48 hgbot Note Added: 0026790
2010-04-28 19:48 hgbot Status scheduled => resolved
2010-04-28 19:48 hgbot Resolution open => fixed
2010-04-28 19:48 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.module.aeat349.es/rev/8a1864b78acd3e702f3ad975902d38e9981c394d [^]
2010-04-29 16:17 psanjuan Status resolved => closed
2010-04-29 16:17 psanjuan fix_in_branch pi =>


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker