Openbravo Issue Tracking System - Retail Modules
View Issue Details
0057518Retail ModulesRetail APIpublic2024-12-20 11:302024-12-28 15:30
kchoperena 
alainperez 
normalminoralways
closedfixed 
5
 
 
approved
OBPS
No
0057518: Web POS Payment Creation API: Include the orderId and add the description for all the fields
The event that is sending the Payment Creation is only exposing the orderDocumentNo, but sometimes the external systems works with ID

Because of that, we need to include the orderId on the API:
- Name: orderId
- Sequence: 15
- Mandatory: True
- Description: Identifier of the order to which the payment is related

Also, we need to include the description for the rest of the fields:
- orderDocumentNo: Document number of the order to which the payment is related
- name: Name of the payment method used
- rate: The exchange rate used to convert the payment amount to the financial account amount
- currency: Indicates the currency used
- paidAmount: Amount of the payment
- paymentDate: Date on which the payment is made.
Check the swagger definition: https://livebuilds.openbravo.com/context/retail_pos2_modules_pgsql/api?urls.primaryName=Business+API+-+Transactional+Data#/webhooks/WebPOSPaymentCreation [^]
No tags attached.
Issue History
2024-12-20 11:30kchoperenaNew Issue
2024-12-20 11:30kchoperenaAssigned To => Retail
2024-12-20 11:30kchoperenaOBNetwork customer => OBPS
2024-12-20 11:30kchoperenaTriggers an Emergency Pack => No
2024-12-23 12:48hgbotMerge Request Status => open
2024-12-23 12:48hgbotNote Added: 0173625
2024-12-27 18:20alainperezAssigned ToRetail => alainperez
2024-12-27 18:20alainperezStatusnew => scheduled
2024-12-28 11:22hgbotMerge Request Statusopen => approved
2024-12-28 11:22hgbotResolutionopen => fixed
2024-12-28 11:22hgbotStatusscheduled => closed
2024-12-28 11:22hgbotNote Added: 0173709
2024-12-28 11:22hgbotNote Added: 0173710
2024-12-28 15:21hgbotNote Added: 0173715
2024-12-28 15:30hgbotNote Added: 0173716

Notes
(0173625)
hgbot   
2024-12-23 12:48   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.api/-/merge_requests/145 [^]
(0173709)
hgbot   
2024-12-28 11:22   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.api [^]
Changeset: c08f9eed18b6401b89fdae470640120927632463
Author: Kepa Choperena <kepa.choperena@openbravo.com>
Date: 23-12-2024 12:46:09
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.api/-/commit/c08f9eed18b6401b89fdae470640120927632463 [^]

Fixes ISSUE-57518: Added salesOrder id in the Export Payment API.

Also, added description for all the fields apart from organization

---
M src-db/database/sourcedata/OBEI_PROP_MAP_INSTANCE.xml
---
(0173710)
hgbot   
2024-12-28 11:22   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.api/-/merge_requests/145 [^]
(0173715)
hgbot   
2024-12-28 15:21   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.api/-/merge_requests/146 [^]
(0173716)
hgbot   
2024-12-28 15:30   
Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.api/-/merge_requests/146 [^]