Skip to main content
Answer

add Appointment nbr in SO details.

  • February 16, 2023
  • 8 replies
  • 129 views

Forum|alt.badge.img

Hi All, 

I want to display the appointment nbr in SO detail TAB so I have added and I want to display the list the appointment nbr. what should I add in the code to pull the respective appointment nbr? 

 

 

Best answer by Anacarina Calvo

Hi  @sujithra 
The Last Reference column is available out of the box and will show the link to the last appointment in which the line was included. Keep in mind that one line could be in multiple appointments at the same time.
You can expose the column, using the Column Configuration, on the Details tab. 


 

 

8 replies

Vinay Koppula
Semi-Pro II
Forum|alt.badge.img+1
  • Semi-Pro II
  • February 16, 2023

@sujithra From where you want to pull the appointment No.?


Naveen Boga
Captain II
Forum|alt.badge.img+19
  • Captain II
  • February 16, 2023

@sujithra  It seems you created the Custom column in the SODet table to fetch the AppointmentNbr.

To get the Appointment Nbr, you need to join the below tables.

First Join:

SODet (SrvOrderType, RefNbr, SODetID) Join with FSAppointmentDet  (SrvOrderType, OrigSrvOrdNbr, SODetID)

 

Second Join: 

FSAppointmentDet  (SrvOrderType, RefNbr, AppointmentID) Join with FSAppointment (SrvOrderType, RefNbr,AppointmentID)

 

From the FSAppointment  table, you will get the Appointment Number, and you can assign it to SODet table.

 

Hope this helps!


Forum|alt.badge.img
  • Author
  • Freshman II
  • February 16, 2023

@Vinay Koppula ,we have the appointment nbr in Appointment screen - details Tab like this i want in SO details.PSB

 

 


Vinay Koppula
Semi-Pro II
Forum|alt.badge.img+1
  • Semi-Pro II
  • February 16, 2023

@sujithra  Ok, please follow the Naveen’s comment above it will fetch the appointment No. from the appointment table. 


Forum|alt.badge.img
  • Author
  • Freshman II
  • February 16, 2023

Thank you @Vinay Koppula & @Naveen Boga but can you help me how to put this in the code since am not expect in coding.


Naveen Boga
Captain II
Forum|alt.badge.img+19
  • Captain II
  • February 16, 2023

@sujithra  This is kind of basics, where you need to BQL query to fetch the value from the table and update the caches of the SODet table.

 

I would highly recommend you to go through the T series - certification, you will get good knowledge and then work on the customizations.


Anacarina Calvo
Pro I
Forum|alt.badge.img+4

Hi  @sujithra 
The Last Reference column is available out of the box and will show the link to the last appointment in which the line was included. Keep in mind that one line could be in multiple appointments at the same time.
You can expose the column, using the Column Configuration, on the Details tab. 


 

 


Forum|alt.badge.img
  • Author
  • Freshman II
  • February 17, 2023

Thankyou so much for your help @Anacarina Calvo. This Kind of response really help the beginners.