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

C#
 
if (oPOfferDet.IsFieldVirtual (ePOfferDetFld.podfSysNum))
    // This field can not be updated.

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

VB.NET
 
If oPOfferDet.IsFieldVirtual(ePOfferDetFld.podfSysNum) Then
    ' This field can not be updated.
End If