<< Click to Display Table of Contents >> Navigation: Modules > Asset Management > Software License Management > Authorization Analyzer (Complex license types) > AA Functions > Func22_CheckCondition |
Description
This function returns the result of a condition. It supports the use of conditions based on the key input values: asset ID, MSLno, instance, customer number, and site number.
Inputs
Parameter |
Explanation |
---|---|
Condition number to check |
Condition number to check. |
Key to use for lookup |
Condition key where: AssetID = 1 MSLno = 2 AssetIDxMSLno = 3 CustNo = 4 SiteNo = 5
|
Outputs
Result |
Result Explanation |
Confidence Adjustment |
Return Value |
---|---|---|---|
True |
If the condition returns true. |
|
-1 |
False |
If the condition returns false. |
|
0 |
Else |
If the condition key (iParmVal2) is not one of the 5 allowed values. If no condition number (iParmVal1) is configured. If a runtime error is encountered. |
Y |
0 |