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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0025721
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Localization Pack: Spain] AEAT 349majoralways2014-02-13 11:522014-05-07 18:12
ReportermaiteView Statuspublic 
Assigned Tocaristu 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisionbf3f4a3acfda
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Regression date
Regression introduced by commit
Regression level
Review Assigned To
Regression introduced in release
Summary

0025721: Should be possible to set "349 corrective" flag in Manual Reversed Invoices already processed

DescriptionCurrently, when an invoice is voided using "Void" process you can access its Reversed Invoice tab and define it as "349 corrective". However, if your invoice was manually voided (not using "Void" process but manually creating new Reversed Sales Invoice referencing your original invoice) when you try to set is as "349 corrective" you receive "Posted/processed error"
Steps To Reproduce1. Register new Reversed Sales Invoice. Add any negative line.
2. Access "Reversed Invoice" tab and define any invoice as referenced.
3. Process invoice
4. Access to Reversed Invoice tab again an try to set is as "349 corrective". You will receive error.
Proposed SolutionProblem is that C_INVOICE_REVERSE_TRG (core trigger) only allows to modify processed invoices in VO status:

IF ((v_isposted='Y') OR (v_isprocessed='Y' AND v_docstatus<>'VO')) THEN
     RAISE_APPLICATION_ERROR(-20000, '@20501@') ;
END IF;

However, it is necessary to be able to modify 349 fields of Reversed Invoices manually registered
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0066777)
hgbot (developer)
2014-05-02 08:32

Repository: erp/devel/pi
Changeset: bf3f4a3acfdaff953b33a20c34609a8a54b25423
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Fri May 02 08:31:26 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/bf3f4a3acfdaff953b33a20c34609a8a54b25423 [^]

fixes issue 25721: Should be possible to set 349 corrective flag
 in Manual Reversed Invoices already processed

---
M src-db/database/model/triggers/C_INVOICE_REVERSE_TRG.xml
---
(0066790)
maite (developer)
2014-05-02 13:25

verified
(0066991)
hudsonbot (developer)
2014-05-07 18:12

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/02ca2648bcdc [^]
Maturity status: Test

- Issue History
Date Modified Username Field Change
2014-02-13 11:52 maite New Issue
2014-02-13 11:52 maite Assigned To => jonalegriaesarte
2014-02-13 12:07 maite Issue Monitored: networkb
2014-03-12 10:31 jonalegriaesarte Resolution time => 1395270000
2014-03-31 16:41 jonalegriaesarte Resolution time 1395270000 => 1396476000
2014-04-02 14:50 jonalegriaesarte Assigned To jonalegriaesarte => caristu
2014-05-02 08:32 hgbot Checkin
2014-05-02 08:32 hgbot Note Added: 0066777
2014-05-02 08:32 hgbot Status new => resolved
2014-05-02 08:32 hgbot Resolution open => fixed
2014-05-02 08:32 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/bf3f4a3acfdaff953b33a20c34609a8a54b25423 [^]
2014-05-02 13:25 maite Note Added: 0066790
2014-05-02 13:25 maite Status resolved => closed
2014-05-07 18:12 hudsonbot Checkin
2014-05-07 18:12 hudsonbot Note Added: 0066991


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker