Answer the question
In order to leave comments, you need to log in
How to use any 1c module from the configurator via a web service?
Good afternoon. Immediately I will say 1C began to storm very recently, so please do not judge from high. The situation is as follows, I have a calculator in a separate module, as far as I understand, the module is called the Form Processor (And again, as far as I understand, in the Catalog object). And there is a web service. Set up interaction with the Web service using the SOAP protocol. I wrote a small code in 1C that adds two variables in which the function parameters are written. And from php he called the function and passed in the parameters what needs to be added. Now comes the next step. I need to take advantage of the huge code of the neighboring module. Pass some parameters to it and do the calculations. Tell me which way to dig, otherwise there are a lot of theories in my head, I'm afraid that they are erroneous.
Answer the question
In order to leave comments, you need to log in
The function must have "Export" written after the parentheses with parameters - this will make it available from external modules. And then the function is called like this:
ModuleName.FunctionName(Parameters)
There are nuances: the client module can be called from the client, the server module - from the server, the module that has a "call server" - from the client and server.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question