Openbravo Issue Tracking System - POS2
View Issue Details
0058081POS2POSpublic2025-02-24 21:532025-03-06 07:17
sofidossant 
Bimla_vm 
highmajoralways
scheduledopen 
5
pi 
24Q4.2 
No
0058081: Error CRM Connectivity Type Online
If I change the Connectivity Type to ONline in the CRM, and try to create a bp in the pos2, I have this ewi:

org.openbravo.base.exception.OBException: Business partner id is a mandatory field to create a new customer from Web Pos
    at org.openbravo.retail.posterminal.CustomerLoader.createBPartner(CustomerLoader.java:150)
    at org.openbravo.retail.posterminal.CustomerLoader.saveRecord(CustomerLoader.java:83)
    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.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)
1- Change the configuration in CRM Connector Connectivity Type to ONline
https://livebuilds.openbravo.com/context/retail_pos2_modules_pgsql/?tabId=64B041991B3C48EB9F0E85D35DD40825&recordId=39CFDE24137F411488257BCD6AEC09E3 [^]

2- Open the pos2

3- Create a new customer.

4 - See the ewi in the backoffice.

No tags attached.
blocks defect 0058062 scheduled Bimla_vm Error CRM Connectivity Type Online 
Issue History
2025-02-26 12:58Bimla_vmTypedefect => backport
2025-02-26 12:58Bimla_vmTarget Version => 24Q4.2
2025-03-03 06:11hgbotNote Added: 0176325
2025-03-06 07:17hgbotNote Added: 0176505

Notes
(0176325)
hgbot   
2025-03-03 06:11   
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3560 [^]
(0176505)
hgbot   
2025-03-06 07:17   
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/openbravo/-/merge_requests/1570 [^]