project BLF > class Session > method GetIntegerValue

Description

Read the value of any integer data item in the session component.


Parameters


icNameinputcharacterName of the data item.
oiValueoutputintegervalue of the data item
oiReturnStatusoutputintegerReturn status of the method.


Internal usage


BLF
method Session.ApplicationLogin
method Session.GetWorkAssistantObjects
method Session.SwitchCompany

QadFinancials
method BCOAMaskCC.ApiLoadCOAMaskCC
method BCOAMaskCC.DataLoadByInput
method BCOAMaskCC.InitialValues
method BCOAMaskCC.InitUI
method BCOAMaskCC.SetNewStatus
method BCOAMaskCC.ValidateComponentPost
method BCOAMaskCC.ValidateComponentPre
method BCOAMaskDiv.ApiLoadCOAMaskDiv
method BCOAMaskDiv.DataLoadByInput
method BCOAMaskDiv.InitialValues
method BCOAMaskDiv.InitUI
method BCOAMaskDiv.SetNewStatus
method BCOAMaskDiv.ValidateComponentPost
method BCOAMaskDiv.ValidateComponentPre
method BCOAMaskProj.ApiLoadCOAMaskProj
method BCOAMaskProj.DataLoadByInput
method BCOAMaskProj.InitialValues
method BCOAMaskProj.InitUI
method BCOAMaskProj.SetNewStatus
method BCOAMaskProj.ValidateComponentPost
method BCOAMaskProj.ValidateComponentPre
method BDebtorReport.GetBusinessFields2
method BDebtorReport.GetBusinessFields3
method BDivision.ApiLoadDivision
method Session.GetDecimalSettings
method TOpenSSL.SignStringUsingOpenSSL


program code (program1/session.p)

find tDataItems where
     tDataItems.tcName     = icName and
     tDataItems.tcDataType = "i":U  no-error.
if available tDataItems
then assign oiValue = tDataItems.tiIntValue.
else assign oiValue = ?.