Note: The Client WebSession is not available in the submit procedure.
Executes a Procedure object asynchronously; the main program flow will continue processing immediately.
ObjectName.Submit(submit-parms , [parm1, .... , parN])
Is the name of the Procedure we want to submit.
This parameter is only used in iSeries applications, all other generators will ignore the parameter.
par1, …, parN
Optional parameters that can be sent to the submitted object with some purpose (and they must be received in the called object by declaring them with the Parm rule).
Let's suppose we have a Web Panel in our Knowledge Base, that only has a button included in it's form. When the user press the button, the event associated to the button is executed and our objective is to submit a Procedure which will do some calculations. So, we define the following code inside the event associated to the button, in order to achieve our objective:
Event 'Calculate Payroll Tax'
CalculatePayrollTax.Submit("", &startDate, &endDate)
The Procedure CalculatePayrollTax will be submitted and the program execution will return immediately to the called object.
iSeries Submit considerations
VB Submit considerations