Either the On Save does not like server side Code, in which case you can put it into a UD Method and call the method. See if that helps.
Otherwise, the UD table may not have all of the â€œmandatoryâ€ fields in it. I thought there were like 5 keys, in which case you just need include those fields and set them to empty strings.
From: firstname.lastname@example.org [mailto:email@example.com]
Sent: Friday, July 22, 2016 1:28 PM
Subject: RE: [Vantage] E10 Configurator
I'm trying to write code on the On Save.
Below is the code I am trying to use. It seems it gets angry with the Ice.Tables.UD08
using (var txScope = IceContext.CreateDefaultTransactionScope())
if (UD08 == null)
UD08 = newRow Ice.Tables.UD08();
newRow.Company = Context.CompanyID;
newRow.Key1 = Context.OrderNumber;
newRow.Key2 = Inputs.Engine.Label;
newRow.Character01 = Inputs.Engine.Value;