Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0056101 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Retail API | major | always | 2024-07-24 10:03 | 2024-08-13 12:41 | |||
Reporter | kchoperena | View Status | public | |||||
Assigned To | AtulOpenbravo | |||||||
Priority | high | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0056101: In the DistributionOrder integration, lineNo is documented as number the code is expecting a string | |||||||
Description | In the DistributionOrder integration, lineNo is documented as number the code is expecting a string | |||||||
Steps To Reproduce | Try to integrate a distribution order: [ { "organization": "España", "documentNo": "1000128", "warehouseIssue": "RN", "warehouseReceipt": "RS", "description": null, "lines": [ { "uOM": "Unit", "lineNo": 1, "product": "ISNegativeSalesTest0001", "operativeQuantity": 1, "qtyIssued": 0, "qtyReceived": 0, "qtyConfirmed": 1 } ], "IsAutomaticallyIssueStock": true, "isOverrideDOWarehouseConf": true, "orderReference": null, "client": "AWO-QA", "isIssue": true, "orderDate": "2024-07-22", "scheduledDeliveryDate": "2024-07-22", "documentAction": "Confirm" } ] Error: | |||||||
Tags | No tags attached. | |||||||
Attached Files | Screenshot from 2024-07-24 10-03-30.png [^] (106,165 bytes) 2024-07-24 10:03
Screenshot from 2024-07-24 10-04-29.png [^] (92,631 bytes) 2024-07-24 10:04 | |||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
Notes | |
(0167828) hgbot (developer) 2024-08-08 09:13 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.distributionorder.api/-/merge_requests/32 [^] |
(0167829) AtulOpenbravo (developer) 2024-08-08 09:21 |
- Make sure AWO-QAAdmin role has Web Services Enabled flag true. - Login as AWOQAAdmin user - Using swagger tool >> http://localhost:8080/openbravo/api?urls.primaryName=Business%20API%20-%20Transactional%20Data#/DistributionOrder/Import_DistributionOrder [^] - try to import below json [ { "organization": "España", "documentNo": "1000128", "warehouseIssue": "RN", "warehouseReceipt": "RS", "description": null, "lines": [ { "uOM": "Unit", "lineNo": 1, "product": "ISNegativeSalesTest0001", "operativeQuantity": 1, "qtyIssued": 0, "qtyReceived": 0, "qtyConfirmed": 1 } ], "IsAutomaticallyIssueStock": true, "isOverrideDOWarehouseConf": true, "orderReference": null, "client": "AWO-QA", "isIssue": true, "orderDate": "2024-08-08", "scheduledDeliveryDate": "2024-08-08", "documentAction": "Confirm" } ] Realize that DO is imported successfully. |
(0167988) hgbot (developer) 2024-08-12 16:00 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.distributionorder.api [^] Changeset: 753c6deb5c1aa3c5a63ac746f2716c6d2b397d9a Author: Atul Gaware <atul.gaware@openbravo.com> Date: 08-08-2024 12:39:28 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.distributionorder.api/-/commit/753c6deb5c1aa3c5a63ac746f2716c6d2b397d9a [^] Fixed BUG-0056101: In the DistributionOrder integration, lineNo is documented as number the code is expecting a string **Cast Line No property value as Integer instead of String when importing DO using API's --- M src/org/openbravo/distributionorder/api/hook/distributionorderline/ImportDOLineBaseOBObjectFetcher.java M src/org/openbravo/distributionorder/api/mappings/distributionorderline/ImportDOLineJavaPropertyMappingHandler.java --- |
(0167989) hgbot (developer) 2024-08-12 16:00 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.distributionorder.api/-/merge_requests/32 [^] |
(0168028) hgbot (developer) 2024-08-13 12:41 |
Repository: https://gitlab.com/openbravo/ci/modules/org.openbravo.api.tests [^] Changeset: 9ecdb72bb63ba4d9e31dabb7a6ae18d85b638d3e Author: Atul Gaware <atul.gaware@openbravo.com> Date: 13-08-2024 16:09:47 URL: https://gitlab.com/openbravo/ci/modules/org.openbravo.api.tests/-/commit/9ecdb72bb63ba4d9e31dabb7a6ae18d85b638d3e [^] Related to BUG-0056101: fix ci failures **lineNo should be numeric instead of String --- M src-test/data/importer/DistributionOrderAutoIssueUpdate.json M src-test/data/importer/DistributionOrderIssueUpdate.json M src-test/data/importer/DistributionOrderIssueUpdateWithDecimalQtys.json M src-test/data/importer/DistributionOrderReceiptUpdate.json M src-test/data/importer/DistributionOrderReceiptUpdateWithDecimalQtys.json --- |
Issue History | |||
Date Modified | Username | Field | Change |
2024-07-24 10:03 | kchoperena | New Issue | |
2024-07-24 10:03 | kchoperena | Assigned To | => Triage Omni OMS |
2024-07-24 10:03 | kchoperena | File Added: Screenshot from 2024-07-24 10-03-30.png | |
2024-07-24 10:03 | kchoperena | Triggers an Emergency Pack | => No |
2024-07-24 10:04 | kchoperena | File Added: Screenshot from 2024-07-24 10-04-29.png | |
2024-07-24 19:00 | aferraz | Assigned To | Triage Omni OMS => Triage Omni WMS |
2024-07-24 23:25 | mtaal | Assigned To | Triage Omni WMS => AtulOpenbravo |
2024-08-08 09:13 | hgbot | Note Added: 0167828 | |
2024-08-08 09:21 | AtulOpenbravo | Note Added: 0167829 | |
2024-08-08 11:21 | AtulOpenbravo | Status | new => scheduled |
2024-08-12 16:00 | hgbot | Resolution | open => fixed |
2024-08-12 16:00 | hgbot | Status | scheduled => closed |
2024-08-12 16:00 | hgbot | Note Added: 0167988 | |
2024-08-12 16:00 | hgbot | Note Added: 0167989 | |
2024-08-13 12:41 | hgbot | Note Added: 0168028 |
Copyright © 2000 - 2009 MantisBT Group |