- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2024 05:21 PM
Hi there,
Can anyone help with the code?
I am trying to Orientation Location which is reference field to cmn
_location table.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2024 06:09 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2024 05:26 PM
@Simran321 are you trying to set "remote" as location ? what is the issue ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2024 05:34 PM - edited 10-15-2024 05:35 PM
Yes, I am trying to add Remote as Location if worker is contingent. Remote is a location on Location table @Gangadhar Ravi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2024 05:36 PM
Try 'if (orientationLocation.next()) {' before line 8 and add '}' after line 14. seems line 11 above should be:
current.u_orientation_location = orientationLocation,sys_id.toString();
for a reference field named 'u_current_location'.
good luck debugging your business rule script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2024 05:42 PM
Add orientationLocation.next() after orientationLocation.query().