Interface ICaseRelationScriptParser
Case relation script parser
Namespace: PayrollEngine.Client.Script
Assembly: PayrollEngine.Client.Core.dll
Syntax
public interface ICaseRelationScriptParser
Methods
GetCaseRelationBuildScript(ScriptCodeQuery, string, string, string, string, string)
Gets the case relation build script
Declaration
string GetCaseRelationBuildScript(ScriptCodeQuery query, string regulationName, string sourceCaseName, string targetCaseName, string sourceCaseSlot = null, string targetCaseSlot = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ScriptCodeQuery | query | The script code query |
| string | regulationName | Name of the regulation |
| string | sourceCaseName | Name of the source case |
| string | targetCaseName | Name of the target case |
| string | sourceCaseSlot | Name of the source case slot |
| string | targetCaseSlot | Name of the target case slot |
Returns
| Type | Description |
|---|---|
| string | The case relation build script |
GetCaseRelationValidateScript(ScriptCodeQuery, string, string, string, string, string)
Gets the case validate script
Declaration
string GetCaseRelationValidateScript(ScriptCodeQuery query, string regulationName, string sourceCaseName, string targetCaseName, string sourceCaseSlot = null, string targetCaseSlot = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ScriptCodeQuery | query | The script code query |
| string | regulationName | Name of the regulation |
| string | sourceCaseName | Name of the source case |
| string | targetCaseName | Name of the target case |
| string | sourceCaseSlot | Name of the source case slot |
| string | targetCaseSlot | Name of the target case slot |
Returns
| Type | Description |
|---|---|
| string | The case relation validate script |