Openbravo Issue Tracking System - Retail Modules
View Issue Details
0021207Retail ModulesWeb POSpublic2012-07-25 14:242012-09-25 13:09
eduardo_Argal 
marvintm 
urgentcriticalsometimes
closedfixed 
5
 
 
No
0021207: Some transactions created by POS are using organizations which do not allow transactions
Some transactions created by POS are using organizations which do not allow transactions.
Costing engine was failing due to a M_transaction record which was refering an organizations which is not transactions allowed
There are not concrete steps to reproduce it. This error can be due to wrong demo data or just due to a bug in POS when entering order, shipment, invoice and transaction.
No tags attached.
Issue History
2012-07-25 14:24eduardo_ArgalNew Issue
2012-07-25 14:24eduardo_ArgalAssigned To => adrianromero
2012-07-26 08:32alostaleNote Added: 0050886
2012-07-27 18:41dmitry_mezentsevNote Added: 0050958
2012-07-30 09:04alostaleStatusnew => scheduled
2012-07-30 09:04alostaleAssigned Toadrianromero => marvintm
2012-07-30 09:04alostalefix_in_branch => pi
2012-07-30 12:57hgbotCheckin
2012-07-30 12:57hgbotNote Added: 0050984
2012-07-30 12:57hgbotStatusscheduled => resolved
2012-07-30 12:57hgbotResolutionopen => fixed
2012-07-30 12:57hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal-main/rev/d560029861c507fda8339beb87ad37b4ff9aa649 [^]
2012-07-30 12:57hgbotCheckin
2012-07-30 12:57hgbotNote Added: 0050985
2012-07-30 12:57hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal-main/rev/d560029861c507fda8339beb87ad37b4ff9aa649 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/d560029861c507fda8339beb87ad37b4ff9aa649 [^]
2012-09-25 13:09adrianromeroStatusresolved => closed

Notes
(0050886)
alostale   
2012-07-26 08:32   
I'm unable to reproduce it.

In demo data env there are 6 transactions in this situation, all of them coming from a single shipment.


openbravo=# select count(*) from m_transaction t where ad_org_id != (select ad_org_id from m_inoutline l where l.m_inoutline_id = t.m_inoutline_id);
 count
-------
     6
(1 row)


openbravo=# select count(distinct m_inout_id) from m_inoutline where m_inoutline_id in (select m_inoutline_id from m_transaction t where ad_org_id != (select ad_org_id from m_inoutline l where l.m_inoutline_id = t.m_inoutline_id))
;
 count
-------
     1
(1 row)
(0050958)
dmitry_mezentsev   
2012-07-27 18:41   
Asier,

Any news here?
(0050984)
hgbot   
2012-07-30 12:57   
Repository: erp/pmods/org.openbravo.retail.posterminal-main
Changeset: d560029861c507fda8339beb87ad37b4ff9aa649
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Mon Jul 30 12:48:43 2012 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal-main/rev/d560029861c507fda8339beb87ad37b4ff9aa649 [^]

Fixed issue 21207. Set organization correctly in the transactions.

---
M src/org/openbravo/retail/posterminal/OrderLoader.java
---
(0050985)
hgbot   
2012-07-30 12:57   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: d560029861c507fda8339beb87ad37b4ff9aa649
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Mon Jul 30 12:48:43 2012 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/d560029861c507fda8339beb87ad37b4ff9aa649 [^]

Fixed issue 21207. Set organization correctly in the transactions.

---
M src/org/openbravo/retail/posterminal/OrderLoader.java
---