PdcStatusManagement.ActiveStatusInfo

From External Bemet Wiki
Revision as of 12:39, 11 February 2013 by Root (talk | contribs) (Code example)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.