Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Checks if user is authorized for the override.
Syntax
client server public static boolean isRoleValidForOverride(
SysSecurityRoleRecId _roleRefRecId,
real _percent,
FieldId _fieldID,
[real _marginPrice])
Run On
Called
Parameters
- _roleRefRecId
Type: SysSecurityRoleRecId Extended Data Type
The role to which the user is assigned.
- _percent
Type: real
The override percentage.
- _fieldID
Type: FieldId Extended Data Type
The FieldID that the override is related to.
- _marginPrice
Type: real
The margin price of the override.
Return Value
Type: boolean
true if the override is valid; otherwise, false.