PdcStatusManagement.UndoManualStatus: Difference between revisions

From External Bemet Wiki
Jump to navigation Jump to search
Created page with "== Declaration == UndoManualStatus(strCalcNr As String) As String == Description == This function will undo the last status of the calculation if this is a manual status. It..."
 
No edit summary
 
Line 6: Line 6:


== Notes ==
== Notes ==
 
If the current status cannot be undone for any reason, this function will return an empty string.


== Code example ==
== Code example ==

Latest revision as of 14:22, 23 June 2023

Declaration

UndoManualStatus(strCalcNr As String) As String

Description

This function will undo the last status of the calculation if this is a manual status. It will return the statusID of the resulting calculation status.

Notes

If the current status cannot be undone for any reason, this function will return an empty string.

Code example

Dim CalcNr As String = tbCalcNr.Text
Dim result As String = PDC.App.Calculations.StatusManagement.UndoManualStatus(CalcNr)

Availability

Available since July2023 (From version 2023R4)