cancel
Showing results for 
Search instead for 
Did you mean: 

Synch Inventory

Former Member
0 Kudos

Hi All,

Currently i'am working on a custom synch plugin to synchronize inventory.

The default inventory synch doesn't fit our needs.

We want to synchronize OnHand instead of (OnHand-IsCommitted+OnOrder) to Webtools

I looked at the code which was used in webtools to synchronize inventory (using dotnetreflector)

As far is i can see the synchronization of inventory is done in one action for all items / warehouses.

It's is done use direct select on the SAP BO Database.

It looks to me that if the inventory of 1 item changes the SynchManager doesn't change the inventory for just that item. The inventory from this specific will be updated when the complete inventory is updated.

Can anyone tell me if this is correct ?

Idealy i want to write a plugin which will be triggered to update the inventory of one item if the inventory of that item has changed in SAP BO.

If the description of an item is changed i get one record for it in the queue.

My assumption is that i won't get a record in the queue if the inventory is changed, is this correct ?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Martijn,

you're right - B1 gives notifications on an 'object' level, where object is an Item, Invoice, Delivery, Business Partner, etc. However, there is not a single object corresponding to an Inventory change. e.g. most Marketing Documents change the Inventory state one way or another, but the MD objects themselves are the ones that are marked updated, not the Item, nor Warehouse, nor some special 'Inventory Transfer' object. That's why the synch updates all the items on every synch, because it's impractical to attempt to determine which items might have their inventory state changed.

Regards,

Stefan

Answers (0)