S
S
Sergey Zhukov2015-10-23 16:52:33
1C
Sergey Zhukov, 2015-10-23 16:52:33

Synchronization of leftover goods 1C - site (both ways)?

Greetings gentlemen.
Interested in the opinion of who how to cope with such tasks:
There is a conditionally 1C database and an online store.
The user bought the product on the site - > balances were updated in 1C .
And vice versa, the balances in the 1C database have changed, and the site has also changed.
Unloading through XML is not an option. The customer wants "to get everything by itself ".
As I understand it, 1C has a web server, and I can send GET / POST requests to it about purchases.
And vice versa, when moving in 1C (writing off balances, for example), you need to climb into the site database, using 1C tools and edit the balances.
Well, that's how I see it so far.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Vanger, 2015-10-23
@Adobe

If you need data exchange with the site, then look towards CommerceML, and do synchronization on a schedule.
Here is a link to the v8.1c.ru/edi/edi_stnd/90/92.htm
standard to see how it has already been implemented or you can add your own 1c here 1c.1c-bitrix.ru/ecommerce/download.php

I
Ilya Beloborodov, 2015-10-23
@kowap

I had experience with a builder. They sold apartments, noted in 1C, when changing the status of an apartment in 1C, XML was generated and sent to the site.
And on the other side -

T
thepry, 2015-10-23
@thepry

As I understand it, 1C has a web server, and I can send GET / POST requests to it about purchases.
1C can work with apache and IIS, through its web services (SOAP), and, starting from some of the versions 8.3, through http services (REST). Here and here .
In 1C, the balance is not just a field in a product, but data from several tables. They are increased by documents of receipt, return, etc., and are "eaten away" by orders. Accordingly, you will have to implement and support all this logic if you write from scratch.
There are ready-made modules for exchanging with the site - for example, exchanging via XML in CommerceML format on a schedule. This is what is included in 1C UT11, allowing it to exchange with Bitrix and other stores. CommerceML is quite complex and if you write your own exchange, you can not use it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question