Openbravo Issue Tracking System - Retail Modules
View Issue Details
0056864Retail ModulesRetail APIpublic2024-10-23 08:352024-11-05 18:32
AgatheBertin 
Triage Omni WMS 
normalmajorhave not tried
closedduplicate 
5
 
 
mtaal
No
0056864: Stock API. Difference between calls from SSMS or POS
When calling the stockAPI from the POS or from SSMS, the payload is not the same.

Some fields are missing in the call from SSMS.
product.searchKey
product.uPCEAN
organisation.id
organisation.searchKey
warehouse.id
warehouse.name



WEBPOS json
{
  "terminal": {
    "ID": "S01203T007",
    "operator": "XXXX",
    "locale": "en_US"
  },
  "action": "PRODUCT_STOCK",
  "serviceId": "2763559799",
  "data": {
    "product": {
      "id": "05F07862216E4347813B9E6FFA076044",
      "name": "Bobine essuie tout Tenerella XL x2",
      "searchKey": "405281"
    },
    "organization": {
      "id": "65AC534B40314485B9F21A94D4B669B7",
      "warehouses": [
        {
          "id": "F81784F90FB7439FA6061E7DB8EB1FEF",
          "name": "XXXX",
          "searchKey": "XXXX"
        }
      ],
      "searchKey": "RES01"
    }
  }
}




SSMS JSON
{
  "terminal": {
    "operator": "XXXXX"
  },
  "action": "PRODUCT_STOCK",
  "serviceId": "0002606488",
  "data": {
    "product": {
      "id": "540FD891C2F04573BA3AD45E11D11963",
      "name": "Allumette x40"
    },
    "organization": {
      "warehouses": [
        {
          "searchKey": "XXXXX"
        }
      ]
    }
  }
}
Call the Stock API from SSMS
Call the stock API from WEBPOS and compare boths jsons (payload)
Add the missing fields in the SSMS payload
No tags attached.
duplicate of feature request 0018693 new jonalegriaesarte Openbravo ERP You are not able to introduce different sequence in Journal Batch 
Issue History
2024-10-23 08:35AgatheBertinNew Issue
2024-10-23 08:35AgatheBertinAssigned To => Retail
2024-10-23 08:35AgatheBertinTriggers an Emergency Pack => No
2024-10-23 08:38AgatheBertinDescription Updatedbug_revision_view_page.php?rev_id=28651#r28651
2024-10-23 08:50guillermogilAssigned ToRetail => Triage Omni WMS
2024-11-05 18:32mtaalReview Assigned To => mtaal
2024-11-05 18:32mtaalRelationship addedduplicate of 0018693
2024-11-05 18:32mtaalNote Added: 0171455
2024-11-05 18:32mtaalStatusnew => closed
2024-11-05 18:32mtaalResolutionopen => duplicate

Notes
(0171455)
mtaal   
2024-11-05 18:32   
Duplicate of RM-18693