RPC HELP TRPCBroker RPCVersion

From VistApedia
Jump to: navigation, search

RPCVersion Property

Example

Applies to

   TRPCBroker component

Declaration

   property RPCVersion: String;

Description

The RPCVersion design-time property is a published string type property used to pass the version of the RPC. This can be useful for backward compatibility.

As you introduce new functionality into an existing RPC, your RPC can branch into different parts of the code based on the value of the RPCVersion property. The Broker sets the XWBAPVER variable on the VistA M Server to the contents of the RPCVersion property. This property cannot be empty and defaults to "0" (zero).

You may wish to use the application version number in the RPCVersion property. See Application Issues for a suggested method for constructing version numbers.