project BLF > class PMfgPro > method GetQADContextProperty

function returns character

Description

Purpose: Return the value of a QAD-reserved session context property.
This function wraps getContextProperty() in order to simplify its signature.


Parameters


icPropertyNameinputcharacter


Internal usage


BLF
method PMfgPro.CallService
method PMfgPro.StoreSIExceptions


program code (program1/pmfgpro.p)

find first tContext where
           tContext.tcPropertyQualifier = "QAD":U and 
           tContext.tcPropertyName = icPropertyName no-error.

/* Reset ERROR-STATUS handle */
assign viCnt = 0 no-error.

if available tContext
then return (if tContext.tcPropertyValue = ? then "" else tContext.tcPropertyValue).
else return ?.