Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
sa14-00 [2010/10/25 13:31] – external edit 127.0.0.1 | sa14-00 [2017/12/01 16:35] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 5: | Line 5: | ||
All these functions have a similar method of working. If the function returns an empty string the validation step is considered passed. Any other return value will prevent the user from completing the step in question and the return message will be displayed in a dialog box, optionally | All these functions have a similar method of working. If the function returns an empty string the validation step is considered passed. Any other return value will prevent the user from completing the step in question and the return message will be displayed in a dialog box, optionally | ||
\\ \\ | \\ \\ | ||
- | In the case of the Company and Person State Change validations, | + | In the case of the Company and Person State Change validations, |
\\ \\ | \\ \\ | ||
An example of such a function (for company state change) is: | An example of such a function (for company state change) is: | ||
Line 48: | Line 48: | ||
If you want to open a relevant screen to allow the user to correct any issues the return message should be formatted in the way: | If you want to open a relevant screen to allow the user to correct any issues the return message should be formatted in the way: | ||
\\ | \\ | ||
- | **<Record Type><RecordID> | + | **[Record Type][RecordID]%%>> |
\\ | \\ | ||
+ | //opening a specific view by specifying >> followed by the ViewID is only supported from IQX v2.16.10 onwards.// | ||
^ ^Record Types^ | ^ ^Record Types^ | ||
|P|Person| | |P|Person| | ||
Line 56: | Line 57: | ||
|C|Company| | |C|Company| | ||
|E|Employment (ie Contact)| | |E|Employment (ie Contact)| | ||
+ | |I|Invoice / Credit Note / Payment etc| | ||
+ | |T|Timesheet| | ||
- | If no tab character is included, the whole message is displayed and no additional screens are opened. An example of such a validation function (for timesheets) is: | + | If no tab character is included, the whole message is displayed and no additional screens are opened. |
+ | \\ An example of such a validation function (for timesheets) is: | ||
<code sql> | <code sql> | ||
(in persid char(20),in vacid char(20),in placid char(20)) | (in persid char(20),in vacid char(20),in placid char(20)) |