cancel
Showing results for 
Search instead for 
Did you mean: 

Track item and inventory changes

0 Kudos

Hi,

Does anyone of you have any good solution for tracking changes on item and its inventory for syncing data to external system?

In other projects (Non SBO) I have used SQL Change Tracking with change version on the tables I want to track, but SBO does not allow me to use this when upgrading/pre-upgrade (also this does not exists on HANA i think?).

I have tried to use SBO_SP_PostTransactionNotice and it works fine for Item data updates, but not for inventory updates.

So for summarizing my question:

How can I find out that my inventory has changed and it needs to be resynced with external system?

Accepted Solutions (1)

Accepted Solutions (1)

edy_simon
Active Contributor
0 Kudos

Hi Kenny,

If you have installed SBO Integration service, you could use the B1iF for your purpose for Item Master Data tracking.

If setup properly, any 'Add'/'Update' of Item Master will trigger the integration framework.

As for Inventory changes, this is more complex, there is no notification of changes in stock status.

You will need to set up the integration framework to handle all inventory related transaction, such as Good Issue, Received, AR Invoice without DO, DO, AR CN with return of inventory, Inventory posting etc.

Regards

Edy

Answers (1)

Answers (1)

former_member183373
Active Participant
0 Kudos

Hi Kenny,

I don't know would that be helpful in your case but you can check "UpdateDate" field in "OITM" or you can check the "AITM" table to track the changes in "OITM". If you make changes on an item master data previous record will be saved in "AITM".

Regards,
Atilla

0 Kudos

Hi Atilla,

Thanks for your answer.

I have tried that solution to, but my problem is that OITM don't have any timestamp, only date.

My goal is to be able to sync the changed data on short interval (~1 min).

If there was an UpdatedTime it would be helpful, but there is no such field

I just want to make an call like:

"GetUpdatedItems" with one parmeter (timestamp or changeversion).

Regars,

Kenny

former_member183373
Active Participant
0 Kudos

Hi Kenny,

Only way I can think of is putting your own timestamp to a user defined field by using DataAddAfter and DataUpdateAfter event on the system form.

Here is how I done in my scenario. I added a field named "U_ISSYNC" which has default value "0". Also I added a code block under the DataUpdateAfter event of the form I'am working with that sets "U_ISSYNC" value = "0" any time a data is updated. This way I always know whether the record is synchronized or not and I set "U_ISSYNC" to "1" when I run the integration code successfuly.

However this the most obvious way. I also be following this topic in case someone shows a better alternative.

Regards,
Atilla