Desktop version

Main > Forum > 1C:Enterprise Platform > 1C:Integration > Accessing to stock data

Forum

Search UsersRules
Accessing to stock data
#1
Just came
Points:: 0
Joined:: Apr 17, 2020

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!

Profile
#2
Administrator
Points:: 0
Joined:: Oct 3, 2019

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/

Profile
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)



© 1C LLC. All rights reserved
1C Company respects the privacy of our customers and visitors
to our Web-site.