Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

How to set Tracked and Is tracked properties of variant in inventory tab to true by default?

Vote:
 

How to set Tracked and Is tracked properties of variant in inventory tab to true by default? I have set TrackInventory = true in SetDefaultValues method which makes only the first one checked.

#215902
Jan 17, 2020 7:20
Vote:
 

Hi Muller,

The statement "TrackInventory = true" is only set the inventory should be tracked.

To set IsTracked for a variant of each warehouse, you have to use IInventoryService.Save(IEnumerable<InventoryRecord>).

Best regards

GiangTran

#215907
Jan 17, 2020 9:45
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.