Openbravo Issue Tracking System - Retail Modules
View Issue Details
0031542Retail ModulesWeb POSpublic2015-11-20 10:302015-12-31 09:42
mtaal 
mtaal 
normalminorhave not tried
closedfixed 
5
 
RR16Q1RR16Q1 
Orekaria
No
No
0031542: Make it easier for external systems to create tickets using json
The current orderloader expects several very internal information fields to be filled. It also expects sometimes detailed json properties to be set which are not that relevant for external users.

So this feature request is to provide an entry point to send in tickets in a simpler way.
See description
Implement an extension of the orderloader which transforms an external json request into a request which can be handled by the orderloader. Make the OrderLoader code somewhat more lenient if not all the info is present.
No tags attached.
related to feature request 0031620RR16Q1 closed mtaal Implement simplified webservice and API for creating a ticket 
Issue History
2015-11-20 10:30mtaalNew Issue
2015-11-20 10:30mtaalAssigned To => mtaal
2015-11-20 10:30mtaalOBNetwork customer => No
2015-11-20 10:30mtaalTriggers an Emergency Pack => No
2015-11-20 10:39mtaalStatusnew => scheduled
2015-11-22 15:50hgbotCheckin
2015-11-22 15:50hgbotNote Added: 0082049
2015-12-22 22:36mtaalRelationship addedrelated to 0031620
2015-12-22 22:36mtaalReview Assigned To => marvintm
2015-12-22 22:37mtaalNote Added: 0082953
2015-12-22 22:37mtaalStatusscheduled => resolved
2015-12-22 22:37mtaalFixed in Version => RR16Q1
2015-12-22 22:37mtaalResolutionopen => fixed
2015-12-29 12:30OrekariaReview Assigned Tomarvintm => Orekaria
2015-12-29 14:10OrekariaStatusresolved => new
2015-12-29 14:10OrekariaResolutionfixed => open
2015-12-29 14:10OrekariaFixed in VersionRR16Q1 =>
2015-12-29 14:10OrekariaStatusnew => scheduled
2015-12-29 14:14OrekariaNote Added: 0083055
2015-12-29 17:08OrekariaStatusscheduled => resolved
2015-12-29 17:08OrekariaResolutionopen => fixed
2015-12-30 23:45hgbotCheckin
2015-12-30 23:45hgbotNote Added: 0083089
2015-12-31 09:42OrekariaStatusresolved => closed
2015-12-31 09:42OrekariaFixed in Version => RR16Q1

Notes
(0082049)
hgbot   
2015-11-22 15:50   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: ef2dbac390c2f195d66aa0e2409bd06ca3fa112a
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Fri Nov 20 10:32:34 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/ef2dbac390c2f195d66aa0e2409bd06ca3fa112a [^]

Related to issue 31542: Make it easier for external systems to create tickets using json
Make the OrderLoader more lenient if not all json info is present

---
M src/org/openbravo/retail/posterminal/OrderLoader.java
---
(0082953)
mtaal   
2015-12-22 22:37   
No further changes needed, issue is resolved
(0083055)
Orekaria   
2015-12-29 14:14   
There are fields that we want to be mandatory
For external systems we should use a new attribute in the json (e.g: minimalist=true) that should be attached by these systems
(0083089)
hgbot   
2015-12-30 23:45   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 5744aa3749eb5f5f03d9dc87dbd4a02c509648db
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Wed Dec 30 23:44:59 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/5744aa3749eb5f5f03d9dc87dbd4a02c509648db [^]

Related to issue 31542: Make it easier for external systems to create tickets using json
Assume cashup/created field are there if json is not from a channel

---
M src/org/openbravo/retail/posterminal/OrderLoader.java
---