InteractiveDone Event
This event fires when QuickBooks Web Connector checks to see if the interactive session is finished.
Syntax
class QBWCServerInteractiveDoneEventParams { public: const QString &SessionTicket(); const QString &Response(); void SetResponse(const QString &qsResponse); int EventRetVal(); void SetEventRetVal(int iRetVal); };
// To handle, connect one or more slots to this signal. void InteractiveDone(QBWCServerInteractiveDoneEventParams *e);
// Or, subclass QBWCServer and override this emitter function. virtual int FireInteractiveDone(QBWCServerInteractiveDoneEventParams *e) {...}
Remarks
While the interactive session is open QuickBooks Web Connector will periodically poll your application to see if the session is finished. The response you provide determines if the session has ended or is still open.
SessionTicket identifies the session.
Response specifies whether the session has ended or not. Set this to empty string to "Done" to indicate the session has finished. Set this to any other value such as "Continue" to indicate the session is still ongoing.