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

C#
 
if (oSales.IsFieldPublic (eSalesFld.salfSysNum))
    // This field can be updated.

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

VB.NET
 
If oSales.IsFieldPublic(eSalesFld.salfSysNum) Then
    ' This field can be updated.
End If