Skip to Content

User Defined Values not auto refreshing

We have a UDF on Sales Order - called "Customer Remarks". This field needs to auto-populate with the contents of the "Notes" field relating to the business partner that is added to the order. I have attached an image of the Values setup and the code in the query.

If users hit Shift+f2, the field fills correctly, but does not automatically when Customer/Vendor Code changes. I have tried 'Customer/Vendor name' field as well.Can anyone suggest how i can get this to work automatically?

SELECT T0.[Notes] FROM OCRD T0 WHERE T0.[CardCode]  = $[$4.0.0]
capture.png (12.4 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Aug 20, 2018 at 06:26 AM

    Hi Jim,

    You need to set Refresh Regularly, for the value to refresh regularly.

    Regards,

    Johan

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 21, 2018 at 11:38 PM

    Hi,

    Tested and working in 9.3 as well.

    Try,

    1. Reassign the FMS to UDF again

    2. SELECT T0.[Notes]FROM OCRD T0 WHERE T0.[CardCode]=$[ORDR.CardCode]

    Regards,

    Nagarajan

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.