Venice
POrderDet::IsFieldPublic
 
Is the field public?
 
VARIANT_BOOL IsFieldPublic (
    enum ePOrderDetFld eFieldID
)
 
Parameters
eFieldID
[in] Identifier of the field, e.g. prdfSysNum (C++) or ePOrderDetFld.prdfSysNum (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
CreatePOrderDet
 
Samples
 
C++
 
if (pPOrderDet->IsFieldPublic (prdfSysNum))
    // This field can be updated.

C#
 
if (oPOrderDet.IsFieldPublic (ePOrderDetFld.prdfSysNum))
    // This field can be updated.

VBS
 
If oPOrderDet.IsFieldPublic(oPOrderDet.GetFieldID("SysNum")) Then
    ' This field can be updated.
End If

VB.NET
 
If oPOrderDet.IsFieldPublic(ePOrderDetFld.prdfSysNum) Then
    ' This field can be updated.
End If