D
D
DmitryName2016-03-21 12:00:41
1C
DmitryName, 2016-03-21 12:00:41

How to unload Enumeration objects in 1C?

I am uploading data from 1C to xml format, I want to get all the necessary data! I unload the Directories with the following line:
Selection = Directory.Cashier.Select();
While Selection.Next() Loop
WriteXML(WriteXML, Selection.GetObject());
EndCycle;
This method does not work with Enums, can you advise how to upload enum objects in the same format?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry Kinash, 2019-07-20
@DmitryName

No way. Enums are not data, but an inseparable and non-removable part of the working configuration (like subsystems, event subscriptions, etc.). If you move data between identical configurations, then each enumeration element is already in the second base and without your transfers. If you transfer to a different configuration, then you will not be able to change the configuration of the second base with your transfers.
If the task is to transfer the necessary data for import into a non-1C system, then you need to organize the upload yourself. This is done by traversing the collection of metadata.

T
tovogukA, 2016-03-21
@tovogukA

In which one is the same?
If in the form of a line - that it is elementary.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question