Request Event
Fired when a client sends a request to the component.
Syntax
type TRequestEvent = procedure ( Sender: TObject; ConnectionId: Integer; UserIndex: Integer; const Request: String ) of Object;
property OnRequest: TRequestEvent read FOnRequest write FOnRequest;
Remarks
This event will fire with the raw XML data received from the client, which is to be processed by QuickBooks.
The ConnectionId indicates which client connection this Request event is firing for. The UserIndex is the index of the user in the User array property. Request is the QBXML Request sent from the client.
A UserIndex of -1 means that no matching credentials were found in the AuthorizedUsers collection.