Venice
SInvceDet::IsFieldVirtual
 
Is the field virtual?
 
VARIANT_BOOL IsFieldVirtual (
    enum eSInvceDetFld eFieldID
)
 
Parameters
eFieldID
[in] Identifier of the field, e.g. sidfSysNum (C++) or eSInvceDetFld.sidfSysNum (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
CreateSInvceDet
 
Samples
 
C++
 
if (pSInvceDet->IsFieldVirtual (sidfSysNum))
    // This field can not be updated.

C#
 
if (oSInvceDet.IsFieldVirtual (eSInvceDetFld.sidfSysNum))
    // This field can not be updated.

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

VB.NET
 
If oSInvceDet.IsFieldVirtual(eSInvceDetFld.sidfSysNum) Then
    ' This field can not be updated.
End If