Openbravo Issue Tracking System - POS2
View Issue Details
0056592POS2[Retail Modules] Retail APIpublic2024-09-30 17:002024-11-11 11:48
rafademiguel 
Rajesh_18 
normalmajorhave not tried
closedfixed 
5
 
 
No
0056592: IF "isQuotation" property is not send using the "External Orders API" you get an Error While Importing
IF "isQuotation" property is not send using the "External Orders API" you get an
Error While Importing:

org.codehaus.jettison.json.JSONException: JSONObject["isQuotation"] not found.
    at org.codehaus.jettison.json.JSONObject.get(JSONObject.java:360)
    at org.codehaus.jettison.json.JSONObject.getBoolean(JSONObject.java:376)
    at org.openbravo.retail.api.events.order.QuotationLoaderEventsHook.exec(QuotationLoaderEventsHook.java:29)
    at org.openbravo.retail.api.events.order.QuotationLoaderEventsHook$Proxy$_$$_WeldClientProxy.exec(Unknown Source)
    at org.openbravo.retail.posterminal.OrderLoader.executeHooks(OrderLoader.java:876)
    at org.openbravo.retail.posterminal.OrderLoader.saveRecord(OrderLoader.java:656)
    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)
Use the "External Orders API" and do not fill the property "isQuotation"
Set a default value for isQuotation in the External Orders API, so that if the property is not specified it is set as "false" in the created ticket.
No tags attached.
Issue History
2024-09-30 17:00rafademiguelNew Issue
2024-09-30 17:00rafademiguelAssigned To => marvintm
2024-09-30 17:00rafademiguelTriggers an Emergency Pack => No
2024-09-30 17:02marvintmProposed Solution updated
2024-09-30 17:04marvintmAssigned Tomarvintm => Retail
2024-09-30 17:04marvintmProjectRetail Modules => POS2
2024-09-30 17:04marvintmStatusnew => acknowledged
2024-10-01 06:46Rajesh_18Assigned ToRetail => Rajesh_18
2024-10-01 06:46Rajesh_18Statusacknowledged => scheduled
2024-10-07 06:50hgbotNote Added: 0170028
2024-10-16 09:49rafademiguelIssue Monitored: rafademiguel
2024-10-22 05:03hgbotNote Added: 0170731
2024-10-22 05:03hgbotResolutionopen => fixed
2024-10-22 05:03hgbotStatusscheduled => closed
2024-10-22 05:03hgbotNote Added: 0170732
2024-11-11 11:48hgbotNote Added: 0171757
2024-11-11 11:48hgbotFixed in Version => PR25Q1
2024-11-11 11:48hgbotNote Added: 0171759
2024-11-11 11:50shuehnerNote Deleted: 0171759
2024-11-11 11:50shuehnerNote Deleted: 0171757

Notes
(0170028)
hgbot   
2024-10-07 06:50   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.events.orders/-/merge_requests/16 [^]
(0170731)
hgbot   
2024-10-22 05:03   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.events.orders/-/merge_requests/16 [^]
(0170732)
hgbot   
2024-10-22 05:03   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.events.orders [^]
Changeset: cdbef6ad12d05b84f7fb7761cdcff8a8a8ce94f3
Author: Rajesh Senthilkumar <rajesh@qualiantech.com>
Date: 22-10-2024 03:03:12
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.events.orders/-/commit/cdbef6ad12d05b84f7fb7761cdcff8a8a8ce94f3 [^]

Fixed ISSUE-56592: Added isQuotation property to external orders

---
M web/org.openbravo.events.orders/app/model/business-object/externalOrders/LoadExternalOrdersTicket.js
---