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

C#
 
if (oSOfferDet.IsFieldVirtual (eSOfferDetFld.sodfSysNum))
    // This field can not be updated.

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

VB.NET
 
If oSOfferDet.IsFieldVirtual(eSOfferDetFld.sodfSysNum) Then
    ' This field can not be updated.
End If