Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0012026Openbravo ERP05. Production managementpublic2010-01-18 13:562010-03-09 12:23
networkb 
adrianromero 
urgentminoralways
closedfixed 
5
2.40MP11 
2.40MP152.40MP13 
OBPS
Core
No
0012026: Error when processing Internal Consumption with more than one line
If you define an Internal Consumption with more than one line, when you try to Process it you will get the following error:
      
Error:
This record cannot be deleted because it is associated with other existing elements. Please see Linked Items
    
1. Production Management || Transactions || Internal Consumption || Header : create new record
2. Production Management || Transactions || Internal Consumption || Header >> Lines : create 2 lines for the internal consumption
3. Back to the Header and try to Process it. You will get the error.

[Also, error obtained is not the proper one because if you execute PL directly in database you get this other error:

@ERROR=ORA-02291: restricción de integridad (TAD_TEGIKMAITE.M_INTL_CONSUMP_MTRANSACTION) violada - clave principal no encontrada
 ]
No tags attached.
blocks defect 00119952.40MP15 closed rafaroda Error when processing Internal Consumption with more than one line 
Issue History
2010-01-21 13:04rafarodaTypedefect => backport
2010-01-21 13:04rafarodafix_in_branch => 2.40
2010-02-11 11:07rafarodaAssigned Torafaroda => adrianromero
2010-03-02 08:17hgbotCheckin
2010-03-02 08:17hgbotNote Added: 0024925
2010-03-02 08:17hgbotStatusscheduled => resolved
2010-03-02 08:17hgbotResolutionopen => fixed
2010-03-02 08:17hgbotFixed in SCM revision => http://code.openbravo.com/erp/stable/2.40/rev/3b8ad322b832973f3e7f34577248fea7b11bda9d [^]
2010-03-02 09:26harikrishnanNote Added: 0024931
2010-03-09 12:23arunkumarNote Added: 0025170
2010-03-09 12:23arunkumarStatusresolved => closed
2010-03-09 12:23arunkumarFixed in Version => 2.40MP13

Notes
(0024925)
hgbot   
2010-03-02 08:17   
Repository: erp/stable/2.40
Changeset: 3b8ad322b832973f3e7f34577248fea7b11bda9d
Author: Sivaraman Rajagopal <sivaraman.rajagopal <at> openbravo.com>
Date: Tue Mar 02 12:50:21 2010 +0530
URL: http://code.openbravo.com/erp/stable/2.40/rev/3b8ad322b832973f3e7f34577248fea7b11bda9d [^]

Fixes issue 12026: Error when processing Internal Consumption with more than one line

---
M src-db/database/model/tables/M_TRANSACTION.xml
---
(0024931)
harikrishnan   
2010-03-02 09:26   
Steps to reproduce:

1. Log on to openbravo

2. Production Management || Transactions || Internal Consumption || Header
: create new record

3. Production Management || Transactions || Internal Consumption || Header
 Lines : create 2 lines for the internal consumption

4. Back to the Header and Process it

Regards

Siva.
(0025170)
arunkumar   
2010-03-09 12:23   
Tested & Working fine