_getJobRefNext
Last updated
Get the Next Job Reference Number, depending on the "Job Ref Method" setting.
FM_api('Jobs_getJobRefNext');If for example you create a Job with the reference "2026" and then a job with the reference "45", the result will depend on your "job ref method" setting, with 1 added to it:
"Based on last new job":
"46""Based on highest existing job ref":
"2027""Disable automated job ref" will always return 1.
"1"Last updated