PdcStatusManagement.ActiveStatusInfo

From External Bemet Wiki
Jump to navigation Jump to search

Declaration

ActiveStatusInfo as PdcStatusInfo

Description

Notes

This property returns the active status info object. This property is filled during the userexits 'SCR_CALCAFTERSTATUSCHANGE' and 'SCR_CALCTRYSTATUS'.

Code example

This code example shows the calculationnumber, current status and previous status of the active status object.

dim objStat

  set objStat = pdc.Calculations.StatusManagement.ActiveStatusInfo
  msgbox "Cn: " & objStat.CalculationNo
  msgbox "Cur: " & objStat.CurrentStatus
  msgbox "Prev: " & objStat.PreviousStatus
  set objStat = nothing

Availability

Available since version 4.3 onwards.