Openbravo Issue Tracking System - POS2
View Issue Details
0057113POS2Corepublic2024-11-15 11:212024-11-19 16:37
dorian_robillard 
andrea_lopez 
normalmajoralways
newopen 
5
 
 
No
0057113: EWI, When using "user action input" in order an EWI is created when synchronizing in backoffice
When using "user action input" in order an EWI is created when synchronizing in backoffice.

I tested it in livebuilds with :
- reason in price modification
- Return reason

EWI
java.lang.NullPointerException
    at org.openbravo.pos2.hook.orderloader.ProductCheckOrderLoaderHook.exec(ProductCheckOrderLoaderHook.java:65)
    at org.openbravo.retail.posterminal.OrderLoader.executeHooks(OrderLoader.java:882)
    at org.openbravo.retail.posterminal.OrderLoader.saveRecord(OrderLoader.java:662)
    at org.openbravo.mobile.core.process.DataSynchronizationProcess.saveRecord(DataSynchronizationProcess.java:214)
    at org.openbravo.mobile.core.process.DataSynchronizationProcess.exec(DataSynchronizationProcess.java:165)
    at org.openbravo.mobile.core.process.DataSynchronizationProcess.exec(DataSynchronizationProcess.java:97)
    at org.openbravo.mobile.core.process.MobileImportEntryProcessorRunnable.processEntry(MobileImportEntryProcessorRunnable.java:55)
    at org.openbravo.retail.posterminal.importprocess.OrderImportEntryProcessor$OrderLoaderRunnable.processEntry(OrderImportEntryProcessor.java:64)
    at org.openbravo.service.importprocess.ImportEntryProcessor$ImportEntryProcessRunnable.doRunCycle(ImportEntryProcessor.java:447)
    at org.openbravo.service.importprocess.ImportEntryProcessor$ImportEntryProcessRunnable.run(ImportEntryProcessor.java:370)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at java.base/java.lang.Thread.run(Thread.java:829)
In backoffice

Go to user action input window
Configure user action set line price as mandatory

Go to POS
Add a product
Do a price modification and add reason
Pay and finish ticket

EWI is generated in backoffice
No tags attached.
caused by feature request 0056441 closed radhakrishnan Define a return bin per return reason 
Issue History
2024-11-15 11:21dorian_robillardNew Issue
2024-11-15 11:21dorian_robillardAssigned To => Triage Platform Base
2024-11-15 11:21dorian_robillardTriggers an Emergency Pack => No
2024-11-15 11:25victor_perezAssigned ToTriage Platform Base => Retail
2024-11-18 15:05guillermogilAssigned ToRetail => Triage Omni WMS
2024-11-19 11:32aferrazAssigned ToTriage Omni WMS => andrea_lopez
2024-11-19 11:44aferrazNote Added: 0172223
2024-11-19 16:37aferrazRelationship addedcaused by 0056441

Notes
(0172223)
aferraz   
2024-11-19 11:44   
Jira: https://openbravo.atlassian.net/browse/RM-19136 [^]