S
S
sllugovskih2015-06-22 15:52:00
PHP
sllugovskih, 2015-06-22 15:52:00

How to get access to processing in 1C Enterprise 8.2 Alfa-Auto from PHP?

There is an auto parts store that uses this solution: rarus.ru/1c-auto/alfa-avto-avtosalon-avtoservis-av...
button Search, a list of spare parts available from suppliers will be displayed. The search should be carried out according to the price lists loaded in 1C. Or access this processing through a web service:
02618041da884cacb58f19ff09f14716.PNG
And in response, receive XML or a list of found goods with a final price, delivery. To display in a table on the site.
How can such a thing be implemented? In which direction to dig, perhaps there are links to implementation examples. I would be glad for any information! I have about 5 years of programming experience in PHP, but I don’t understand 1C well.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
T
thepry, 2015-06-22
@sllugovskih

Look at the side of web services in 1C. SOAP, or, if the platform is the latest, then REST.
This is the most normal, convenient and easily extensible way. There are other options to use a COM connection, or regular data exchange between 1C and the database with which your site works. You can also climb directly into the 1C database for data, but it’s better not to.
The network has lessons on creating web services in 1C

A
Andrew, 2015-06-22
@sorgo

And purely towards a DB looked? To pull the necessary infa from a DB directly?

H
hukola, 2015-07-02
@hukola

Pulling from the base is wrong. Will run slowly. Web services, or regular unloading and storing the necessary information on the site.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question