Openbravo Issue Tracking System - Retail Modules
View Issue Details
0058262Retail ModulesRetail APIpublic2025-03-17 17:522025-03-27 11:56
kchoperena 
Triage Omni WMS 
highmajoralways
closedduplicate 
5
 
 
OBPS
No
0058262: UpdatedDate of the inventory lines is not correctly filled while importing big Inventories through API
https://livebuilds.openbravo.com/context/retail_pos2_modules_pgsql/api?urls.primaryName=Business+API+-+Transactional+Data#/Inventory/Import_Inventory [^]

The IMPORT inventory API allows us to import from an external system inventories. Normally, in an initial data load the inventories are so big because the client synchronizes the whole inventory between the systems

In these cases, we notice that the UpdatedDate is not filled correctly as there are registers with a creation date later than the updated one

The side problem of this issue, which has a big impact, is that the stock transactions are triggered using the Multiple Record Event Triggering Process which checks the updated date to decide which records need to be triggered. So what can happen is that when the inventory is importing and at the same time the process running, some records are not sent to the external system
Import a large enough inventory using the API to spend processing more than a millisecond

 The creation date and update data should be the same in the import process of an inventory
No tags attached.
png Screenshot from 2025-03-17 17-41-59.png (139,103) 2025-03-17 17:52
https://issues-new.openbravo.com/file_download.php?file_id=21056&type=bug
png
Issue History
2025-03-17 17:52kchoperenaNew Issue
2025-03-17 17:52kchoperenaAssigned To => Retail
2025-03-17 17:52kchoperenaFile Added: Screenshot from 2025-03-17 17-41-59.png
2025-03-17 17:52kchoperenaOBNetwork customer => OBPS
2025-03-17 17:52kchoperenaTriggers an Emergency Pack => No
2025-03-17 17:55kchoperenaDescription Updatedbug_revision_view_page.php?rev_id=29378#r29378
2025-03-18 06:49guillermogilAssigned ToRetail => Triage Omni OMS
2025-03-18 12:52aferrazAssigned ToTriage Omni OMS => Triage Omni WMS
2025-03-18 12:56kchoperenaTypedesign defect => defect
2025-03-27 11:56hgbotNote Added: 0177334
2025-03-27 11:56hgbotStatusnew => closed
2025-03-27 11:56hgbotResolutionopen => duplicate

Notes
(0177334)
hgbot   
2025-03-27 11:56   
Issue exported to Jira: https://openbravo.atlassian.net/browse/RM-24066 [^]