Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0020399 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 09. Financial management | major | always | 2012-05-03 12:30 | 2012-05-30 09:10 | |||
Reporter | xabiermerino | View Status | public | |||||
Assigned To | ioritzCia | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | pi | Fixed in SCM revision | ceacf7881e57 | |||
Projection | none | ETA | none | Target Version | 3.0MP12 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | 3.0MP10.1 | SCM revision | ||||||
Merge Request Status | ||||||||
Review Assigned To | ||||||||
OBNetwork customer | OBPS | |||||||
Web browser | ||||||||
Modules | Advanced Payables and Receivables Mngmt | |||||||
Support ticket | 15290 | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0020399: It is not possible delete a Payment depending its creation | |||||||
Description | You have a Payment method with automatic execution type and the field deferred unchecked. IE: You create a POS Order with this payment method. A PL creates and completes the invoice, this is why it is not possible execute it. In this case a register is saved in the table aprm_pending_paymentinvoice. Then, you reactivate the Payment but it is not possible delete it. This is the DB error: ERROR: update or delete on table "fin_payment" violates foreign key constraint "aprm_pending_payinv_payment" on table "aprm_pending_paymentinvoice" In other cases that the payment is created and executed automatically you are able to undo the steps (you can eliminate the transaction created, reactivate the payment and delete it) | |||||||
Steps To Reproduce | - As admin create a payment method: ---> Payment In: * Automatic receipt checked * Automatic deposit checked * Execution type: automatic * Execution Process: Simple execution process * Deferred NOT checked - Create a POS Order with this payment methodm and book it - Go to the invoice created and navigate to the payment related - Reactivate it - Realize that you are not able to delete it - This error apeears: This record cannot be deleted because it is associated with other existing elements. Please see Linked Items | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0049366) hgbot (developer) 2012-05-28 13:41 |
Repository: erp/devel/pi Changeset: ceacf7881e5719f51399fd854e872f5032a55729 Author: Ioritz Cia <ioritz.cia <at> openbravo.com> Date: Mon May 21 17:16:25 2012 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/ceacf7881e5719f51399fd854e872f5032a55729 [^] Fixes issue 20399: It is not possible delete a Payment depending its creation. --- M modules/org.openbravo.advpaymentmngt/src-db/database/model/tables/APRM_PENDING_PAYMENTINVOICE.xml --- |
(0049392) hudsonbot (viewer) 2012-05-29 03:27 |
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/ced2fdfb9aee [^] Maturity status: Test |
(0049455) xabiermerino (viewer) 2012-05-30 09:10 |
verified |
![]() |
|||
Date Modified | Username | Field | Change |
2012-05-03 12:30 | xabiermerino | New Issue | |
2012-05-03 12:30 | xabiermerino | Assigned To | => vmromanos |
2012-05-03 12:30 | xabiermerino | Modules | => Advanced Payables and Receivables Mngmt |
2012-05-03 12:30 | xabiermerino | OBNetwork customer | => Yes |
2012-05-03 12:30 | xabiermerino | Support ticket | => 15290 |
2012-05-03 12:30 | xabiermerino | Resolution time | => 1339020000 |
2012-05-03 12:30 | xabiermerino | Issue Monitored: networkb | |
2012-05-03 12:51 | mirurita | Assigned To | vmromanos => jonalegriaesarte |
2012-05-10 17:11 | ioritzCia | Assigned To | jonalegriaesarte => ioritzCia |
2012-05-21 18:13 | ioritzCia | Status | new => scheduled |
2012-05-21 18:13 | ioritzCia | fix_in_branch | => pi |
2012-05-28 13:41 | hgbot | Checkin | |
2012-05-28 13:41 | hgbot | Note Added: 0049366 | |
2012-05-28 13:41 | hgbot | Status | scheduled => resolved |
2012-05-28 13:41 | hgbot | Resolution | open => fixed |
2012-05-28 13:41 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/ceacf7881e5719f51399fd854e872f5032a55729 [^] |
2012-05-29 03:27 | hudsonbot | Checkin | |
2012-05-29 03:27 | hudsonbot | Note Added: 0049392 | |
2012-05-30 09:10 | xabiermerino | Note Added: 0049455 | |
2012-05-30 09:10 | xabiermerino | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |