InventSum recalculation for specific item

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 InventSumRecalcItem;

;

InventSumRecalcItem = new InventSumRecalcItem(“itemnumberid”, true, checkfix::fix);

InventSumRecalcItem.updatenow();

}

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s