Skip to main content
Solved

Custom Field

  • Oct 20, 2021 1:18 PM UTC
  • 6 replies
  • 808 views

Forum|alt.badge.img+13

I am trying to create a Custom Field within the Case that pulls a Custom field from another Screen.

 

I am fairly new to IFS development and mostly self taught so this has confused me as other fields that i created in a similar way to this have worked.

 

Table 1 = cc_case_cfv

Table 2 = Location

 

I am wanting field (CF$_TEAM) to display in the CC_CASE_CFV where there is a match on CF$_Delivery_Location_ID (Case Screen) to Location_ID (Location Screen)

 

This is my Select Statment: SELECT CF$_TEAM FROM LOCATION WHERE LOCATION_ID = :CF$_DELIVERY_LOCATION_ID

 

what would I enter into the argument? 

 

Best answer by ROVECH

Hi Lisa, 

You would have to use v.CF$_DELIVERY_LOCATION_ID as an argument in this case. For more background information you can check the documentation:

 

Best regards, Roel

View original
This topic has been closed for replies.

6 replies

ROVECH
Hero (Partner)
Forum|alt.badge.img+8
  • Hero (Partner)
  • Answer
  • Oct 20, 2021 2:20 PM UTC

Hi Lisa, 

You would have to use v.CF$_DELIVERY_LOCATION_ID as an argument in this case. For more background information you can check the documentation:

 

Best regards, Roel


Forum|alt.badge.img+13
  • Author
  • Sidekick (Customer)
  • Oct 20, 2021 2:39 PM UTC

 

I now get this error message? Thanks for the information on the Tech Guide, I will take a read through :)

 


Forum|alt.badge.img+13
  • Author
  • Sidekick (Customer)
  • Oct 20, 2021 4:28 PM UTC

I have managed to resolve this issue :)


Mathias Dahl
Superhero (Employee)
Forum|alt.badge.img+33
  • Superhero (Employee)
  • Oct 20, 2021 6:13 PM UTC

Great!

For the benefit of others here, would it be possible for you to tell us how you solved your problem? 

Thanks!

 


Forum|alt.badge.img+13
  • Author
  • Sidekick (Customer)
  • Oct 20, 2021 6:15 PM UTC

Yes of course. The Custom Field we have within our system CF$_DELIVERY_LOCATION_ID was actually stored under OBJKEY not its CF$ Field Name. 

 

I therefore had to amend my Select Query to Where OBJKEY = :Location_ID rather than CF$_DELIVERY_LOCATION_ID = :LOCATION_ID

Using the SQL Query Tool helped me resolve the problem.

 

I also needed to use t. rather than v. in the argument.


Mathias Dahl
Superhero (Employee)
Forum|alt.badge.img+33
  • Superhero (Employee)
  • Oct 21, 2021 12:58 PM UTC

Thanks!