care.emr.resources.inventory.inventory_item.sync_inventory_item module

Inventory Item needs to be synced to track the current availability The current availability can change based on the dispense and delivery in the system

sync_inventory_item(location, product)

Sync the inventory item to track the current availability Current availability = Delivery Requests completed at location with inventory item - Delivery Requests in progress from this location - Dispense Requests created from this location