BPM Code to add Parent/Child UD1XX/UD1XXA data

,

Creating a new UDXX Recprd

using(var UD02svc = Ice.Assemblies.ServiceRenderer.GetService<Ice.Contracts.UD02SvcContract>(Db))
{
    UD02Tableset ds = new UD02Tableset();
	UD02svc.GetaNewUD02(ref ds);
	ds.UD02[0].Key1 = table;
	ds.UD02[0].Key2 = action;
	ds.UD02[0].Key3 = custNum;
	UD02svc.Update(ref ds);
}
2 Likes