Accessing to stock data

1C:Enterprise platform integration capabilities and techniques

#1
People who like this:0Yes/0No
Just came
Rating: 0
Joined: Apr 17, 2020
Company: Kozmos Tekstil

Hello,

I am trying to build a script with PHP (pure) so I can access stock numbers in 1C database. I am quite new in 1C and couldn't find relevant information on user guid as well. Where can I look for it?

Thanks in advance!

 
#2
People who like this:0Yes/0No
Administrator
Rating: 23
Joined: Oct 3, 2019
Company:

Hello Magsud,

unfortunately, the 1C platform doesn't provide direct access to its database.

If you want your PHP script to receive data from 1C, you need to create a HTTP service on the 1C side that will return the necessary data. And your PHP script can connect to this HTTP service.

Here're some examples of how this can be done:

https://1c-dn.com/blog/work-with-http-services-in-1c-part-1-get-method/

https://1c-dn.com/blog/work-with-http-services-in-1c-part-2-post-method/

 
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)
Be the first to know tips & tricks on business application development!

A confirmation e-mail has been sent to the e-mail address you provided .

Click the link in the e-mail to confirm and activate the subscription.