ExchangePlans and SelectionFilter

Understanding basics of 1C:Enterprise platform. To start working with 1C:Enterprise platform visit Getting started page

#1
People who like this:0Yes/0No
Just came
Rating: 1
Joined: Jan 14, 2013
Company:

Hi.
I want to export only Catalogs by using SelectionFilter parameter in ExchangePlans.
Pls help me, thanks you.

 
#2
People who like this:0Yes/0No
Active user
1C:Professional
Rating: 8
Joined: Jun 25, 2013
Company: 1C Company

You can find examples of using SelectionFilter in 1C:Subsystems Library. See the SelectChanges method in the SuppliedData common module or in the InfoBaseObjectConvertion data processor module.

1C Company support team
 
#3
People who like this:0Yes/0No
Interested
Rating: 27
Joined: Apr 5, 2012
Company: 1TÇ Şirketi - Merv Bilgi İşlem Otomasyonu Yazılım Ltd. Şti.

Quote
I want to export only Catalogs by using SelectionFilter parameter in ExchangePlans.

In syntax there is explanation how to use this parameter:
"<SelectionFilter> (optional)

Type: Undefined; Metadata objects; ObjectRef, RecordsSet, Array.
Undefined - filter is empty, all changes on node are selected;
Metadata objects - changes in the main table, concerned to the given metadata object, are selected;
ObjectRef - in fact, only one record about changes of the given object can be selected, or no records if the object has never changed;
RecordsSet - set of register records, may be not selected, only record set filter is used to filter changes;
Array - all elements in array have one of the types listed above, except Undefined. Filter conditions are joined by OR.
Default value: Undefined."

U may try this versions and see how it works :).

Wish to platform syntax writers, to select knack points in syntax assistant. Because, link is only for users who available to read. Bold may attaract some attention.

 
#4
People who like this:0Yes/0No
Just came
Rating: 1
Joined: Jan 14, 2013
Company:

Thanks you everybody,
I have read on help and know about Undefined, ObjectRef but I could not create Array parameter for many Object(Example: many document objects).
Could you give me an example about type Metadata objects, Array

 
#5
People who like this:0Yes/0No
Timofey Bugaevsky
Guest

Joined:
Company:

Hello, Dinh Hung.
To create an array, use the following syntax:

Code
MyArray = New Array;

To get metadata of some catalog, you can use this syntax, for example:
Code
BanksMetadata = Metadata.Catalogs.Banks;

 
#6
People who like this:0Yes/0No
Just came
Rating: 1
Joined: Sep 5, 2014
Company:

Thanks Timofey Bugaevsky very much!

 
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.