PdcStatusManagement.CalcStatus

From External Bemet Wiki
Jump to navigation Jump to search

Declaration

CalcStatus(strCalcNr As String)

Description

This method changes the status of a calculation. This can be used for both manual or automatic statuses.

Notes

This method changes the status of a calculation. This can be used for both manual or automatic statuses.

Code example

This code example first checks which status the calculation would get after saving an invoice with the specified lines. And then checks if this calculation is allowed to have that status.

  PDC.App.Calculations.StatusManagement.CalcStatus(strCalcnr)

Availability

Available since August 2020 (From version 5.6)