Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0023427Openbravo ERP04. Warehouse managementpublic2013-03-27 23:052013-04-04 13:03
jonalegriaesarte 
jonalegriaesarte 
normalminorhave not tried
closedfixed 
5
 
3.0MP223.0MP22 
egoitz
Core
No
0023427: Error when deactivating a locator
Error when deactivating a locator. The trigger is not properly set.
- Deactivate a locator
Change the trigger M_LOCATOR_TRG:

select count(*)
into v_count
from m_storage_detail
where m_locator_id = old.m_locator_id
and COALESCE(qtyonhand,0) <> '0'
or COALESCE(qtyorderonhand, 0) <> '0'
or COALESCE(preqtyonhand, 0) <> '0'
or COALESCE(preqtyorderonhand, 0) <> '0';

select count(*)
into v_count
from m_storage_detail
where m_locator_id = old.m_locator_id
and COALESCE(qtyonhand,0) <> 0
or COALESCE(qtyorderonhand, 0) <> 0
or COALESCE(preqtyonhand, 0) <> 0
or COALESCE(preqtyorderonhand, 0) <> 0;
No tags attached.
Issue History
2013-03-27 23:05jonalegriaesarteNew Issue
2013-03-27 23:05jonalegriaesarteAssigned To => jonalegriaesarte
2013-03-27 23:05jonalegriaesarteModules => Core
2013-03-27 23:05jonalegriaesarteTriggers an Emergency Pack => No
2013-03-27 23:11hgbotCheckin
2013-03-27 23:11hgbotNote Added: 0057516
2013-03-27 23:11hgbotStatusnew => resolved
2013-03-27 23:11hgbotResolutionopen => fixed
2013-03-27 23:11hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/5c1ad90975cfc21ec2418ed1682e492ef118cff7 [^]
2013-04-01 18:58hudsonbotCheckin
2013-04-01 18:58hudsonbotNote Added: 0057552
2013-04-04 13:03egoitzReview Assigned To => egoitz
2013-04-04 13:03egoitzStatusresolved => closed
2013-04-04 13:03egoitzFixed in Version => 3.0MP22

Notes
(0057516)
hgbot   
2013-03-27 23:11   
Repository: erp/devel/pi
Changeset: 5c1ad90975cfc21ec2418ed1682e492ef118cff7
Author: Jon Alegría <jon.alegria <at> openbravo.com>
Date: Wed Mar 27 23:41:36 2013 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/5c1ad90975cfc21ec2418ed1682e492ef118cff7 [^]

Fixes issue 0023427: Error when deactivating a locator

---
M src-db/database/model/triggers/M_LOCATOR_TRG.xml
---
(0057552)
hudsonbot   
2013-04-01 18:58   
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/80299f4b6436 [^]

Maturity status: Test