Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0017020Openbravo ERP09. Financial managementpublic2011-05-05 10:412011-06-07 17:10
xabiermerino 
dalsasua 
highminoralways
closedfixed 
5
3.0RC6 
3.0RC7 
Core
No
0017020: When process a Tax Payment, the 'Form of Payment' of the Settlement created is wrong
When process a Tax Payment, the 'Form of Payment' assigned in the manual settlement created is '**Transfer (ACH)'. This Form of Payment appears with ** because it is inactive.
- As Openbravo Admin go to Financial Management || Accounting || Setup || G/L Item
- Create a new record.
- Create an accountign record.
- Create a Sales Invoice:
    - BP: McGiver
    - Dates: 05-05-2011
    - Document type: AR Invoice
    - Tax: 16%
- Complete it and post it.
- Go to Financial Management || Receivables & Payables || Setup || Tax Register Type
- Create two records:
1.- Org: Main
  - Check 'Sales Transaction'
  - G/L Item: g/l item created
  - One Line: Tax: 16%; Document Type: AR Invoice
2.- Org: Main
  - NO Check 'Sales Transaction'
  - G/L Item: g/l item created
  - One Line: Tax: 16%; Document Type: AP Invoice
- Go to Financial Management || Receivables & Payables || Transactions || Tax Payment
- Create a new record:
  -BP: McGiver
  -Starting Date: 01-01-2011
  -Ending date: 31-12-2011
- Click 'Create Vat Registers'
- Process it
- Go to the settlement created
- Realize that the form payment assigned is '**Transfer (ACH)'
No tags attached.
blocks backport 00170212.50MP31 closed dalsasua When process a Tax Payment, the 'Form of Payment' of the Settlement created is wrong 
Issue History
2011-05-05 10:41xabiermerinoNew Issue
2011-05-05 10:41xabiermerinoAssigned To => dalsasua
2011-05-05 10:41xabiermerinoModules => Core
2011-05-05 10:43xabiermerinoIssue cloned0017021
2011-05-05 10:43xabiermerinoRelationship addedblocks 0017021
2011-05-05 10:46xabiermerinoStatusnew => closed
2011-05-05 10:46xabiermerinoResolutionopen => no change required
2011-05-05 11:27xabiermerinoNote Added: 0036385
2011-06-07 12:52hgbotCheckin
2011-06-07 12:52hgbotNote Added: 0038117
2011-06-07 12:52hgbotStatusclosed => resolved
2011-06-07 12:52hgbotResolutionno change required => fixed
2011-06-07 12:52hgbotFixed in SCM revision => http://code.openbravo.com/erp/stable/2.50/rev/bdab9a26c1ecdee168b8180660a4002f947c2253 [^]
2011-06-07 17:10xabiermerinoNote Added: 0038149
2011-06-07 17:10xabiermerinoStatusresolved => closed

Notes
(0036385)
xabiermerino   
2011-05-05 11:27   
In the C_taxpayment_post, this is the line incorrect:

v_paymentrule := 'T';

T is the value of the Transfer (ACH) (inactive)
(0038117)
hgbot   
2011-06-07 12:52   
Repository: erp/stable/2.50
Changeset: bdab9a26c1ecdee168b8180660a4002f947c2253
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Tue Jun 07 09:04:01 2011 +0200
URL: http://code.openbravo.com/erp/stable/2.50/rev/bdab9a26c1ecdee168b8180660a4002f947c2253 [^]

Fixes issue 17020: When process a Tax Payment, the 'Form of Payment' of the Settlement created is wrong

---
M src-db/database/model/functions/C_TAXPAYMENT_POST.xml
---
(0038149)
xabiermerino   
2011-06-07 17:10   
no change required