Sometimes you might end up breaking InventSum due to different customizations. To try to fix it, InventSum might need to be recalculated. Recalculating InventSum for one item can be done through simple job. Below you can see created job which recalculate InventSum for specific item.
static void Job_ InventSumRecalcItem(Args _args)
InventSumRecalcItem = new InventSumRecalcItem(“itemnumberid”, true, checkfix::fix);