D
D
Dmitry Gavrilenko2015-11-30 12:41:25
.NET
Dmitry Gavrilenko, 2015-11-30 12:41:25

Where can I find documentation on API 1C enterprise?

Good afternoon, colleagues. There was a need to integrate 1C data into another system. Development is in C#. Connection happens through Com object. Using dynamic, you can call Cyrillic 1C methods. Where can I find these methods? For example

ComObject connector = service.GetComConnector("1С КИИ (v1)");
//получение ссылки на спровочник 1С Контрагенты:
dynamic bookRef = connector.GetFunctionValue("NewObject", "CatalogManager.Контрагенты");
//находим конкретного контрагента 1С по коду
var kontragent = bookRef.НайтиПоКоду("000000094").ПолучитьОбъект();
//создаем вспомогательную переменную типа ComObject
var comObj = new ComObject(kontragent);

If I want to get all counterparties, what method should I call? How can I then loop through it?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
Konstantin Nagibovich, 2015-11-30
@Maddox

The simplest option is the syntax helper in the configurator.

Y
Yuri Goncharuk, 2015-11-30
@yukon39

From the innovations, look at OData, everything is much closer to C # there.
Example: infostart.ru/public/403426

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question