project BLF > class CustomizationController > method IsCustomized

function returns logical

Description

This function returns true or false dependent on the fact that for the business component (as specified in icComponentName) customization code is active or not.


Parameters


icComponentNameinputcharacterThe name of the component for which the function needs to check if its customized or not. It is always of the format "<buscomp>.p". For example "bjournal.p".
icUserDefinedContextinputcharacter


Internal usage


BLF
method ComponentPool.StartComponentInPool


program code (program1/customizationcontroller.p)

if icComponentName = "bcustom"
then assign icComponentName = icComponentName + "[" + lc(icUserDefinedContext) + "]".

return can-find(first tCustomizedComponent where
                      tCustomizedComponent.tcComponentName = icComponentName and
                      tCustomizedComponent.tlIsValid <> no).