Testing prompt variables in exceptions and requirements

Discussions related to custom development with Select.
Post Reply
wblincoe
Posts: 1
Joined: Thu Apr 19, 2018 12:45 pm

Testing prompt variables in exceptions and requirements

Post by wblincoe »

Is there a way to create a prompt in an exception and then test the prompt value? I've tried both custom fields and prompts and can't get this to work.
The format would be something like:
Prompt for string1
Prompt for string2
If string2 is empty print
This is the value for string 1
Else print
This is the value for string 1 and also for string 2
bdutil
Posts: 121
Joined: Tue Jul 19, 2016 1:48 pm

Re: Testing prompt variables in exceptions and requirements

Post by bdutil »

  • There is no way to test results of a prompt however a formula could be build into the exception/requirement to evaluate a custom field if that exists and is filled out in the order.

    Formula would read something like this:
    If (IsEmpty({{CustomField2}})) Then
    Value = {{CustomField1}}
    Else
    Value = {{CustomField1}} + {{CustomField2}}
    EndIf

    This is very generic and there may be more or less to it depending on the parameters. If you need specific assistance setting this up, let support know and they will reach out for configuration assistance.
BobRichards
Posts: 1376
Joined: Wed Jan 15, 2014 3:50 pm
Location: Raleigh, NC
Contact:

Re: Testing prompt variables in exceptions and requirements

Post by BobRichards »

In addition to the prior post (great idea, by the way!) Another possibility is perhaps it makes sense to create a Shell Package to add a button to the ribbon? When the button is pressed, your custom package could query the user then add an item to the order via API.
Bob Richards, Senior Software Developer, SoftPro
Post Reply