Openbravo Issue Tracking System - Retail Modules
View Issue Details
0028833Retail ModulesWeb POSpublic2015-02-02 09:252015-06-22 21:39
marvintm 
mario_castello 
normalminorhave not tried
closedfixed 
5
 
RR15Q2RR15Q2 
marvintm
No
0028833: The OrderLoader needs to use the new way of calling to the M_GetStock PL function
Currently the OrderLoader uses the m_getstock function to create the shipment information.

This function has been refactored and can now be called without using the AD_Pinstance infrastructure, to achieve greater performance and prevent the database from growing in size needlessly.

The OrderLoader should therefore be changed to support this new method of calling the function.
Realize that the OrderLoader still used the CallProcess class, which generates records in the AD_Pinstance/AD_PinstancePara tables.
No tags attached.
related to defect 0027160 closed eduardo_Argal Openbravo ERP C_Order_Post poor performance 
Issue History
2015-02-02 09:25marvintmNew Issue
2015-02-02 09:25marvintmAssigned To => marvintm
2015-02-02 09:25marvintmTriggers an Emergency Pack => No
2015-02-02 10:23marvintmNote Added: 0073971
2015-02-02 12:31hgbotCheckin
2015-02-02 12:31hgbotNote Added: 0073983
2015-02-02 16:22mario_castelloAssigned Tomarvintm => mario_castello
2015-02-03 17:21mario_castelloStatusnew => scheduled
2015-02-03 17:21mario_castellofix_in_branch => pi
2015-02-03 17:39hgbotCheckin
2015-02-03 17:39hgbotNote Added: 0074043
2015-02-03 17:39hgbotStatusscheduled => resolved
2015-02-03 17:39hgbotResolutionopen => fixed
2015-02-03 17:39hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/45cc17f5991883d99466025332611647f130b220 [^]
2015-02-19 16:50migueldejuanaNote Added: 0074676
2015-02-19 16:50migueldejuanaStatusresolved => new
2015-02-19 16:50migueldejuanaResolutionfixed => open
2015-03-30 20:11marvintmStatusnew => scheduled
2015-03-30 20:11marvintmStatusscheduled => resolved
2015-03-30 20:11marvintmFixed in Version => RR15Q2
2015-03-30 20:11marvintmResolutionopen => fixed
2015-03-30 20:11marvintmReview Assigned To => marvintm
2015-03-30 20:11marvintmStatusresolved => closed
2015-06-14 11:27dmitry_mezentsevRelationship addedrelated to 0027160
2015-06-22 21:39eugeniIssue Monitored: eugeni

Notes
(0073971)
marvintm   
2015-02-02 10:23   
The main idea in this issue is to replace the usage of CallProcess in the OrderLoader.java class, with CallStoredProcedure. This class allows the developer to call the PL function directly without creating a new ADPinstance record.
(0073983)
hgbot   
2015-02-02 12:31   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: d80a5866bcdc2dabd0057d8509d4f596bb6148e5
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Mon Feb 02 12:30:57 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/d80a5866bcdc2dabd0057d8509d4f596bb6148e5 [^]

Related to issue 28833. Temporarily prevent the OrderLoader from not compiling correctly after core changes. The new way of calling to M_GetStock is not yet supported.

---
M src/org/openbravo/retail/posterminal/OrderLoader.java
---
(0074043)
hgbot   
2015-02-03 17:39   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 45cc17f5991883d99466025332611647f130b220
Author: Mario Castello <mario.castello <at> peoplewalking.com>
Date: Tue Feb 03 10:38:04 2015 -0600
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/45cc17f5991883d99466025332611647f130b220 [^]

fixed issue 28833: The OrderLoader needs to use the new way of calling to the M_GetStock PL function

---
M src/org/openbravo/retail/posterminal/OrderLoader.java
---
(0074676)
migueldejuana   
2015-02-19 16:50   
It doesn't work in Oracle