Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3184

Link arrow in SBO query

$
0
0

Dear all,

 

I am trying to get link arrows to appear under "Mfr Serial No." in my query, but it only appears under "Contract No.", "Customer Code", and "Customer Name", as shown in the pic below:

troubleshoot.JPG

Original query had CTR1 at T0, but I tried changing to OINV to T0 position and retrieving ManufSN, InternalSN, and ItemName from OINV to no avail. Using FOR BROWSE at the end of query doesn't work as well.

Purpose of link arrows under ManufSN is so that user can access the Customer Equipment Card to update UDF.

 

Query is as shown below:

SELECT T1.[ContractID], T2.[CstmrCode], T2.[CstmrName], T0.[manufSN], T0.[internalSN], T0.[itemName], T0.[U_NxtSvcDate], T0.[U_LMVisualDueDate], T0.[U_LMVisualDueDate1], T0.[U_LMVisualDueDate2], T0.[U_LMVisualDueDate3], T0.[U_LMLoadDueDate] FROM OINS T0 

INNER JOIN CTR1 T1 ON T0.insID = T1.InsID

INNER JOIN OCTR T2 ON T1.ContractID = T2.ContractID WHERE (T0.[U_NxtSvcDate]  - GETDATE() <= 30 OR (T0.[U_LMLoadDueDate] - GETDATE() <= 30 AND  T0.[U_LMLoadDueDate] - GETDATE() > 0))

AND ( T1.[TermDate] IS NULL OR T2.[Status] = (N'A'))

AND  T1.[EndDate] - GETDATE() > 0

ORDER BY T0.[U_NxtSvcDate] ASC

 

Appreciate any help

 

Regards,

Joseph Ooi


Viewing all articles
Browse latest Browse all 3184

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>