As an FYI for anyone following this thread, the users have reported that line entry is much better.
All I did was stop the full inventory instantiating, and just used
- Code: Select all
string myCustomField = JiwaFinancials.Jiwa.JiwaApplication.CustomFields.CustomFieldValueCollection.ReadCustomFieldValue(salesOrder.Manager,"IN_CustomSettingValues","InventoryID","SettingID", "SettingID","IN_CustomSetting",item.InventoryID, "MyCustomField" );
Furthermore with this newfound knowledge, I've replaced similar code in a few other plugins.
Big thanks to Scott & Mike.