Skip to Content
author's profile photo Former Member
Former Member

UDFs in Crystal

Hello Experts,

I have a UDF in Service Type AR Invoices to identify a particular service.

The UDF is something like :

Value Descripcion

AAA = Apple

BBB= Banana

CCC= Cinammon

etc..

In crystal, i want to display the description of the value. DO you have any suggestions on how to accomplish this ?

Please let me know

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Posted on Feb 10, 2012 at 04:33 AM

    hi,

    you need to use the SQL Cast. then make stored Procedure, then call your Stored Proc in Crystal Report.

    regards,

    Fidel

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 10, 2012 at 09:21 AM

    Hi Renata Meuly,

    when we want to have description of UDF value in crystal report.

    CUFD and UFD1 one are system tables.

    SELECT DISTINCT T1.Descr FROM dbo.CUFD T0
    INNER JOIN dbo.UFD1 T1 ON T0.TableId = T1.TableId
    AND T0.FieldId = T1.FieldId
    WHERE T0.TableId = 'INV1' AND T0.AliasID = 'List' AND T1.FldValue =
    $[$38.U_List.0]

    For testing create one UDF with Name List in Marketing document Row level and try use Set Valid value.

    Thanks,

    Srujal Patel

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 12, 2012 at 05:25 AM

    Hello,

    If you have limited identifier then use formula in Crystal Report like

    if value = AAA then

    "Apple"

    Try it

    Thanks

    Manvendra Singh NIranjan

    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.