UD Fields in Updatable BAQ

Hello,

I’m trying to create an updatable BAQ which will be used to update some UD fields on the Customer record. I’ve created the BAQ, but when I try and set it to be updatable I’m getting the below errors relating to the UD field.

Update.Base.##BASE##.cs(95,17): error CS0117: ‘CustomerRow’ does not contain a definition for ‘ShortChar06’
Update.Base.##BASE##.cs(123,58): error CS1061: ‘CustomerRow’ does not contain a definition for ‘ShortChar06’ and no extension method ‘ShortChar06’ accepting a first argument of type ‘CustomerRow’ could be found (are you missing a using directive or an assembly reference?)

I’ve had a look into the system generated BPM, but I haven’t been able to work out how to include any UD fields. Please could somebody point me in the right direction?

What version are you on?

Can you show your BAQ? Can you run your BAQ with updatable being not selected? do you have a result as expected?

Pierre

Hello Pierre,

Thank you for your response.

I think I’ve worked out where I was going wrong - I have to use SetUDField to make changes to my UD field.