on 07-05-2016 7:40 AM
Dear Sir/Mam
Please help me to fix this query, what is wrong with this, i am so sory iam new with regards to queries...
SELECT (T1.OcrCode )
set T0.U_FeederVessel = T1.[OcrCode]
FROM OINV T0 INNER JOIN INV1 T1 ON T0.DocEntry = T1.DocEntry
WHERE T0.DocNum = $[$8.0.0]
Group by T1.OcrCode
All i want for e.g. i have a value from INV1.OcrCode for example "AAA" then i want it to set this value into UDF "FeederVessel"
thank you
regards
Silent
Hi Silent,
Why do you need this value in a UDF if it's already in the lines only the field is different?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
august thank you for your response, i need this on my report parameter
can you fix this query sir
currently it works but all i want is automatically put the result on the UDF with thicking any fields
SELECT (T1.OcrCode)
FROM OINV T0 INNER JOIN INV1 T1 ON T0.DocEntry = T1.DocEntry
WHERE T0.DocNum = $[$8.0.0]
Group by T1.OcrCode
Hi Silent ,
After you link the formatted search, define Auto Refresh When Field Change and selected which is your trigger to auto populate the value.Select the dimension fields.
1. Goto the UDF (or) any Default(Original) Field and Click ShiftAltF2.
2. Select the SEARCH BY SAVED QUERY.
3. Assign the FMS Query.
4. Select the AUTO REFRESH WHEN FIELD CHENGES.
5. Select the require Auto refresh field
6. Check the Refresh Regularly (or) Display Saved Values.
Rgds,
Kamlesh Naware
Hi Silent,
Are you trying to add a formatted search to invoice document line ?
In your query second line has syntax issue, set is not a valid command in select
If you are trying to add a formatted search on the field press ctrl+alt+tab and link your saved query.
Thanks,
Sujit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
9 | |
5 | |
3 | |
3 | |
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.