Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0020399 | Openbravo ERP | 09. Financial management | public | 2012-05-03 12:30 | 2012-05-30 09:10 |
Reporter | xabiermerino | ||||
Assigned To | ioritzCia | ||||
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | 3.0MP10.1 | ||||
Target Version | 3.0MP12 | Fixed in Version | |||
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 | ||||
Proposed Solution | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
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 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|