Question

Updatable Calculated Field in a Updatable BAQ

  • 6 January 2022
  • 1 reply
  • 380 views

  • Anonymous
  • 0 replies

I’m currently in the process of creating a updatable BAQ. In that BAQ, I created some calculated fields. How does one go about updating a calculated field? I’ve selected a calculated field to be updatable in General Properties under Update.  I’m having trouble in the Update Processing section because I can’t seem to select calculated field as a business object since it doesn’t have a UpdateExt method. Does this mean I have to create some custom code in the BPM directives configuration? 

 

 


1 reply

Userlevel 3

Hmmm. I’m not sure you can, or want to, update a calculated field in a UBAQ. 

Presumably you took one or more database fields to compute a new calculated field. That calculated field exists only within the BAQ. If you want to update that calculated value, you would need to update the underlying values in the database with a BO UpdateExt method, then let the calculation be updated within the BAQ. At least that’s the way I see it at this point.

Reply