K
K
kalapanga2017-07-10 15:55:02
1C
kalapanga, 2017-07-10 15:55:02

Where is the outer join processing code executed?

There is a task from a third-party program to connect to the database via OLE and start the external processing procedure. Everything seems to work in principle. A connection is created via V83.ComConnector, external processing is found, a procedure is launched from it, and performs the necessary actions. The called procedure and other procedures and functions necessary for it are located in the module of the external processing object.
But I'm not sure that I fully understand one point. With this connection method, where is the code from the external processing object module executed - on the client or on the server? Do the OnClient and OnServer directives written in the code make sense for an external connection?
The question is primarily related to the work of external processing with files. Initially, the processing was written for a normal interactive launch in 1C Enterprise mode. All the code was located in the main form module (managed forms). Most of the procedures and functions were performed on the Server. And to work with the file, it had to be transferred to the server through temporary storage. Now do I need these additional actions with storage?
Of course, I can check it at random, but I would like more understanding.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Anton, 2017-07-10
@kalapanga

When launched via ComConnector, it behaves like a thick client, i.e. on the server, only common modules with the "server" checkbox and without the "client" checkbox "external connection" are executed, the rest is performed on the machine on which ComConnector is running (i.e. if &OnClient - then on the client, if &OnServer - then on the server )

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question