Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0056864
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Retail APImajorhave not tried2024-10-23 08:352024-11-05 18:32
ReporterAgatheBertinView Statuspublic 
Assigned ToTriage Omni WMS 
PrioritynormalResolutionduplicateFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomtaal
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0056864: Stock API. Difference between calls from SSMS or POS

DescriptionWhen 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"
        }
      ]
    }
  }
}
Steps To ReproduceCall the Stock API from SSMS
Call the stock API from WEBPOS and compare boths jsons (payload)
Proposed SolutionAdd the missing fields in the SSMS payload
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
duplicate of feature request 0018693 newjonalegriaesarte Openbravo ERP You are not able to introduce different sequence in Journal Batch 

-  Notes
(0171455)
mtaal (manager)
2024-11-05 18:32

Duplicate of RM-18693

- Issue History
Date Modified Username Field Change
2024-10-23 08:35 AgatheBertin New Issue
2024-10-23 08:35 AgatheBertin Assigned To => Retail
2024-10-23 08:35 AgatheBertin Triggers an Emergency Pack => No
2024-10-23 08:38 AgatheBertin Description Updated View Revisions
2024-10-23 08:50 guillermogil Assigned To Retail => Triage Omni WMS
2024-11-05 18:32 mtaal Review Assigned To => mtaal
2024-11-05 18:32 mtaal Relationship added duplicate of 0018693
2024-11-05 18:32 mtaal Note Added: 0171455
2024-11-05 18:32 mtaal Status new => closed
2024-11-05 18:32 mtaal Resolution open => duplicate


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker