| Home | Templates | Classes |
The Clarion QuickBooks Wrapper provides a set of classes that coordinate connection, session control, request XML construction, response parsing, tools, and debug logging for QuickBooks Desktop. Use this index to jump to the per-class pages.
| Class Name | Purpose |
|---|---|
| QBAIClass | High-level facade that streamlines development and makes AI assisted workflows possible. Handles request setup, automatic tag closing, sending, and response traversal with simple calls like Init, AddTag, AddGroupStart, AddGroupEnd, SendRequest, GetField, and iterators for multi record reads. |
These six classes are the internal foundation used by QBAIClass and by advanced users who prefer direct control.
| Class Name | Purpose |
|---|---|
| QBConnectionManager | Handles licensing, QuickBooks connection setup, and closing. |
| QBSessionManager | Manages session state with QuickBooks and sends or receives XML. Provides ProcessRequest. |
| QBXMLWriter | Builds properly formatted QBXML request strings. Supports tag attributes and raw injection. |
| QBXMLParser | Parses XML response strings into fields and groups. Provides field accessors and group iteration. |
| QBXMLTools | Helper methods including formatted XML output, clipboard helpers, file save, and a two tab XML viewer. |
| QBDebugLogger | Manages DebugView output, formatting, and toggles used across the wrapper. |
A typical request follows this sequence behind the scenes:
QBConnectionManager -> OpenConnection()QBSessionManager -> BeginSession()QBXMLWriter -> Build the requestQBSessionManager -> ProcessRequest()QBXMLParser -> Parse the responseQBSessionManager -> EndSession()QBConnectionManager -> CloseConnection()Tip: When you use QBAIClass, it coordinates these steps for you.
The template wires cross references among the classes so they can collaborate. You can override them manually if you are bypassing the template or building a custom harness.
Examples:
QBWriter.QBConnectionManagerObject points to QBConnectionManagerQBParser.QBSessionManagerObject points to QBSessionManagerQBTools.QBXMLWriterObject points to QBXMLWriter| Home | Templates | Classes |