_getJobRefLast

Returns the Last Job Reference Number, result is affected by the "Job Ref Method" setting.

Example

FM_api('Jobs_getJobRefLast');

Results

If for example you create a Job with the reference "123456" and then a job with the reference "32", the result will depend on your "job ref method" setting:

"Based on last new job":

"32" 

"Based on highest existing job ref":

"123456"

"Disable automated job ref" will not return any integer.

""

Last updated