Excel Client:CopRun: Difference between revisions

From CoPlanner 11
Jump to navigationJump to search
D.harg (talk | contribs)
Angleichen ans deutsche Wiki
No edit summary
Line 21: Line 21:


==Example==
==Example==
<span {{CoPFormel}}>CopRun("Transfer:Auszufuerender_Import", "Filtername1:=Filterwert1", …)</span><br>
<span {{CoPFormel}}>CopRun("Transfer:Auszufuerender_Import", "Filtername1:=Filterwert1", …)</span>
<span {{CoPFormel}}>CopRun("Transfer:Auszufuerender_Import")</span><br>   
 
<span {{CoPFormel}}>CopRun("ReadValue:Umsatzerlose“, "Menge", 2Filtername1:=Filterwert1", …)</span><br>   
<span {{CoPFormel}}>CopRun("Transfer:Auszufuerender_Import")</span>
 
<span {{CoPFormel}}>CopRun("ReadValue:Umsatzerlose“, "Menge", 2Filtername1:=Filterwert1", …)</span>
 
<span {{CoPFormel}}>CopRun("ReadSessionValue:@Session_Plan_ID@")</span>
<span {{CoPFormel}}>CopRun("ReadSessionValue:@Session_Plan_ID@")</span>



Revision as of 14:59, 9 April 2025

Function

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

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

Parameter Description
Executable Defines the function that must be executed.
  • 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.
Parameter1..10 Optional parameters.

Example

CopRun("Transfer:Auszufuerender_Import", "Filtername1:=Filterwert1", …)

CopRun("Transfer:Auszufuerender_Import")

CopRun("ReadValue:Umsatzerlose“, "Menge", 2Filtername1:=Filterwert1", …)

CopRun("ReadSessionValue:@Session_Plan_ID@")

"CopRun", "Macro:mkr_8393", ""