May 2017
Intermediate to advanced
442 pages
11h 55m
English
To create a query function, follow these steps:
[QueryRangeFunction] public static str CurrentWorkerNum() { RefRecId currentWorkerRecId = HcmWorkerLookup::currentWorker(); HcmWorker worker; if(currentWorkerRecId == 0) { // if we return and empty string, it will match all // records. So return a string that will both cause // the no records to be found in the query range, // but also to give the user a clue as to what // happened. You should create this as a label, // without spaces, us the following as an example. return ...Read now
Unlock full access