PdcStatusManagement.CalcStatus

From External Bemet Wiki
Revision as of 11:45, 7 July 2020 by TC (talk | contribs) (Created page with "== Declaration == CalcStatus(strCalcNr As String) == Description == This method changes the status of a calculation. This can be used for both manual or automatic statuses. ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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)