| Home | Templates | Classes | Guides |
The Code Checker Console lets you paste AI generated code or type your own, validate it, and review the resulting request and response XML without touching your project or recompiling. It is the fastest way to confirm that your QBAIClass calls build the XML you expect and that the response contains the fields you need.
The window has three tabs:
AI Generated Code
A text box where you paste code from your clipboard or type it directly. The Paste and Format button can import from the clipboard and apply basic formatting for readability.
Request XML
Shows the QBXML that will be sent to QuickBooks when you click Validate. After validation this tab holds the final formatted request.
Response XML
Shows the formatted response block returned by QuickBooks after validation and parsing. This is the same pretty printed style used by the XML Viewer.
Note: Screen captures are not included. Click Open tab content in browser to view XML with collapsible nodes in your default browser.
Below the tabs is a summary area titled API response after ProcessRequest completed. After validation it automatically shows:
The last two help you confirm that iterations are working. For example, if 150 records are returned in pages of 50:
Paste and Format
Pulls text from the clipboard into the Code tab and formats it for easier reading.
Validate
Executes the code in the sandboxed context used by the console, builds the request, sends it to QuickBooks, receives the response, parses and formats it, then updates the Request XML and Response XML tabs and the summary panel.
Clear
Clears all three tabs so you can try a new variation without closing the window.
Open tab content in browser
Opens the current tab’s XML in your default browser so you can expand and collapse nodes for quick inspection.
Copy tab content to clipboard
Copies the current tab’s XML to the clipboard. Handy for notes and for sending XML to support.
QBAIClass to set up a request.CompanyQuery or CustomerQuery with a few IncludeRetElement lines.| Home | Templates | Classes | Guides |