Openbravo Issue Tracking System - Modules
View Issue Details
0039299ModulesAdvanced Warehouse Operationspublic2018-09-17 13:052018-09-24 10:01
guilleaer 
guilleaer 
normalminorhave not tried
closedfixed 
5
 
 
guilleaer
0039299: [AWOFE][PCRVW] Priority is not working fine for PA with reference inventory
Priority is not working fine for PA with reference inventory.
Having installed AWO sample data
- Login into AWO FE
- Open put AWAY
- Search for PABOX
- Select first item
- Press green button to generate put away
- A dialog will appear. Press Accept
- Task is generated and shown in FE

Developer
The value of the priority is not reaching the FE so it is shown in an incorrect order.
Pl function does not take into account that a group can come from a picking list.

It is not able to pick the max priority.

This function should be modified to check if the group comes from a reception list or from a picking list. Then select the max priority.

Also will be required to change a bit the request to that function (TaskProperties.java)

            add(new HQLProperty(
                "CASE WHEN (t.behaveAsGroup = 'N' AND t.behaveAsGroupWithReferencedInventory = 'N') THEN t.priority ELSE obawo_getchildtaskmaxpriority(t.receptionList.id, :userId) END",
                "priority"));

We need to send the value of the correct group (using coalesce)

COALESCE(t.receptionList.id, t.warehousePickingList.id)
No tags attached.
Issue History
2018-09-17 13:05guilleaerNew Issue
2018-09-17 13:05guilleaerAssigned To => guilleaer
2018-09-17 13:10guilleaerProposed Solution updated
2018-09-17 15:49guilleaerResolution time => 1538085600
2018-09-18 11:16hgbotCheckin
2018-09-18 11:16hgbotNote Added: 0106833
2018-09-18 11:16hgbotStatusnew => resolved
2018-09-18 11:16hgbotResolutionopen => fixed
2018-09-18 11:16hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.warehouse.advancedwarehouseoperations/rev/2ffe8a2a6f90df3af96ec7da24b8db174ed54a55 [^]
2018-09-18 11:16hgbotCheckin
2018-09-18 11:16hgbotNote Added: 0106834
2018-09-18 11:16hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.warehouse.advancedwarehouseoperations/rev/2ffe8a2a6f90df3af96ec7da24b8db174ed54a55 [^] => http://code.openbravo.com/retail/backports/AWO/3.0RR18Q3/org.openbravo.warehouse.advancedwarehouseoperations/rev/495408afe3c47a037cd1102b18e346e3aebfb731 [^]
2018-09-24 10:01guilleaerReview Assigned To => guilleaer
2018-09-24 10:01guilleaerNote Added: 0106950
2018-09-24 10:01guilleaerStatusresolved => closed
2022-09-06 17:18caristuCategoryAdvance Warehouse Operations => Advanced Warehouse Operations

Notes
(0106833)
hgbot   
2018-09-18 11:16   
Repository: erp/pmods/org.openbravo.warehouse.advancedwarehouseoperations
Changeset: 2ffe8a2a6f90df3af96ec7da24b8db174ed54a55
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Tue Sep 18 11:15:56 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.warehouse.advancedwarehouseoperations/rev/2ffe8a2a6f90df3af96ec7da24b8db174ed54a55 [^]

Fixed issue 39299: Priority for tasks grouped by picking list are working fine

---
M src-db/database/model/functions/OBAWO_GETCHILDTASKMAXPRIORITY.xml
M src/org/openbravo/warehouse/advancedwarehouseoperations/mobile/datasources/TaskProperties.java
---
(0106834)
hgbot   
2018-09-18 11:16   
Repository: retail/backports/AWO/3.0RR18Q3/org.openbravo.warehouse.advancedwarehouseoperations
Changeset: 495408afe3c47a037cd1102b18e346e3aebfb731
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Tue Sep 18 11:15:56 2018 +0200
URL: http://code.openbravo.com/retail/backports/AWO/3.0RR18Q3/org.openbravo.warehouse.advancedwarehouseoperations/rev/495408afe3c47a037cd1102b18e346e3aebfb731 [^]

Fixed issue 39299: Priority for tasks grouped by picking list are working fine

---
M src-db/database/model/functions/OBAWO_GETCHILDTASKMAXPRIORITY.xml
M src/org/openbravo/warehouse/advancedwarehouseoperations/mobile/datasources/TaskProperties.java
---
(0106950)
guilleaer   
2018-09-24 10:01   
I didi the commit but the fix was done by Alejandro Matos. That's why I'm closing it.