Skip to main content
Solved

Custom Field

  • October 20, 2021
  • 6 replies
  • 737 views

Forum|alt.badge.img+12

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

This topic has been closed for replies.

6 replies

ROVECH
Hero (Partner)
Forum|alt.badge.img+7
  • Hero (Partner)
  • Answer
  • October 20, 2021

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+12
  • Author
  • Sidekick (Customer)
  • October 20, 2021

 

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

 


Forum|alt.badge.img+12
  • Author
  • Sidekick (Customer)
  • October 20, 2021

I have managed to resolve this issue :)


Mathias Dahl
Superhero (Employee)
Forum|alt.badge.img+32
  • Superhero (Employee)
  • October 20, 2021

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+12
  • Author
  • Sidekick (Customer)
  • October 20, 2021

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+32
  • Superhero (Employee)
  • October 21, 2021

Thanks!