Openbravo Issue Tracking System - Modules | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0040556 | Modules | Remittance | public | 2019-04-09 19:09 | 2019-05-02 11:35 |
Reporter | ngarcia | ||||
Assigned To | nonofrancisco | ||||
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | ||||
Merge Request Status | |||||
Regression date | |||||
Regression introduced by commit | |||||
Regression level | |||||
Review Assigned To | Sandrahuguet | ||||
Support ticket | |||||
OBNetwork customer | |||||
Regression introduced in release | |||||
Summary | 0040556: Cannot reactivate a remittance if a invoice is also included on a remittance in draft status | ||||
Description | Cannot reactivate a remittance if a invoice is also included on a remittance in draft status. One of the following error messages is shown: 1) ERROR: update or delete on table "fin_payment_scheduledetail" violates foreign key constraint "rem_remline_finpayschdet" on table "rem_remittanceline" Detail: Key (fin_payment_scheduledetail_id)=(...) is still referenced from table "rem_remittanceline". 2) javax.persistence.PersistenceException: org.hibernate.exception.ConstraintViolationException: could not execute batch | ||||
Steps To Reproduce | As group admin role: Create a purchase order Create a purchase invoice from it Create a remittance Set an expected data higher than the invoice's due date Select Order or Invoices: Transaction Type: Payment Out Document: Order and Invoices Select the line related with previously created documents and pay it partially (do not pay the whole amount) Process the remittance Create a new remittance Set an expected data higher than the invoice's due date Select Order or Invoices: Transaction Type: Payment Out Document: Order and Invoices Select the line related with previously created documents and pay the pending amount Do not process the remittance Return to the first remittance and try to reactivate it. You will get the following error: ERROR: update or delete on table "fin_payment_scheduledetail" violates foreign key constraint "rem_remline_finpayschdet" on table "rem_remittanceline" Detail: Key (fin_payment_scheduledetail_id)=(...) is still referenced from table "rem_remittanceline". | ||||
Proposed Solution | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2019-04-09 19:09 | ngarcia | New Issue | |||
2019-04-09 19:09 | ngarcia | Assigned To | => Triage Finance | ||
2019-04-09 19:09 | ngarcia | Resolution time | => 1556575200 | ||
2019-04-09 19:09 | ngarcia | Issue Monitored: networkb | |||
2019-04-10 08:41 | Sandrahuguet | Assigned To | Triage Finance => nonofrancisco | ||
2019-04-11 10:43 | miguelmartinez | Issue Monitored: miguelmartinez | |||
2019-04-15 18:12 | nonofrancisco | Status | new => scheduled | ||
2019-04-24 17:58 | nonofrancisco | Note Added: 0111291 | |||
2019-04-24 17:59 | nonofrancisco | Note Edited: 0111291 | bug_revision_view_page.php?bugnote_id=0111291#r18669 | ||
2019-04-30 17:59 | nonofrancisco | Note Edited: 0111291 | bug_revision_view_page.php?bugnote_id=0111291#r18691 | ||
2019-05-02 11:34 | hgbot | Checkin | |||
2019-05-02 11:34 | hgbot | Note Added: 0111424 | |||
2019-05-02 11:34 | hgbot | Status | scheduled => resolved | ||
2019-05-02 11:34 | hgbot | Resolution | open => fixed | ||
2019-05-02 11:34 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/mods/org.openbravo.module.remittance/rev/210361ae4d4db4227df038490c6a39fd35ddc72e [^] | ||
2019-05-02 11:35 | Sandrahuguet | Review Assigned To | => Sandrahuguet | ||
2019-05-02 11:35 | Sandrahuguet | Note Added: 0111426 | |||
2019-05-02 11:35 | Sandrahuguet | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|