Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0018970Openbravo ERP03. Procurement managementpublic2011-11-03 18:372011-11-15 18:42
maite 
jonalegriaesarte 
urgentmajoralways
closedfixed 
5
 
2.50MP362.50MP36 
Core
No
0018970: Campaign accounting dimension is not properly carried when posting matched invoice
Campaign accounting dimension is not properly carried when posting matched invoice
1. Go to SmallBazaar US/A/Euro AccountingSchema and navigate to Acount Schema Element tab: create new record for "Campaign"
2. Execute ant compile.complete smartbuild to have this new dimension available
3. Create Goods Receipt for Main organization, Mcgiver business partner
4. Add line for hat- large and qty=5 and process Goods receipt
5. Define Cost=10 as "Manual" and "Permanent" for 01/01/2011 to 31/12/2011 for Hat product
6. Create Purchase Invoice header for Main organiaztion and Mcgiver business partner. Set Campaign=Estandard
7. Create Lines from and select created goods receipt. Process and Post invoice.
8. Go to Accounting Schema | Tables and set "ProcurementReceiptInvoiceMatch" table as ACTIVE
9. Go to associated Matched invoice and post
10. Go to Financial Management || Accounting || Analysis Tools || Accounting Transaction Details || Header: filter by document's date. In grid view you can easily verify that Invoice lines have "Campaign" dimension associated, but MatchInvoice lines don't.

[If you work with "Project" dimension instead of "Campaign" dimension, matched invoice lines show dimension properly]
No tags attached.
depends on defect 00190733.0MP6 closed jonalegriaesarte Campaign accounting dimension is not properly carried when posting matched invoice 
Issue History
2011-11-03 18:37maiteNew Issue
2011-11-03 18:37maiteAssigned To => jonalegriaesarte
2011-11-03 18:37maiteModules => Core
2011-11-03 18:39maiteIssue Monitored: networkb
2011-11-15 14:36jonalegriaesarteStatusnew => scheduled
2011-11-15 14:36jonalegriaesartefix_in_branch => pi
2011-11-15 14:36jonalegriaesarteTypedefect => backport
2011-11-15 14:36jonalegriaesartefix_in_branchpi =>
2011-11-15 14:44hgbotCheckin
2011-11-15 14:44hgbotNote Added: 0042835
2011-11-15 14:44hgbotStatusscheduled => resolved
2011-11-15 14:44hgbotResolutionopen => fixed
2011-11-15 14:44hgbotFixed in SCM revision => http://code.openbravo.com/erp/stable/2.50/rev/27920a54cb715bbee2bc6a1e7bc4842c9c9fdc5e [^]
2011-11-15 18:42maiteNote Added: 0042857
2011-11-15 18:42maiteStatusresolved => closed
2011-11-15 18:42maiteFixed in Version => 2.50MP36

Notes
(0042835)
hgbot   
2011-11-15 14:44   
Repository: erp/stable/2.50
Changeset: 27920a54cb715bbee2bc6a1e7bc4842c9c9fdc5e
Author: Jon Alegría <jon.alegria <at> openbravo.com>
Date: Tue Nov 15 14:44:16 2011 +0100
URL: http://code.openbravo.com/erp/stable/2.50/rev/27920a54cb715bbee2bc6a1e7bc4842c9c9fdc5e [^]

Fixes issue 0018970: Campaign accounting dimension is not properly carried
when posting matched invoice

---
M src/org/openbravo/erpCommon/ad_forms/DocMatchInv_data.xsql
---
(0042857)
maite   
2011-11-15 18:42   
verified