Developer forum

Forum » Integration » Stock location integration

Stock location integration

Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi guys,

I have a project where I need to synchronize stock information for several locations once every half an hour.

I get an XML from NAV with all information necessary and we can safely save it to the database using DataIntegration and DynamicwebProvider but we have noticed that the stock information is not updated, even though the information in the database has changed.

I suppose there is some sort of caching that we might need to reset after the update job runs.

Anyone can point me towards the best approach for handling stock updates?

Thank you,
Adrian


Replies

 
Dmitriy Benyuk Dynamicweb Employee
Dmitriy Benyuk
Reply

Hi Adrian,
You can try to call the:
Dynamicweb.Ecommerce.Stocks.StockService.ClearCahe()
method after your data integration job has run.
Kind regards, Dmitrij

 

You must be logged in to post in the forum