Openbravo Issue Tracking System - Modules | |||||||||||||||||||||
View Issue Details | |||||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||||
0056486 | Modules | Openbravo Business API | public | 2024-09-18 10:24 | 2024-10-18 10:19 | ||||||||||||||||
Reporter | vmromanos | ||||||||||||||||||||
Assigned To | caristu | ||||||||||||||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||||||||||||||
Status | acknowledged | Resolution | open | ||||||||||||||||||
Platform | OS | 5 | OS Version | ||||||||||||||||||
Product Version | |||||||||||||||||||||
Target Version | Fixed in Version | ||||||||||||||||||||
Merge Request Status | |||||||||||||||||||||
Regression date | |||||||||||||||||||||
Regression introduced by commit | |||||||||||||||||||||
Regression level | |||||||||||||||||||||
Review Assigned To | |||||||||||||||||||||
Support ticket | |||||||||||||||||||||
OBNetwork customer | |||||||||||||||||||||
Regression introduced in release | |||||||||||||||||||||
Summary | 0056486: OneToManyEntityPropertyMapping doesn't respect Selected Properties On Entity Referencing | ||||||||||||||||||||
Description | I have an entity mapping (SSMSTask) that has a property (stockIncidents) defined as OneToManyEntityPropertyMapping. The StockIncident entity mapping is defined with Selected Properties On Entity Referencing = "Those Selected", with these 3 properties: * documentNo "As identifier" * date "As Information" * incidentReason "As Information" When I export a task with a stockIncident, the stockIncidents property shows all the properties instead of just the three above. | ||||||||||||||||||||
Steps To Reproduce | Export the SSMSTask with ID 6E49ABDE00154A328CAC11C90F6141B7. The exported JSON is: { "warehouse": "WC", "status": "CO", "inventoryTransactionType": "PUT-TR", "user": "AWOQAAdmin", "product": "Ale Beer", "product_info": { "searchKey": "US/0001", "name": "Ale Beer", "id": "F4901CE835DA4353831DEF0396C9054E" }, "expectedQuantity": 5, "confirmedQuantity": 4, "UOM": "Unit", "expectedBinFrom": "AWOCountTest0002", "confirmedBinFrom": "AWOCountTest0002", "expectedBinTo": "Beverage101", "confirmedBinTo": "Beverage101", "batchOfTasks": "1000155", "priority": 100, "taskType": "PA", "internalRouting": "STGn-STGn/MC", "behaveAsGroup": false, "behaveAsGroupWithHandlingUnit": false, "movementLine": "B80DE10ED8DA461D906257D4B2ECE208", "movementLine_info": { "id": "B80DE10ED8DA461D906257D4B2ECE208", "lineNo": 10, "documentNo": "10000085" }, "pickingList": "AWOPLST1000095", "deltaResponse": "RAISE", "stockIncidents": [ { "organization": "US", "documentType": "Stock Incident", "documentNo": "SI1000001", "warehouse": "WC", "date": "2024-07-17", "product": "US/0001", "uOM": "Unit", "quantity": 2, "bin": "Beverage101", "markDown": false, "destroyed": false, "incidentReason": "D", "sourceTask": { "warehouse": "US West Coast", "status": "CO", "inventoryTransactionType": "Put-Away StorageDetail", "organization": "US West Coast", "active": true, "userContact": "AWOQAAdmin", "product": "Ale Beer", "expectedQuantity": 5, "expectedLocatorFrom": "AWOCountTest0002", "expectedLocatorTo": "Beverage101", "confirmedQuantity": 4, "confirmedLocatorFrom": "AWOCountTest0002", "confirmedLocatorTo": "Beverage101", "uOM": "Unit", "taskType": "PA - Goods PutAway - 100 - 10", "internalRouting": "STGn to STGn, ManConf - STGN - Storage - Non Public - US West Coast - STGN - Storage - Non Public - US West Coast", "movementLine": "10 - 4 - 10000085 - 17-07-2024_US/0001_AWOCountTest0002_Beverage101_PUT", "batchOfTasks": "1000155", "warehousePickingList": "AWOPLST1000095 - AWO Picking List" }, "documentStatus": "DR" } ], "id": "6E49ABDE00154A328CAC11C90F6141B7" } but it should be: { "warehouse": "WC", "status": "CO", "inventoryTransactionType": "PUT-TR", "user": "AWOQAAdmin", "product": "Ale Beer", "product_info": { "searchKey": "US/0001", "name": "Ale Beer", "id": "F4901CE835DA4353831DEF0396C9054E" }, "expectedQuantity": 5, "confirmedQuantity": 4, "UOM": "Unit", "expectedBinFrom": "AWOCountTest0002", "confirmedBinFrom": "AWOCountTest0002", "expectedBinTo": "Beverage101", "confirmedBinTo": "Beverage101", "batchOfTasks": "1000155", "priority": 100, "taskType": "PA", "internalRouting": "STGn-STGn/MC", "behaveAsGroup": false, "behaveAsGroupWithHandlingUnit": false, "movementLine": "B80DE10ED8DA461D906257D4B2ECE208", "movementLine_info": { "id": "B80DE10ED8DA461D906257D4B2ECE208", "lineNo": 10, "documentNo": "10000085" }, "pickingList": "AWOPLST1000095", "deltaResponse": "RAISE", "stockIncidents": [ { "documentNo": "SI1000001", "date": "2024-07-17", "incidentReason": "D" } ], "id": "6E49ABDE00154A328CAC11C90F6141B7" } | ||||||||||||||||||||
Proposed Solution | |||||||||||||||||||||
Additional Information | |||||||||||||||||||||
Tags | No tags attached. | ||||||||||||||||||||
Relationships |
| ||||||||||||||||||||
Attached Files | |||||||||||||||||||||
Issue History | |||||||||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||||||||
2024-09-18 10:24 | vmromanos | New Issue | |||||||||||||||||||
2024-09-18 10:24 | vmromanos | Assigned To | => Triage Platform Conn | ||||||||||||||||||
2024-09-18 10:39 | vmromanos | Relationship added | related to 0056485 | ||||||||||||||||||
2024-09-19 09:39 | adrianromero | Assigned To | Triage Platform Conn => caristu | ||||||||||||||||||
2024-09-19 09:39 | adrianromero | Status | new => acknowledged | ||||||||||||||||||
2024-09-27 08:52 | hgbot | Note Added: 0169669 | |||||||||||||||||||
2024-09-27 11:16 | hgbot | Note Added: 0169680 | |||||||||||||||||||
2024-10-11 13:08 | hgbot | Note Added: 0170280 | |||||||||||||||||||
2024-10-11 13:11 | hgbot | Note Added: 0170281 | |||||||||||||||||||
2024-10-11 13:12 | hgbot | Note Added: 0170282 | |||||||||||||||||||
2024-10-11 13:14 | hgbot | Note Added: 0170283 | |||||||||||||||||||
2024-10-11 13:16 | hgbot | Note Added: 0170284 | |||||||||||||||||||
2024-10-11 13:17 | hgbot | Note Added: 0170285 | |||||||||||||||||||
2024-10-11 13:18 | hgbot | Note Added: 0170286 | |||||||||||||||||||
2024-10-11 13:20 | hgbot | Note Added: 0170287 | |||||||||||||||||||
2024-10-11 13:22 | hgbot | Note Added: 0170288 | |||||||||||||||||||
2024-10-11 13:24 | hgbot | Note Added: 0170289 | |||||||||||||||||||
2024-10-11 13:27 | hgbot | Note Added: 0170290 | |||||||||||||||||||
2024-10-11 13:28 | hgbot | Note Added: 0170291 | |||||||||||||||||||
2024-10-18 08:08 | hgbot | Note Added: 0170552 | |||||||||||||||||||
2024-10-18 08:10 | hgbot | Note Added: 0170553 | |||||||||||||||||||
2024-10-18 08:14 | hgbot | Note Added: 0170554 | |||||||||||||||||||
2024-10-18 10:09 | caristu | Relationship added | related to 0054979 | ||||||||||||||||||
2024-10-18 10:19 | caristu | Relationship added | related to 0048665 | ||||||||||||||||||
2024-10-18 10:19 | caristu | Relationship deleted | related to 0054979 |