ExchangePlansManager.SelectChanges
SelectChanges(<Node>, <MessageNumber>, <SelectionFilter>)
Type:
ExchangePlanRef.
Transmission node where the modifications are filtered.
<MessageNumber> (required)
Type:
Number.
Data exchange message number that will have the selected modifications placed into.
<SelectionFilter> (optional)
Type:
Undefined;
MetadataObject: HTTPService,
MetadataObject: ExternalDataSource,
MetadataObject: Field,
MetadataObject: Table,
MetadataObject: Function,
MetadataObject: HTTPServiceURLTemplate,
MetadataObject: DefinedType,
MetadataObject: ChartOfCalculationTypes,
MetadataObject: ChartOfAccounts,
MetadataObject: BusinessProcess,
MetadataObject: Document,
MetadataObject: DocumentJournal,
MetadataObject: Task,
MetadataObject: ChartOfCharacteristicTypes,
MetadataObject: ExchangePlan,
MetadataObject: AccountingRegister,
MetadataObject: AccumulationRegister,
MetadataObject: CalculationRegister,
MetadataObject: InformationRegister,
MetadataObject: Catalog,
MetadataObject: FunctionalOption,
MetadataObject: FunctionalOptionsParameter,
MetadataObject: Command,
MetadataObject: CommandGroup,
MetadataObject: SettingsStorage,
MetadataObject: CommonCommand,
MetadataObject: WebService,
MetadataObject: WSReference,
MetadataObject: Interface,
MetadataObject: Constant,
MetadataObject: FilterCriterion,
MetadataObject: DocumentNumerator,
MetadataObject: DataProcessor,
MetadataObject: CommonPicture,
MetadataObject: Template,
MetadataObject: CommonModule,
MetadataObject: Form,
MetadataObject: Style,
MetadataObject: Language,
MetadataObject: Report,
MetadataObject: XDTOPackage,
MetadataObject: SessionParameter,
MetadataObject: Enum,
MetadataObject: EventSubscription,
MetadataObject: Subsystem,
MetadataObject: Sequence,
MetadataObject: ScheduledJob,
MetadataObject: Role,
MetadataObject: StyleItem,
MetadataObject: Graph,
MetadataObject: Dimension,
MetadataObject: EnumValue,
MetadataObject: WebServiceOperation,
MetadataObject: Recalculation,
MetadataObject: WebServiceParameter,
MetadataObject: AccountingFlag,
MetadataObject: ExtDimensionAccountingFlag,
MetadataObject: Attribute,
MetadataObject: TabularSection,
MetadataObject: Resource,
MetadataObject: AddressingAttribute,
MetadataObject: CommonAttribute,
MetadataObject: Cube,
MetadataObject: DimensionTable; ObjectRef, RecordsSet,
Array.
Undefined - filter is empty, all changes on node are selected;
MetadataObject - 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.
Type:
DataSelection.
Forms the selection of the changed data to transmit it to this exchange plan node or to another one. During the modification selection, the modification register record is stated the exchange data message number in which the modifications need to be transmitted. The message number in the registration record is assigned to delete and prevent further modification transmissions of a confirmed received message carrying corresponding register modifications records.
Server, thick client, external connection, Mobile application (server).
RecordOfMessage = ExchangePlans.CreateMessageWriter(); Record = New XMLWriter; Record.OpenFile(FileName); RecordOfMessage.BeginWrite(Record, Node); Sel = ExchangePlans.SelectChanges(RecordOfMessage.Recipient, RecordOfMessage.MessageNo); While Sel.Next() Do Object = Sel.Get(); WriteXML(Record, Object); EndDo; RecordOfMessage.EndWrite(); Record.Close();
|