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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0038623
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 07. Sales managementminoralways2018-05-24 18:112019-08-21 16:23
ReporterngarciaView Statuspublic 
Assigned Tocollazoandy4 
PriorityhighResolutionopenFixed in Version
StatusscheduledFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0038623: Cannot void an invoice included in a processed Tax Payment

DescriptionCannot void an invoice included in a processed Tax Payment. It should not be possible to reactivate them but they should be voided as a new invoice is created that could then be included in a new Tax Payment
Steps To ReproduceAs group admin role:
   Create a Tax Register Type
   Set it as Sales Transaction
   Add a Line to it:
      Tax: Entregas IVA 21%
      Document Type: AR Invoice
   Create a Sales Invoice
   Add a product and select Entregas IVA 21% tax rate
   Complete it

   Create a record in Tax Payment window for invoice's organization, business partner, currency and dates
   Select Generate Payment
   Create Vat Registers and Process

   Return to the Sales Invoice and try to void it
   Check the following message is shown:
      "Iinvoice registered in a VAT Register"
   
   
Proposed SolutionRemove the 'VO' option from the condition in c_invoice_post function in which the '20615' message is raised
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0107136)
psanjuan (manager)
2018-10-03 12:43
edited on: 2018-10-04 10:57

To reproduce this issue it is also required to configure a Purchase Tax Register Type associated to a tax rate such as Adqusiciones IVA 21%, for document type AP Invoice and Reverse Puchase Invoice.

Sales Tax Register needs to be associated to AR Invoice and Reverse Sales Invoice document types.

Currently at the time of voiding a sales invoice there is no way to introduce the date of the reverse sales invoice. That date should not be within Tax Payment Period.

There is a workaround that is to unprocess the tax payment.

(0114112)
collazoandy4 (developer)
2019-08-21 16:23

Test Plan
  Go to Tax Registry Type window and create a new record:
    Register Name: SalesRegisterType
    Sales Transaction: T
    Add a Line to it:
      Tax: Entregas IVA 21%
      Document Type: AR Invoice
    Create another Tax Register Type Header:
      Register Name: PurchaseRegisterType
      Sales Transaction: T
      Add a Line to it:
        Tax: Adquisiciones IVA 21% - IVA Normal
        Document Type: AP Invoice
  Go to Sales Invoice and create a new record:
    Business Partner: Alimentos y Supermercados, S.A
    Invoice Date: 19-08-2018
    Accounting Date: 19-08-2018
      Create a new Line record:
        Product: Agua sin Gas 1L
        Tax: Entregas IVA 21%
    Complete and Post the record
  Go to Purchase Invoice and create a new record:
    Business Partner: Bebidas Alegres, S.L.
    Invoice Date: 19-08-2018
    Accounting Date: 19-08-2018
    Create a new record in Lines tab:
      Product: Cerveza Ale 0,5L
      Tax: Adquisiciones IVA 21%
  Go to Tax Payment window and create a new record:
    Name: Tax Payment
    Business Partner: Alimentos y Supermercados, S.A
    Starting Date: 01-08-2018
    Ending Date: 31-08-2018
    Clic on Vat Registers button
    Clic on Process button
  Go to the previous invoice void it and check the process ends without errors

- Issue History
Date Modified Username Field Change
2018-05-24 18:11 ngarcia New Issue
2018-05-24 18:11 ngarcia Assigned To => Triage Finance
2018-05-24 18:11 ngarcia Modules => Core
2018-05-24 18:11 ngarcia Triggers an Emergency Pack => No
2018-05-24 18:13 ngarcia Issue Monitored: networkb
2018-05-24 18:15 ngarcia Proposed Solution updated
2018-07-25 17:34 collazoandy4 Assigned To Triage Finance => collazoandy4
2018-10-03 12:43 psanjuan Note Added: 0107136
2018-10-04 10:57 psanjuan Note Edited: 0107136 View Revisions
2019-08-17 07:35 collazoandy4 Status new => scheduled
2019-08-21 16:23 collazoandy4 Note Added: 0114112


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker