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
Testing prompt variables in exceptions and requirements
Re: Testing prompt variables in exceptions and requirements
- 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.
-
- Posts: 1377
- Joined: Wed Jan 15, 2014 3:50 pm
- Location: Raleigh, NC
- Contact:
Re: Testing prompt variables in exceptions and requirements
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