sa14-00

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
sa14-00 [2010/10/25 13:31] – external edit 127.0.0.1sa14-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  relevant window can be opened to allow the user to correct the problem. 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  relevant window can be opened to allow the user to correct the problem.
 \\ \\  \\ \\ 
-In the case of the Company and Person State Change validations, the function must reset the state to the original state.+In the case of the Company and Person State Change validations, the function must reset the state to the original state. 
 \\ \\  \\ \\ 
 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><tab character><Message Text>**+**[Record Type][RecordID]%%>>%%ViewID[tab character][Message Text]**
 \\ \\
 +//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. The I type requires the DocumentID as the RecordID parameter. 
 +\\ 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))
  • sa14-00.txt
  • Last modified: 2017/12/01 16:35
  • by 127.0.0.1