| iiSessionId | input | integer | The unique ID of the session this method needs to use to retrieve the correct value of an session dependent cached data item. |
| icDataItemName | input | character | The name of the session dependent cached integer type item for which the value needs to be returned. |
| oiValue | output | integer | The value of the cached session dependent integer data item with the name specified in icDataItemName. |
| oiReturnStatus | output | integer | Return status of the method. |
BLF
QadFinancials
<M-4 run UpdateSessionData (input iiSessionId (iiSessionId),
output oiReturnStatus (oiReturnStatus)) in Cacher>
if oiReturnStatus <> 0 then return.
find tCachedData where
tCachedData.tcName = icDataItemName and
tCachedData.tcDataType = "i"
no-error.
if available tCachedData
then assign oiValue = tCachedData.tiIntValue.
else assign oiValue = ?.