EP::isVendor Method [AX 2012]

Determines whether the current user is a vendor.

NoteNote

The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.


  Microsoft Dynamics AX 2012 R3
          client server public static boolean isVendor([boolean _useCache])

  Microsoft Dynamics AX 2012 R2 (SYS)
          client server public static boolean isVendor([boolean _useCache])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          client server public static boolean isVendor()

  Microsoft Dynamics AX 2012 (FPK)
          client server public static boolean isVendor()

  Microsoft Dynamics AX 2012 (SYS)
          client server public static boolean isVendor()

Run On

Called

Parameters

_useCache
Type: boolean

Return Value

Type: boolean
true if the user is a vendor; otherwise, false.

This method uses the user relation in the UserExternalParty table to determine whether there is a relationship between the current user and a vendor.

Reference

Show: