MyChat Scripts: function mKanbanGetProjectIDByStageID — get Kanban project ID by its stage ID
Get the the Kanban project ID by its stage number.
Syntax
function mKanbanGetProjectIDByStageID(const iStageID: integer): integer;
Parameters and return values
Parameter |
Type |
Value |
iStageID |
integer |
stage ID, number |
Function result
>0 |
ID of the found project; |
-2 |
incorrect or non-existent stage ID. |