Skip to main content
Solved

Lobby Navigation to Work Order Form screen

  • April 10, 2025
  • 2 replies
  • 119 views

Forum|alt.badge.img+1
  • Do Gooder (Customer)

I created an element that should navigate to the Work Order screen. I'm getting an error that says be[Pe].replace is not a function when I try to click on the element. I tried using the 'to_char' function for the work_order field in the datasource to convert the field into a string but that didn't seem to make a difference.

This is what I used for URL Address: page/ReportInWorkOrder/Form?$filter=WoNo eq $[WORK_ORDER]

Best answer by sdhalk

Hi ​@jas07,

The data type of ‘WO_NO’ might be recorded as ‘NUMBER’, while in the data source it is set to ‘Text’. Changing the data type of ‘WO_NO’ to ‘NUMBER’ in the Data Source Designer should resolve the navigation issue.

Thanks,

Sarasi

2 replies

sdhalk
Hero (Employee)
Forum|alt.badge.img+7
  • Hero (Employee)
  • Answer
  • May 2, 2025

Hi ​@jas07,

The data type of ‘WO_NO’ might be recorded as ‘NUMBER’, while in the data source it is set to ‘Text’. Changing the data type of ‘WO_NO’ to ‘NUMBER’ in the Data Source Designer should resolve the navigation issue.

Thanks,

Sarasi


Forum|alt.badge.img+1
  • Author
  • Do Gooder (Customer)
  • May 7, 2025

Yup, that was the issue, thank you for your help!