7.23.1044

Navigation:  7.23 (QDV 2023) >

7.23.1044

Previous pageReturn to chapter overviewNext page

Released on February 23, 2023

Bug fix: Wrong handling of global variables with a dot character in name by requests and macros

Reading and writing global variables in requests failed, if the variable name contained a dot character after an underscore, for example "GLV_.abc". The following line in a request failed for such variable:

GlobalVariables.[GLV____abc] = "abcdef"

Moreover, global variable dots in their names couldn’t be created with the API (macros), for example, IGlobalVariables.SetVariable() with name "GLV_.abc".

Notice that global variables must start with a dot when we need to access them from the Formula_For_Quantity field (F2).

New: Added ICallingContext.Refresh() method in the API (macros).

The new ICallingContext.Refresh() method refreshes the calling context. A calling context is created, initialized and passed to a macro, when the macro is started. Normally, it contains the UI status and the user selection which doesn't change during the macro execution. However, there may be cases when the user can interact with QDV and the macro needs to know the changed context. For example, the macro opens a non-modal form, in which case the user can get back to QDV, select a different tab, row or column. Calling this method will allow the macro the get the new selection.

Bug Fix: The feeding of the BOQ is done after the application of WBS to BOQ distribution

The feeding of the BOQ at compute-all time was carried out before the WBS to BOQ distribution. But the BOQ may use one of the columns resulting from this distribution. So now, when such distribution is implemented we feed the BOQ again after the distribution is effective (so we feed the BOQ twice in this case – this could add processing time but prevents needs for double calculation)