- Code: Select all
JiwaFinancials.Jiwa.JiwaApplication.Manager manager = item.Manager;
JiwaFinancials.Jiwa.JiwaInventory.Inventory inventory = manager.BusinessLogicFactory.CreateBusinessLogic<JiwaFinancials.Jiwa.JiwaInventory.Inventory>(null);
inventory.Read(item.InventoryID);
but I don't know the correct syntax to get to the data in the Figures tab, i.e. the MinSOH, Safety Min and Safety Max.
I assume it's something like
- Code: Select all
inventory.OrderLevels
- Code: Select all
inventory.Months
Neither of those properties have subproperties to read and write the values for MinSOH, Safety Min and Safety Max.
Of course I can do it the cheats way and just do a SQL SELECT or UPDATE but I figure I could do it via the object model. Or do I just go down the SQL way?