Openbravo Issue Tracking System - Retail Modules
View Issue Details
0056350Retail ModulesRetail APIpublic2024-09-03 12:322024-09-23 05:07
kchoperena 
andrea_lopez 
normalmajoralways
closedfixed 
5
 
 
No
0056350: [Distribution Order API]: Description field is not updating
Using the distribution order API, is not possible to update the description field


https://livebuilds.openbravo.com/context/retail_modules_pgsql_pi/api?urls.primaryName=Business%20API%20-%20Transactional%20Data#/DistributionOrder/Import_DistributionOrder [^]
1.- Create a distribution order receipt using the back-end
2.- Using the API try to update the description field:

[
  {
    "organization": "EspaƱa",
    "documentNo": "1000101",
    "isIssue": false,
    "description": "test",
    "lines": [
      {
        "lineNo": 10,
        "product": "ES/00043"
      }
    ]
  }
]

RESULT: Field is not updated
No tags attached.
Issue History
2024-09-03 12:32kchoperenaNew Issue
2024-09-03 12:32kchoperenaAssigned To => Triage Platform Conn
2024-09-03 12:32kchoperenaTriggers an Emergency Pack => No
2024-09-03 12:53kchoperenaAssigned ToTriage Platform Conn => Triage Omni WMS
2024-09-09 09:28mtaalAssigned ToTriage Omni WMS => andrea_lopez
2024-09-19 09:55hgbotNote Added: 0169368
2024-09-19 10:02hgbotNote Added: 0169370
2024-09-23 05:06hgbotResolutionopen => fixed
2024-09-23 05:06hgbotStatusnew => closed
2024-09-23 05:06hgbotNote Added: 0169456
2024-09-23 05:06hgbotNote Added: 0169457
2024-09-23 05:06hgbotNote Added: 0169458
2024-09-23 05:07hgbotNote Added: 0169459
2024-09-23 05:07hgbotNote Added: 0169460

Notes
(0169368)
hgbot   
2024-09-19 09:55   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.distributionorder.api/-/merge_requests/34 [^]
(0169370)
hgbot   
2024-09-19 10:02   
Merge Request created: https://gitlab.com/openbravo/ci/modules/org.openbravo.api.tests/-/merge_requests/81 [^]
(0169456)
hgbot   
2024-09-23 05:06   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.distributionorder.api [^]
Changeset: 5d8d6662c5bdb5bb8d63b428be38c1e76c9e5d9b
Author: andrea lopez <andrea.lopez@openbravo.com>
Date: 19-09-2024 09:52:57
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.distributionorder.api/-/commit/5d8d6662c5bdb5bb8d63b428be38c1e76c9e5d9b [^]

Fixed ISSUE-56350 Allow updating the description field in Distribution Order API

---
M examples/Distribution Order API.postman_collection.json
M src-db/database/sourcedata/OBEI_ENTITY_MAPPING.xml
M src/org/openbravo/distributionorder/api/hook/distributionorder/ImportDOBaseOBObjectFetcher.java
---
(0169457)
hgbot   
2024-09-23 05:06   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.distributionorder.api [^]
Changeset: eb4b76b2be33b4959d1332254f3f2657bf3ab550
Author: Atul Gaware <atul.gaware@openbravo.com>
Date: 22-09-2024 22:17:34
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.distributionorder.api/-/commit/eb4b76b2be33b4959d1332254f3f2657bf3ab550 [^]

Related To ISSUE-56350 Allow updating the description field in
Distribution Order API

**Fix lineNo with Integer value instead of String.

---
M examples/Distribution Order API.postman_collection.json
---
(0169458)
hgbot   
2024-09-23 05:06   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.distributionorder.api/-/merge_requests/34 [^]
(0169459)
hgbot   
2024-09-23 05:07   
Repository: https://gitlab.com/openbravo/ci/modules/org.openbravo.api.tests [^]
Changeset: b4d9efa28e8773213aa380701783ff7c76140bf8
Author: andrea lopez <andrea.lopez@openbravo.com>
Date: 19-09-2024 10:04:25
URL: https://gitlab.com/openbravo/ci/modules/org.openbravo.api.tests/-/commit/b4d9efa28e8773213aa380701783ff7c76140bf8 [^]

Fix ISSUE-56350 Update test for importing DO to reflect modifiable description field

---
M src-test/org/openbravo/api/tests/importer/ImportDistributionOrder.java
---
(0169460)
hgbot   
2024-09-23 05:07   
Merge request merged: https://gitlab.com/openbravo/ci/modules/org.openbravo.api.tests/-/merge_requests/81 [^]