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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0057073
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Retail Modules] Retail APIminoralways2024-11-12 15:212024-11-16 07:39
ReporterkchoperenaView Statuspublic 
Assigned Toguillermogil 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0057073: Export Quotation API: When a quotation is reactivated and updated, we are not sending the ID of the original one to be replaced

DescriptionWhen a Quotation is reactivated and modified in Web POS, Openbravo creates a new quotation and rejects the original one

In the PUSH event related to the creation of Quotation that replaces the original, we are not including the ID of the document that we are replacing. So then, an external system is not able to relate documents

A new field is required in the Quotation entity schema:

- Name: rejectedQuotationId
- Mandatory: false
- Description: Identifier of the quotation that has been rejected. It is only filled in cases of quotation reactivation

- Name: rejectedQuotationDocumentNo
- Mandatory: false
- Description: Document number of the quotation that has been rejected. It is only filled in cases of quotation reactivation
Steps To Reproduce    PRE-REQUIREMENTS:
In back-end, Event Subscription window, configure the events:
- Web POS Quotation Creation
- Web POS Quotation Update

You can use a service like https://webhook.site/ [^] [^] to mock a External System

1.- Log into POS2
2.- Create a Quotation and complete it
3.- Reactivate the Quotation and modify it
4.- Complete it

RESULT:
   Events happened:
    - Web POS Quotation Creation (Original Quotation)
    - Web POS Quotation Update (Reject of the Original Quotation)
    - Web POS Quotation Creation (Creation of the Quotation that replaces the original)

In the creation event, there is no link to the quotation we are replacing so the external system can not relate the objects
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0171826)
hgbot (developer)
2024-11-12 15:54

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/380 [^]
(0171939)
hgbot (developer)
2024-11-13 15:53

Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/380 [^]
(0171940)
hgbot (developer)
2024-11-13 16:01

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.api/-/merge_requests/137 [^]
(0172074)
hgbot (developer)
2024-11-16 07:39

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.api/-/merge_requests/137 [^]
(0172075)
hgbot (developer)
2024-11-16 07:39

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.api [^]
Changeset: 5a54f60e6f93551dcd3be8738997a7ac324345ef
Author: Kepa Choperena <kepa.choperena@openbravo.com>
Date: 16-11-2024 06:39:21
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.api/-/commit/5a54f60e6f93551dcd3be8738997a7ac324345ef [^]

Fixes ISSUE-57073: Added rejectedQuotationId & rejectedQuotationDocumentNo in Quotation mapping

---
M src-db/database/sourcedata/OBEI_PROP_MAP_INSTANCE.xml
---

- Issue History
Date Modified Username Field Change
2024-11-12 15:21 kchoperena New Issue
2024-11-12 15:21 kchoperena Assigned To => Retail
2024-11-12 15:21 kchoperena Triggers an Emergency Pack => No
2024-11-12 15:24 kchoperena Description Updated View Revisions
2024-11-12 15:25 kchoperena Steps to Reproduce Updated View Revisions
2024-11-12 15:54 hgbot Note Added: 0171826
2024-11-13 05:44 guillermogil Assigned To Retail => guillermogil
2024-11-13 05:44 guillermogil Status new => scheduled
2024-11-13 15:53 hgbot Note Added: 0171939
2024-11-13 16:01 hgbot Note Added: 0171940
2024-11-16 07:39 hgbot Note Added: 0172074
2024-11-16 07:39 hgbot Resolution open => fixed
2024-11-16 07:39 hgbot Status scheduled => closed
2024-11-16 07:39 hgbot Note Added: 0172075


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker