Excel Client:CopRun: Difference between revisions

From CoPlanner 11
Jump to navigationJump to search
No edit summary
No edit summary
Line 23: Line 23:
|-
|-
|style=background-color:#f6f6f6 |'''ReadValue'''
|style=background-color:#f6f6f6 |'''ReadValue'''
|Corresponds to CellRead; however, the value is loaded from the server immediately without being cached in the client.
|Corresponds to [[Excel_Client:CellRead|CellRead]]; however, the value is loaded from the server immediately without being cached in the client.
|-
|-
|style=background-color:#f6f6f6 |'''ReadSessionValue'''
|style=background-color:#f6f6f6 |'''ReadSessionValue'''

Revision as of 08:29, 7 May 2010

CopRun(Executable, [Parameter1], …, [Parameter10])

The function CopRun can be used to use or influence various functions in the CoPlanner Excel Client.

Parameter

Executable Defines the function that must be executed.
ParameterX Optional parameters.


The following options are available

Transfer Executes a transfer object (import object) on the server.
ReadValue Corresponds to CellRead; however, the value is loaded from the server immediately without being cached in the client.
ReadSessionValue Corresponds to the function CopExpression; however, the expression is sent to the server immediately, evaluated, and returned, without being cached.


Example

Function
CopRun(„Transfer:Auszufuerender_Import“, „Filtername1:=Filterwert1“, …)
CopRun(„Transfer:Auszufuerender_Import“)
CopRun(„ReadValue:Umsatzerlose“, „Menge“, „Filtername1:=Filterwert1“, …)
CopRun(„ReadSessionValue:@Session_Plan_ID@“)