PredefinedValue function usage specifics
This article describes the standards that apply to the PredefinedValue function usage. All of the listed recommendations are mandatory unless noted otherwise.
The PredefinedValue global context function is intended for getting references to predefined items of catalogs, charts of characteristic types, or charts of calculation types, enumeration values, or business process route points by their string names.
BusinessIndividual = PredefinedValue("Enum.BusinessIndividual.Business");
The main purpose of this function is getting predefined values in the script that is executed in the thin client or web client (where objects like CatalogManager.<Catalog name> and EnumManager<Enumeration name> are not available).
If String(BusinessIndividual) = "Business" Then
If BusinessIndividual = PredefinedValue("Enum.BusinessIndividual.Business") Then