Openbravo Issue Tracking System - Modules
View Issue Details
0026717ModulesCash VAT Managementpublic2014-05-28 12:182014-08-08 18:52
maite 
vmromanos 
urgentmajoralways
closedfixed 
5
 
 
0026717: Error when trying to process "return from customer" referencing a shipment related with "cash vat" sales order
Error when trying to process "return from customer" referencing a shipment related with "cash vat" sales order
0. Install and apply "cash vat taxes" module (http://wiki.openbravo.com/wiki/Projects/Cash_VAT_spanishtaxes [^])
1. Configure organization as "cash vat"
2. Register Sales order for that organization and any BP. Ensure that "cash vat" flag in sales order header is checked.
3. Add any line and ensure that cash vat tax is selected. Process Order
4. Register Goods Shipment for same org and BP. Run "Create Lines from" selecting previous order. Process shipment
5. Register new "Return From Customer" header for same org and BP. Run "Pick/Edit lines" and select previous shipment. Try to process document and following error will be obtained "Any of the tax rates in the document doesn't match the Cash VAT configured at the header"

"Return to vendor" flow should also be reviewed
No tags attached.
related to defect 0026918 closed vmromanos Cash VAT error when creating orders automatically 
Issue History
2014-05-28 12:18maiteNew Issue
2014-05-28 12:18maiteAssigned To => dmiguelez
2014-05-28 12:18maiteModules => Core
2014-05-28 12:18maiteTriggers an Emergency Pack => No
2014-05-28 12:19maiteAssigned Todmiguelez => jonalegriaesarte
2014-05-28 12:31maiteIssue Monitored: networkb
2014-05-28 19:11maiteResolution time => 1404165600
2014-06-04 12:44jonalegriaesarteAssigned Tojonalegriaesarte => pramakrishnan
2014-06-12 13:55psanjuanProjectOpenbravo ERP => Modules
2014-06-12 13:55psanjuanCategory07. Sales management => Cash VAT Management
2014-06-23 15:27ngarciaRelationship addedrelated to 0026918
2014-07-02 12:18vmromanosStatusnew => scheduled
2014-07-02 12:18vmromanosAssigned Topramakrishnan => vmromanos
2014-07-02 12:18vmromanosfix_in_branch => pi
2014-07-04 08:47hgbotCheckin
2014-07-04 08:47hgbotNote Added: 0068537
2014-07-04 08:47hgbotStatusscheduled => resolved
2014-07-04 08:47hgbotResolutionopen => fixed
2014-07-04 08:47hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/52159cbc5ef4b283513e9acc996fa434a04a0616 [^]
2014-07-09 13:04psanjuanNote Added: 0068567
2014-07-09 13:04psanjuanStatusresolved => closed
2014-07-09 13:04psanjuanfix_in_branchpi =>
2014-08-08 18:52hudsonbotCheckin
2014-08-08 18:52hudsonbotNote Added: 0069137

Notes
(0068537)
hgbot   
2014-07-04 08:47   
Repository: erp/devel/pi
Changeset: 52159cbc5ef4b283513e9acc996fa434a04a0616
Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com>
Date: Thu Jul 03 13:45:02 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/52159cbc5ef4b283513e9acc996fa434a04a0616 [^]

Fixed bug 26717 Fixed bug 26918: Cash VAT error when creating orders automatically

Set Order Header Cash VAT flag automatically based on the order line tax definition through the C_ORDERLINE_TRG trigger (as we do for invoices).
This way we force any process that creates Orders to properly set the C_Order.IsCashVAT

---
M src-db/database/model/triggers/C_ORDERLINE_TRG.xml
---
(0068567)
psanjuan   
2014-07-09 13:04   
fixed and working
(0069137)
hudsonbot   
2014-08-08 18:52   
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/4450016dee64 [^]
Maturity status: Test