Get UD field in in-transaction BPM

Db.PartLot will include the UD fields defined on PartLot_UD. You will need to access them using either of the following accessors:

var myValue = Frozen.UDField<TypeOfYourUDField>("NameOfYourUDField");
var myValue = Frozen["NameOfYourField"].ToString(); // Use Convert methods if it's an Int, Decimal, Boolean, etc.

Edit – See the post linked here: BPM and UD field questions/issues - #2 by jgiese.wci

1 Like