ExchangePlanObject.<Exchange plan name>.OnSendDataToMaster

Syntax:

OnSendDataToMaster(<DataItem>, <ItemSend>)

Parameters:

<DataItem>

When the event handler is called, this parameter contains a data item, changes to which will be registered and must be placed in the data exchange message. Data items can be ConstantValueManager. objects, database objects, register record sets, sequences or recalculations.

<ItemSend>

Type: DataItemSend.
When the event is called this parameter contains the Auto value, which means that the data item will be placed into the message. Within the handler, a parameter may be assigned a different value.
The Delete value means that a message can contain a value that is used to delete a corresponding data item in the infobase to which the message is addressed. In the case of a database object, the message will contain an object of ObjectDeletion type, containing a reference to the database object. In the case of a record set, an empty set of records will be placed. However, in the case of a ConstantValueManager. data item, an action that is performed to Delete a value does not differ from Auto.
Ignore value means that the message will have no contents related to the data item.
Default value: Auto.

Description:

Data and configuration changes in the distributed infobase are exchanged using data exchange messages. There is a kind of message that is used to transfer changes from a master node to a slave and visa versa. The handler for this event is called before the data item's image is placed in the data exchange message that is to be sent from a slave node to its master. A handler is called for each data item that is placed in the message.

    

1C:Enterprise Developer's Community