Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0020598Openbravo ERPZ. Otherspublic2012-05-24 10:452012-05-31 13:10
ioritzCia 
ioritzCia 
immediatecriticalalways
closedfixed 
20Ubuntu 10.04
 
 
Google Chrome
Advanced Payables and Receivables Mngmt
No
0020598: Issue 15290 causes an API fail.
Due to this issue,

- https://issues.openbravo.com/view.php?id=20399 [^]

I have to make an api change. I have pushed the change to try and this is the failure:

- http://builds.openbravo.com/view/try/job/try-api/835/console [^]

The change is the following:

APRM_PENDING_PAYINV_PAYMENT foreign key of table APRM_PENDING_PAYMENTINVOCE changes from on delete do nothing to on delete cascade.

The change is needed due to the following reason:

This foreign key defines a relation between FIN_PAYMENT and APRM_PENDING_PAYMENTINVOCE. It is used to advise the system that automatically created payments need to be executed. But this makes the system unable to delete one of this payments because there is a foreign key defined.

The risk of this api change is very low. In fact, we have not been able to identify any risk.
none
No tags attached.
Issue History
2012-05-24 10:45ioritzCiaNew Issue
2012-05-24 10:45ioritzCiaAssigned To => iciordia
2012-05-24 10:45ioritzCiaWeb browser => Google Chrome
2012-05-24 10:45ioritzCiaModules => Advanced Payables and Receivables Mngmt
2012-05-24 10:45ioritzCiaResolution time => 1339020000
2012-05-28 09:17ioritzCiaStatusnew => feedback
2012-05-28 13:32iciordiaNote Added: 0049365
2012-05-28 13:32iciordiaAssigned Toiciordia => ioritzCia
2012-05-28 13:43hgbotCheckin
2012-05-28 13:43hgbotNote Added: 0049368
2012-05-28 13:43hgbotStatusfeedback => resolved
2012-05-28 13:43hgbotResolutionopen => fixed
2012-05-28 13:43hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/api-checks/rev/d321f8c1371a55dab319205043183d2aca9a00e1 [^]
2012-05-31 13:10ioritzCiaStatusresolved => closed

Notes
(0049365)
iciordia   
2012-05-28 13:32   
Approved.

Ismael
(0049368)
hgbot   
2012-05-28 13:43   
Repository: erp/devel/api-checks
Changeset: d321f8c1371a55dab319205043183d2aca9a00e1
Author: Ioritz Cia <ioritz.cia <at> openbravo.com>
Date: Mon May 28 11:02:39 2012 +0200
URL: http://code.openbravo.com/erp/devel/api-checks/rev/d321f8c1371a55dab319205043183d2aca9a00e1 [^]

Fixes issue 20598: Issue 15290 causes an API fail.

---
M model/modules/org.openbravo.advpaymentmngt/src-db/database/model/tables/APRM_PENDING_PAYMENTINVOICE.xml
---