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

C#
 
if (oWarehouse.IsFieldPublic (eWarehouseFld.wrhfSysNum))
    // This field can be updated.

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

VB.NET
 
If oWarehouse.IsFieldPublic(eWarehouseFld.wrhfSysNum) Then
    ' This field can be updated.
End If