Openbravo Issue Tracking System - Retail Modules
View Issue Details
0054639Retail ModulesRetail APIpublic2024-02-09 14:342024-02-09 14:34
ngarcia 
Triage Platform Conn 
highminoralways
newopen 
5
 
 
No
0054639: Payment amount is duplicated when exporting an order with a payment that includes two lines
Payment amount is duplicated when exporting an order with a payment that includes two lines. Instead of getting the payment detail amount it is showing the payment amount
In https://livebuilds.openbravo.com/context/retail_modules_pgsql_pi [^]

Create a Sales Order in the backoffice with two lines
Pay it
Invoice it in two different invoices, one per each line
Check the payment has two lines

Use the following link to access the JSON of the order:

https://livebuilds.openbravo.com/context/retail_modules_pgsql_pi/ws/org.openbravo.api.ExportService/Order/<orderId> [^]

Check it includes two payments with the amounts of the total payment:

    "payments": [
      {
        "name": "Cash",
        "rate": 1,
        "currency": "EUR",
        "amount": 29.1,
        "paidAmount": 29.1,
        "paymentDate": "2024-02-09",
        "giftCardInstanceNo": ""
      },
      {
        "name": "Cash",
        "rate": 1,
        "currency": "EUR",
        "amount": 29.1,
        "paidAmount": 29.1,
        "paymentDate": "2024-02-09",
        "giftCardInstanceNo": ""
      }
    ],
No tags attached.
Issue History
2024-02-09 14:34ngarciaNew Issue
2024-02-09 14:34ngarciaAssigned To => Triage Platform Conn
2024-02-09 14:34ngarciaTriggers an Emergency Pack => No

There are no notes attached to this issue.