Venice
PerPay::IsFieldVirtual
 
Is the field virtual?
 
VARIANT_BOOL IsFieldVirtual (
    enum ePerPayFld eFieldID
)
 
Parameters
eFieldID
[in] Identifier of the field, e.g. perfSysNum (C++) or ePerPayFld.perfSysNum (C# / VB.NET).
 
Remark: In VBS, this field identifier enumerations cannot be used! You should use GetFieldID to get a valid field identifier.
 
See Also
CreatePerPay
 
Samples
 
C++
 
if (pPerPay->IsFieldVirtual (perfSysNum))
    // This field can not be updated.

C#
 
if (oPerPay.IsFieldVirtual (ePerPayFld.perfSysNum))
    // This field can not be updated.

VBS
 
If oPerPay.IsFieldVirtual(oPerPay.GetFieldID("SysNum")) Then
    ' This field can not be updated.
End If

VB.NET
 
If oPerPay.IsFieldVirtual(ePerPayFld.perfSysNum) Then
    ' This field can not be updated.
End If