WIPInfoGet
You can use this function for Optiva Workflows.
Purpose
The function WIPInfoGet provides the ability to retrieve any information column from the FsActionWipSteps table.
Syntax (without LanguageCode)
string WIPInfoGet(string Parameter, int LineID = 0, int ActionWIPId = 0)= WIPInfoGet(Parameter, [LineID, ActionWIPId])
Return Value
If the code is successful, the function retrieves the value as string.
Arguments
| Part | Description |
|---|---|
Parameter |
The properties of items, formulas and other objects that can be measured, calculated or stated.
Note: This matches a column name in the FsActionWipSteps table.
|
| ParameterValue | The value which you insert into the FsActionWipSteps table.
Note: A failure occurs for the Arguments that are read only in the FsValidationField.
|
LineID |
The LineID of a particular task in the FsActionWipSteps table.
Note: If no value is entered, then the current LineID is used from the context.
|
ActionWIPId |
The ActionWIPId that you are retrieving. This is used when you are using the WipInfoGet function from an object other than from an existing ActionWip (e.g., Pending Tasks or Gantt Chart). |
Description
WIPInfoGet is used to retrieve the Description column in the FsActionWipSteps table.
Example
string rtnCap = WIPInfoGet("DESCRIPTION");
Syntax (with LanguageCode)
string WIPInfoGet(string Parameter, string LanguageCode, int LineID = 0, int ActionWIPId = 0)
Return Value
If the code is successful, the function retrieves the value as string.
Arguments
| Part | Description |
|---|---|
Language Code |
The language code of the column which is retrieved. |
Description
WIPInfoGet is used to retrieve the Language label for the Description column in the FsActionWipSteps table.
WipInfoGet("DESCRIPTION","EN-US")
Example
string rtnCap = WIPInfoGet("DESCRIPTION","EN-US")