PdcStatusManagement.UndoManualStatus

From External Bemet Wiki
Revision as of 14:22, 23 June 2023 by TC (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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)