PdcStatusManagement.ActiveStatusInfo: Difference between revisions
Jump to navigation
Jump to search
Created page with "== Declaration == ActiveStatusInfo as PdcStatusInfo == Description == == Notes == This property returns the active status info object. This property is filled during th..." |
|||
Line 15: | Line 15: | ||
dim objStat | dim objStat | ||
set objStat = pdc.Calculations. | set objStat = pdc.Calculations.StatusManagement.ActiveStatusInfo | ||
msgbox "Cn: " & objStat.CalculationNo | msgbox "Cn: " & objStat.CalculationNo | ||
msgbox "Cur: " & objStat.CurrentStatus | msgbox "Cur: " & objStat.CurrentStatus |
Latest revision as of 12:39, 11 February 2013
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.