Openbravo Issue Tracking System - Modules
View Issue Details
0038447ModulesAdvanced Warehouse Operationspublic2018-04-25 13:462018-06-14 15:11
maarten1962 
dmiguelez 
highmajoralways
newopen 
5
 
 
0038447: PA Null ends in error for RCT-PO with message "To-Bin cannot be empty".
The issue is that a Task is a proposal, and while being a proposal the To-Bin is allowed to be NULL "...urging the operator to enter the bin." as the description of the lgorithm "PA Null" explains.
It is correct that the To-Bin cannot be NULL when confirmed, but this Routing is not Auto-Confirm so there is no reason to generate an error.

The relevant part of the Verbosity below.

      * 25-04-2018 13:17:48:183 - INFO - Calculating Task Proposal To-Bin...
      * 25-04-2018 13:17:48:216 - INFO - Detected the following ordered PA Warehouse Algorithms [[0B3DCD4BB45D4EE290ED8A2D2DEB64ED:org.openbravo.warehouse.advancedwarehouseoperations.warehousealgorithm.implementation.PA_Null:PA Null]]
      * 25-04-2018 13:17:48:216 - INFO - Executing Warehouse Algorithm [PA Null:org.openbravo.warehouse.advancedwarehouseoperations.warehousealgorithm.implementation.PA_Null]
      * 25-04-2018 13:17:48:220 - INFO - Algorithm description: Returns null, urging the operator to enter the bin.
      * 25-04-2018 13:17:48:220 - INFO - No Bin have been returned by the PA Warehouse Algorithm.
      * 25-04-2018 13:17:48:221 - INFO - The algorithms have not been able to allocate all the stock. Therefore, a new task with empty Storage To-Bin is going to be created for the remaining quantity: 500
      * 25-04-2018 13:17:48:239 - INFO - Finished calculating Task Proposal To-Bin.
    * 25-04-2018 13:17:48:247 - INFO - Created task [Barrel Nipple 20mm Galv - 500Ec - - - ] linked to Batch of Tasks [1000003]
    * 25-04-2018 13:17:48:267 - INFO - Linking task [Barrel Nipple 20mm Galv - 500Ec - - - ] with order line [1000000 - 10 - Barrel Nipple 20mm Galv - 500Ec - 1PL - ]
    * 25-04-2018 13:17:48:287 - INFO - Not autoconfirming individual Task [Barrel Nipple 20mm Galv - 500Ec - - - ] based on the Routing configuration [-REC/AC - - REC - Receiving - SCM Sales Warehouse]
    * 25-04-2018 13:17:48:337 - INFO - Created Document [Reception List - RECLST1000000] with [1] task(s)
  * 25-04-2018 13:17:48:583 - ERROR - Error detected in Central Broker: ERROR DETECTED: The confirmed to bin to can not be null.
org.openbravo.base.exception.OBException: The confirmed to bin to can not be null.
Assign PA Null to the RCT-PO and receive a PO.
The check on the To-Bin belongs in the Task-Confirmation, not in the Task-Generation.
No tags attached.
Issue History
2018-04-25 13:46maarten1962New Issue
2018-04-25 13:46maarten1962Assigned To => dmiguelez
2018-06-14 15:11maarten1962Note Added: 0105143
2022-09-06 17:18caristuCategoryAdvance Warehouse Operations => Advanced Warehouse Operations

Notes
(0105143)
maarten1962   
2018-06-14 15:11   
See attached Verbosity: The PA Null is executed and returns no bin (which is EXPECTED and CORRECT). But then it ignores this correct result and executes the next algorithm (last line of verbosity).

* 14-06-2018 15:03:24:570 - INFO - Detected the following ordered PA Warehouse Algorithms [[0B3DCD4BB45D4EE290ED8A2D2DEB64ED:org.openbravo.warehouse.advancedwarehouseoperations.warehousealgorithm.implementation.PA_Null:PA Null, 53864AE0A9E8478282487A236058C774:org.openbravo.warehouse.advancedwarehouseoperations.warehousealgorithm.implementation.PA_MergeWithProductFullLogisticUnit:PA Merge with Product Full Logistic Unit, B6184A47C0D543219225285CCE8BB17D:org.openbravo.warehouse.advancedwarehouseoperations.warehousealgorithm.implementation.PA_ByPopCodeFullLogisticUnit:PA By Popularity Code Full Logistic Unit, 45E2A7558C764DC1B459A807A4B02EFE:org.openbravo.warehouse.advancedwarehouseoperations.warehousealgorithm.implementation.PA_MergeWithProduct:PA Merge with Product, 0527B369BF364E53BCAC9AFD966600B1:org.openbravo.warehouse.advancedwarehouseoperations.warehousealgorithm.implementation.PA_ByPopCode:PA By Popularity Code, C781DDA300E84754B803A489E2423623:org.openbravo.warehouse.advancedwarehouseoperations.warehousealgorithm.implementation.PA_RandomValidBin:PA First valid bin]]
* 14-06-2018 15:03:24:570 - INFO - Executing Warehouse Algorithm [PA Null:org.openbravo.warehouse.advancedwarehouseoperations.warehousealgorithm.implementation.PA_Null]
* 14-06-2018 15:03:24:572 - INFO - Algorithm description: Returns null, urging the operator to enter the bin.
* 14-06-2018 15:03:24:572 - INFO - No Bin has been returned by the PA Warehouse Algorithm.
* 14-06-2018 15:03:24:572 - INFO - Executing Warehouse Algorithm [PA Merge with Product Full Logistic