This method checks the record from the sys_vcs_local_pack table if it has referenced current* records from the sys_vcs_record table.
*the current records have the isCurrent attribute TRUE.
Проверяет, есть ли у записи из sys_vcs_local_pack ссылающиеся current записи(у которых атрибут isCurrent истинный) из sys_vcs_record, принимает int localPackId, возвращает true если есть current(текущие, актуальные) записи, иначе false.
Parameter(s):
Name
Type
Mandatory
Default Value
localPackId
Integer
Y
N
Return:
Type
Description
Boolean
The method returns TRUE if it finds current records; otherwise, returns FALSE.
Example:
isLocalPackHasReferences
let vcsLocalPackId = 156144163704236641;
let vcs = new SimpleVcsApi();
if (vcs.isLocalPackHasReferences(vcsLocalPackId)) {
ss.addInfoMessage('Local Pack has current VCS records');
}