Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0056485Openbravo ERP04. Warehouse managementpublic2024-09-17 17:532024-09-30 09:23
vmromanos 
vmromanos 
normalmajorN/A
closedfixed 
5
 
 
AtulOpenbravo
Core
No
0056485: [RM-16264] OBAWOTask API entity mapping refactor
The existing OBAWOTask entity mapping is not properly defined.
It has missing properties, some not necessary properties, and there are some properties that are not following the standards, for example to make reference to the search key instead of the name.
This is an example of an OBAWOTask:

{
      "warehouse": "US East Coast",
      "status": "CO",
      "inventoryTransactionType": "Box-Planned StorageDetail",
      "organization": "US East Coast",
      "active": true,
      "userContact": "Openbravo",
      "product": "Apple",
      "expectedQuantity": 10,
      "expectedAttribute": "Few_Red",
      "expectedLocatorFrom": "SHP301",
      "expectedLocatorTo": "SHP301",
      "expectedMRefinventory": "BB1000000 - Big Box",
      "confirmedQuantity": 10,
      "confirmedAttribute": "Few_Red",
      "confirmedLocatorFrom": "SHP301",
      "confirmedLocatorTo": "SHP301",
      "uOM": "Unit",
      "taskType": "BXi - Box - 0 - 0",
      "internalRouting": "BXi,SHP/MC - SHP - Shipping - US East Coast - SHP - Shipping - US East Coast",
      "movementLine": "10 - 10 - 10000074 - 09-03-2018_Apple_SHP301_SHP301_BXP",
      "batchOfTasks": "1000123",
      "id": "01361A151A9C4FAD8CCB5E004EF1013C"
    }

See there are properties identified by the name, like warehouse and inventoryTransactionType.

There are properties not following the standards for the stock related APIs, like for example product.

The attribute related properties don't use the right object but the description.

There are properties that make no sense, like for example organization.

There are missing properties, like for example confirmedMRefinventory, which btw should be renamed to handling unit.

The identifiers for the documents, like for example movementLine, should be an object.
The OBAWOTask should be deprecated and replaced by a new SSMSTask API with a proper definition.
No tags attached.
related to feature request 0056486 acknowledged caristu Modules OneToManyEntityPropertyMapping doesn't respect Selected Properties On Entity Referencing 
caused by feature request 0052912 closed ruben_jimenez Openbravo ERP [RM-6692] Push Events for API to send Task information based on Routing Configuration 
Issue History
2024-09-17 17:53vmromanosNew Issue
2024-09-17 17:53vmromanosAssigned To => vmromanos
2024-09-17 17:53vmromanosModules => Core
2024-09-17 17:53vmromanosTriggers an Emergency Pack => No
2024-09-17 17:53vmromanosIssue generated from0052912
2024-09-17 17:53vmromanosRelationship addedcaused by 0052912
2024-09-17 17:54vmromanosStatusnew => acknowledged
2024-09-18 10:39vmromanosRelationship addedrelated to 0056486
2024-09-18 14:38vmromanosSummary[RM-16265] OBAWOTask API entity mapping refactor => [RM-16264] OBAWOTask API entity mapping refactor
2024-09-19 09:03vmromanosStatusacknowledged => scheduled
2024-09-30 09:21vmromanosNote Added: 0169752
2024-09-30 09:22vmromanosStatusscheduled => resolved
2024-09-30 09:22vmromanosFixed in SCM revision => 100f2deef0b2342422f5a1bb0e49fb2777be661c
2024-09-30 09:22vmromanosResolutionopen => fixed
2024-09-30 09:23vmromanosReview Assigned To => AtulOpenbravo
2024-09-30 09:23vmromanosStatusresolved => closed

Notes
(0169752)
vmromanos   
2024-09-30 09:21   
See MR https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations.api/-/merge_requests/16 [^]