Venice
Warehouse::IsFieldVirtual
 
Is the field virtual?
 
VARIANT_BOOL IsFieldVirtual (
    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->IsFieldVirtual (wrhfSysNum))
    // This field can not be updated.

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

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

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