cancel
Showing results for 
Search instead for 
Did you mean: 

Formatted search - price

Former Member
0 Kudos

Hi all experts.

Can someone please provide me with a formatted search that fetches the price from the price field on item master data and selects it into a UDF on OITM.

Thanks.

Runar.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Create a UDF in the Item Master and assign the following 'Formatted Search Query' to the UDF:


SELECT T1.[PriceList], T2.[ListName],  
T1.[Currency], T1.[Price] FROM [dbo].[ITM1]  T1
 INNER JOIN  OPLN T2 ON T1.PriceList = T2.ListNum 
where T1.itemcode=$[oitm.itemcode]

Former Member
0 Kudos

Thanks.

This is exactly what I needed.

Runar

Answers (0)