ProjWorkerLookup::validateWorker Method [AX 2012]

Determines whether a given ProjWorkerRecId is valid under the filter restrictions of the lookup object.

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 validateWorker(
            ProjWorkerRecId _workerRecId, 
           [Common _record, 
            boolean _lockLegalEntityFilters])

  Microsoft Dynamics AX 2012 R2 (SYS)
          client server public static boolean validateWorker(ProjWorkerRecId _workerRecId, [Common _record])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          client server public static boolean validateWorker(ProjWorkerRecId _workerRecId, [Common _record])

  Microsoft Dynamics AX 2012 (FPK)
          client server public static boolean validateWorker(ProjWorkerRecId _workerRecId, [Common _record])

  Microsoft Dynamics AX 2012 (SYS)
          client server public static boolean validateWorker(ProjWorkerRecId _workerRecId, [Common _record])

Run On

Called

Parameters

_workerRecId
Type: ProjWorkerRecId Extended Data Type
The record ID of the HcmWorker to validate.
_record
Type: Common Table
A table buffer.
_lockLegalEntityFilters
Type: boolean

Return Value

Type: boolean
true if the worker is valid under the filter restrictions; otherwise, false.
Show: