Zum Hauptinhalt springen

ensureNextReleaseUserIsRequiredInCaseOfSubstitute

ensureNextReleaseUserIsRequiredInCaseOfSubstitute(releaseList, currentReleaseEntry, file, currentReleaseUserSubstitute): void

If the current release user is a substitute and not allowed to relase the amount, this function ensures that the next release user is set to required if they are not already. In case there is no user that is already required or no user to be set to required, an error is thrown.

Parameters

releaseList

ReleaseEntry[]

currentReleaseEntry

ReleaseEntry

file

ptpRequest

currentReleaseUserSubstitute

string

Returns

void