Openbravo Issue Tracking System - Modules
View Issue Details
0045133ModulesAdvanced Warehouse Operationspublic2020-09-24 16:572020-10-07 12:01
vmromanos 
vmromanos 
normalminoralways
closedfixed 
5
 
 
0045133: Batch of Tasks document number is set to TEMP when tasks > 100
When the tasks generator engine generates more than 100 tasks in the same batch of tasks, then the batch of tasks' document number remains to "TEMP" instead of setting the right number according to the configured sequence number.
In an environment with AWO QA sampledata,
Create a new purchase order with more than 100 lines
Book it
Press Receive button.
Check the Batch of Tasks document number is set to TEMP, when it should have the correspondent number.
No tags attached.
Issue History
2020-09-24 16:57vmromanosNew Issue
2020-09-24 16:57vmromanosAssigned To => vmromanos
2020-09-24 16:57vmromanosStatusnew => scheduled
2020-09-24 17:08vmromanosSummaryBatch of Tasks document no is set to TEMP when tasks > 100 => Batch of Tasks document number is set to TEMP when tasks > 100
2020-09-24 17:08vmromanosDescription Updatedbug_revision_view_page.php?rev_id=21745#r21745
2020-09-24 17:35hgbotNote Added: 0123357
2020-09-24 17:36vmromanosNote Added: 0123358
2020-10-07 12:00hgbotNote Added: 0123592
2020-10-07 12:00hgbotResolutionopen => fixed
2020-10-07 12:00hgbotStatusscheduled => closed
2020-10-07 12:00hgbotNote Added: 0123593
2020-10-07 12:00hgbotNote Added: 0123594
2020-10-07 12:01hgbotNote Added: 0123595
2022-09-06 17:18caristuCategoryAdvance Warehouse Operations => Advanced Warehouse Operations

Notes
(0123357)
hgbot   
2020-09-24 17:35   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations/-/merge_requests/8 [^]
(0123358)
vmromanos   
2020-09-24 17:36   
Test plan:

In an environment with AWO QA sampledata,
Create a new purchase order with more than 100 lines
Book it
Press Receive button.
Check the Batch of Tasks document number is set to a number and not to "TEMP"
(0123592)
hgbot   
2020-10-07 12:00   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations/-/merge_requests/10 [^]
(0123593)
hgbot   
2020-10-07 12:00   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations [^]
Changeset: f46bd3bfab8d279df495427b627836ff23cdbea3
Author: david.miguelez <david.miguelez@openbravo.com>
Date: 2020-10-07T11:53:32+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations/-/commit/f46bd3bfab8d279df495427b627836ff23cdbea3 [^]

Fixed BUG-45133: Batch of Tasks document no. with > 100 tasks

Added required flush() just after setting the batch of tasks's definitive
document number, so it's properly saved in the database

---
M src/org/openbravo/warehouse/advancedwarehouseoperations/centralbroker/InventoryTransactionTypeAlgorithm.java
---
(0123594)
hgbot   
2020-10-07 12:00   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations/-/merge_requests/10 [^]
(0123595)
hgbot   
2020-10-07 12:01   
Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations/-/merge_requests/8 [^]