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

C#
 
if (oPurch.IsFieldPublic (ePurchFld.purfSysNum))
    // This field can be updated.

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

VB.NET
 
If oPurch.IsFieldPublic(ePurchFld.purfSysNum) Then
    ' This field can be updated.
End If