Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0022307 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 08. Project and service management | minor | always | 2012-11-14 17:47 | 2013-02-20 04:50 | |||
Reporter | ngarcia | View Status | public | |||||
Assigned To | ngarcia | |||||||
Priority | high | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | f721f5a384cb | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | ||||||||
OBNetwork customer | OBPS | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | 18701 | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0022307: Create AP Expense Invoices process creates a PI with wrong transaction document | |||||||
Description | Create AP Expense Invoices process creates a PI with wrong transaction document | |||||||
Steps To Reproduce | As group admin role: Go to Document Type window and check that there is more than one active record for the same organization and Document Category "AP Invoice": Reversed Purchase Invoice AP Invoice Configure an employee BP (for example, Javier Martin) as a Vendor and configure the following parameters: Purchase Pricelist: for example Otros servicios PO Payment Method PO Payment Terms PO Financial Account Create a new product: Product Type: Expense type Add a price for the same price list defined before Create a new Expense sheet for that employee, add a line with the created product and process it Run the Create AP Expense Invoices process for that employee Go to the Purchase Invoice window and notice that a Reversed Purchase Invoice has been created and the invoiced quantity values of the lines are positive The PI could not be completed | |||||||
Proposed Solution | In ExpenseAPInvoice_data.xsql the cDoctypeTarget method calls the AD_GET_DOCTYPE_EXPENSES function which orders the obtained records by the isexpense column. The associated field (AFCAC02426F149D0B1F71C6923057A5E) was hidden in the following commit: https://code.openbravo.com/erp/devel/pi/rev/102717e18418 [^] | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0056433) hgbot (developer) 2013-02-14 11:01 |
Repository: erp/devel/pi Changeset: f721f5a384cbacc2d49503aa97971666a325c3ef Author: Naiara Garcia <naiara.garcia <at> openbravo.com> Date: Wed Feb 13 12:47:22 2013 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/f721f5a384cbacc2d49503aa97971666a325c3ef [^] Fixed issue 22307: Create AP Expense Invoices process creates a PI with wrong transaction document --- M src-db/database/model/functions/AD_GET_DOCTYPE_EXPENSES.xml --- |
(0056493) ioritzCia (viewer) 2013-02-15 15:04 |
Verified |
(0056554) ngarcia (viewer) 2013-02-19 23:11 |
fixed in 3.0MP21 |
(0056597) hudsonbot (viewer) 2013-02-20 04:50 |
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/d828167a9e83 [^] Maturity status: Test |
![]() |
|||
Date Modified | Username | Field | Change |
2012-11-14 17:47 | ngarcia | New Issue | |
2012-11-14 17:47 | ngarcia | Assigned To | => dmiguelez |
2012-11-14 17:47 | ngarcia | Modules | => Core |
2012-11-14 17:47 | ngarcia | OBNetwork customer | => No |
2012-11-14 17:53 | ngarcia | Proposed Solution updated | |
2012-12-27 10:44 | ngarcia | OBNetwork customer | No => Yes |
2012-12-27 10:44 | ngarcia | Support ticket | => 18701 |
2012-12-27 10:44 | ngarcia | Resolution time | => 1363129200 |
2012-12-27 10:44 | ngarcia | Triggers an Emergency Pack | => No |
2012-12-27 10:44 | ngarcia | Issue Monitored: networkb | |
2012-12-27 10:44 | ngarcia | Assigned To | dmiguelez => jonalegriaesarte |
2013-01-21 10:18 | jonalegriaesarte | Assigned To | jonalegriaesarte => ngarcia |
2013-02-14 11:01 | hgbot | Checkin | |
2013-02-14 11:01 | hgbot | Note Added: 0056433 | |
2013-02-14 11:01 | hgbot | Status | new => resolved |
2013-02-14 11:01 | hgbot | Resolution | open => fixed |
2013-02-14 11:01 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/f721f5a384cbacc2d49503aa97971666a325c3ef [^] |
2013-02-15 15:04 | ioritzCia | Note Added: 0056493 | |
2013-02-15 15:04 | ioritzCia | Status | resolved => closed |
2013-02-19 23:11 | ngarcia | Note Added: 0056554 | |
2013-02-20 04:50 | hudsonbot | Checkin | |
2013-02-20 04:50 | hudsonbot | Note Added: 0056597 |
Copyright © 2000 - 2009 MantisBT Group |