PdcApplication.ActiveObjectPickFilter: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
== Description == | == Description == | ||
Sets an active object result | |||
== Notes == | == Notes == | ||
Especially useful | Especially useful to set a filter expression in script | ||
== Code example == | == Code example == | ||
In userexit SCR_BEFORECHOOSEDELIVERYLINE check for the [project number in the first line of an active delivery note. | In userexit SCR_BEFORECHOOSEDELIVERYLINE check for the [project number in the first line of an active delivery note. |
Revision as of 10:33, 2 October 2014
Declaration
ActiveObjectPickFilter as Boolean
Description
Sets an active object result
Notes
Especially useful to set a filter expression in script
Code example
In userexit SCR_BEFORECHOOSEDELIVERYLINE check for the [project number in the first line of an active delivery note.
dim objCalc
if objCalc.UserString(2) = "" then
pdc.ActiveObjectResult = false
msgbox "Please enter value for UserField3"
else
pdc.ActiveObjectResult = true
end if
Availability
Available since June 2006 (From version 3.7).