on 08-25-2015 6:06 PM
Dear Experts,
In Production order Transaction, Sales order reference need to populated. Could you please help me.
SO FIELD NAME :U_IntRef
PRODUCTION ORDER : U_INREF
Actually FMS written as,
SELECT T1.U_IntRef from OWOR T0 inner join ORDR T1 on T0.OriginNum = T1.DocNum
Above FMS displayed all the references from sale order.
Actually my requirement, Sales order against Production order executes through procurement conformation wizard. Respective reference need to populated in PROD Order.
Further information please check screenshot.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hii Yousuf
Try this ,
SELECT T1.U_intref from OWOR T0 inner join ORDR T1 on T0.OriginNum = T1.DocNum where t1.docnum = $[owor.originnum]
Regards
Ranu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Yousuf,
Please try below query for FMS
SELECT T1.U_IntRef
FROM [dbo].[OWOR] T0
Inner Join ORDR T1 on T0.OriginAbs = T1.DocEntry
Inner Join OFPR T2 on T0.PostDate >= T2.F_RefDate and T0.PostDate <=T2.T_RefDate
Inner Join OACP T3 on T2.[Category] = T3.[PeriodCat]
WHERE T0.[DocNum] = $[$18.0.Number]
and T3.Year = Year($[$24.0.Date])
Thanks
Unnikrishnan
Message was edited by: Unnikrishnan Balan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear experts,
Any update, Its urgent. Please help me
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
100 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.