Solved

add Appointment nbr in SO details.

  • 16 February 2023
  • 8 replies
  • 112 views

Userlevel 3
Badge

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? 

 

 

icon

Best answer by Anacarina Calvo 16 February 2023, 15:29

View original

8 replies

Userlevel 5
Badge +1

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

Userlevel 7
Badge +17

@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!

Userlevel 3
Badge

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

 

 

Userlevel 5
Badge +1

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

Userlevel 3
Badge

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

Userlevel 7
Badge +17

@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.

Userlevel 6
Badge +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. 


 

 

Userlevel 3
Badge

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

Reply


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved