PdcStatusManagement.ActiveStatusInfo

From External Bemet Wiki
Revision as of 12:03, 21 May 2012 by Mike (talk | contribs) (Created page with "== Declaration == ActiveStatusInfo as PdcStatusInfo == Description == == Notes == This property returns the active status info object. This property is filled during th...")
(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.StatusInfo.ActiveStatusInfo
  msgbox "Cn: " & objStat.CalculationNo
  msgbox "Cur: " & objStat.CurrentStatus
  msgbox "Prev: " & objStat.PreviousStatus
  set objStat = nothing

Availability

Available since version 4.3 onwards.