Answer the question
In order to leave comments, you need to log in
How does the site and 1C: Enterprise interact?
Hello,
I am working in a group on one project (marketplace) and we need to interact with 1C:Enterprise. The problem is that we have no experience with ERP and do not understand how the site should interact with 1C. There is information on CommerceML 2 ( here it is ) and on the exchange protocol ( here it is ), but I found there only a general layout, there are no specific examples and explanations. Could you help me, preferably by linking to an article or example code (preferably django or another python framework)?
Thanks in advance.
Answer the question
In order to leave comments, you need to log in
about CommerceML + 2
but in most cases it is done on the side 1c loading / unloading. The site only generates data in the required format.
We did the integration of 1C with the site. In general terms, yes.
On the 1C side:
- we create an exchange plan - we
include tables that need to be unloaded in the exchange plan
- we create a scheduled task that runs every 5 minutes 24/7
- a scheduled task selects changes according to the exchange plan - the PlanExchange.SelectChanges() method
- received upload the changes to XML using a typical serializer of the 1C platform
- WriteXML() - upload the
resulting
file to the site
API inconsistent links.
- writing data to the database
- we fix the number of the received receipt in the database
- in the next exchange cycle we give 1C the number of the accepted receipt so that 1C can deregister the previously sent data.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question