Answer the question
In order to leave comments, you need to log in
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
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.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question