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

Need formula editor to reassign a database code to description

I am new to SAP Business One.

I am trying to make changes to a new copy of the System Production Order. I wish to change the Issued Qty column by using a Formula field. If WOR1.Issue Type ='B' I want to print "Auto" If it ="M" I want to leave it blank.

1. What conditional statements are available in the formula editor?

2. Where can I find any documentation on the formula editor?

3. How do you reassign a code eg "B" to text eg "Auto"

Thanks for your help

Chris

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 07, 2011 at 06:07 AM

    Hi Chris,

    for the documentation on pld, try to go here.

    https://websmp210.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_HIER_KEY=701100035871000437965&_OBJECT=011000358700003982132006E&_SCENARIO=01100035870000000183&

    then for your formula problem, why dont you create a UDF and Formatted search. here is the guide.

    1. create UDF_convert

    2. create FMS and insert into your udf_convert

    declare @var1 as nvarchar(10)

    set @var1 = UDF_convert from TABLENAME

    if @var1 = '1'

    select 'auto'

    else

    select 'null'

    set the FMS to Auto update on issued qty.

    3. insert the UDF_convert into your PLD. (no need to add a formula)

    Best Regards,

    Darius Gragasin

    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.