WIPInfoSet

You can use this function for Optiva Workflows.

Purpose

Provides the ability to change the value of a column in the FsActionWipSteps table.

Syntax (without LanguageCode)


Dim variable As Boolean = WIPInfoSet(Parameter, ParameterValue, [LineID,  ActionWIPId]) 

Arguments

Part Description
Parameter This matches a column name in the FsActionWipSteps table.
ParameterValue This is the value which you insert into the FsActionWipSteps table. A failure occurs for the parameters that are read only in the FsValidationField.
LineID Optional. This is the LineID of a particular task in the FsActionWipSteps table. If no value is entered, then the current LineID is used from the context.
ActionWIPId Optional. This is the ActionWIPId that you are retrieving. This is used when you are using the WipInfoSet function from an object other than from an existing ActionWip (e.g., Pending Tasks or Gantt Chart).

Description

WIPInfoSet is used to change the value of the Description column in the FsActionWipSteps table.


WipInfoSet("DESCRIPTION","updated description").

Syntax (with LanguageCode)


Dim variable As Boolean = WIPInfoSet(Parameter, ParameterValue, LanguageCode, [LineID,  ActionWIPId]) 

Arguments

Part Description
Parameter This matches a column name in the FsActionWipSteps table.
ParameterValue This is the value which you insert into the FsActionWipSteps table. A failure occurs for the parameters that are read only in the FsValidationField.
Language Code The language code of the column which is updated.
LineID Optional. This is the LineID of a particular task in the FsActionWipSteps table. If no value is entered, then the current LineID is used from the context.
ActionWIPId Optional. This is the ActionWIPId that you are retrieving. This is used when you are using the WipInfoSet function from an object other than from an existing ActionWip (e.g., Pending Tasks or Gantt Chart).

Description

WIPInfoSet is used to change the Language label for the Description column in the FsActionWipSteps table.


WipInfoSet("DESCRIPTION","updated description","En-US").

Syntax


Dim variable As Boolean = WIPInfoSet(LineID, ActionWIPId, MultiLangData) 

You can use the syntax for updating the language labels for an array of fields.

Arguments

Part Description
LineID Optional. This is the LineID of a particular task in the FsActionWipSteps table. If no value is entered, then the current LineID is used from the context.
ActionWIPId Optional. This is the ActionWIPId that you are retrieving. This is used when you are using the WipInfoSet function from an object other than from an existing ActionWip (e.g., Pending Tasks or Gantt Chart).
MultiLangdata

This is an array of multi-language fields in the FsActionWipSteps table.

MultiLangData contains these fields:

LanguageCode.

MultiLangField.

Description.

Description

WIPInfoSet is used to change the Langauge labels for the Description column in the FsActionWipSteps table.


dim fieldsandValues(1) As Optiva.ScriptProxy.MultiLangData

fieldsandValues(0) = new Optiva.ScriptProxy.MultiLangData()
fieldsandValues(0).languageCode = "EN-US"
fieldsandValues(0).multiLangField = "DESCRIPTION"
fieldsandValues(0).description = “EN-US description updated using WIPINFOSET”

fieldsandValues(1)= new Optiva.ScriptProxy.MultiLangData()
fieldsandValues(1).languageCode = "DE-DE"
fieldsandValues(1).multiLangField = "DESCRIPTION"
fieldsandValues(1).description = “DE-DE description updated using WIPINFOSET”
WIPInfoSet (0,0,fieldsandValues)