moneyworks://auth/ URL scheme for external OAuth2

Some OAuth2 providers refuse to work in a webview and require that the OAuth2 redirect be loaded in a browser. This is highly inconvenient for a desktop app. In MoneyWorks 9.2.7 and later. the solution for this is the moneyworks://auth/ … Continue reading →

Posted in Uncategorized | Comments Off on moneyworks://auth/ URL scheme for external OAuth2

MoneyWorks Core Database Schema

This is the full MoneyWorks database schema. You can get this in XML format by exporting "xmlschema". It is easily available to MCP clients via the get_database_schema tool. When accessing the database from external systems, be sure to pay attention … Continue reading →

Posted in Uncategorized | Comments Off on MoneyWorks Core Database Schema

Model Context Protocol

MoneyWorks Gold 9.2.5 and later includes a Model Context Protocol server that allows a local AI client to query and interact with MoneyWorks on your computer. Requirements MoneyWorks Gold 9.2.5 or later and any desktop AI client app that supports … Continue reading →

Posted in Uncategorized | Comments Off on Model Context Protocol

Accessing MWScript scripts on the server from REST

MoneyWorks 9.2.5 introduces the option of invoking script handlers on the server. REST requests use a moneyworks command-line client worker to process the request. Normally these do not load any scripts. You can configure your server to allow scripts to … Continue reading →

Posted in MWScript, REST | Comments Off on Accessing MWScript scripts on the server from REST

The MWScript Debugger

MoneyWorks 9.2.1 and later has a debugger for the MWScript scripting language. The debugger can be used to proactively debug scripts by setting breakpoints and stepping through the script line-by-line, or it can be entered if a runtime error occurs, … Continue reading →

Posted in MWScript | Comments Off on The MWScript Debugger

Using Sqlite3 with MoneyWorks

MoneyWorks 9.2 introduces bindings to the Sqlite3 API. This means you can: Create and use temporary in-memory sqlite databases in MWScript for data analysis and tabulation (as a more powerful alternative to TableAccumulate etc) Create and/or open local sqlite databases … Continue reading →

Posted in MWScript | Comments Off on Using Sqlite3 with MoneyWorks

Running a scheduled task in MoneyWorks

Sometimes you want to run a process in a MoneyWorks database on a schedule to happen whether people are logged into MoneyWorks or not. Usually this will involve connecting to a remote server and exchanging information one way or the … Continue reading →

Posted in CLI | Comments Off on Running a scheduled task in MoneyWorks

Using sftp or scp from MoneyWorks to transfer files to/from a remote server

SFTP is a nice and easy protocol for secure transfer of files to/from other servers. It's much easier and more secure than FTP. However, the Curl library in MoneyWorks does not include SFTP (which requires the entire OpenSSH library). However, … Continue reading →

Posted in MWScript | Comments Off on Using sftp or scp from MoneyWorks to transfer files to/from a remote server

PreviewXMLtoPDF and merging output documents

MoneyWorks Gold 9.1.7 has a new function for converting the "xml" output format (from DoReport and DoForm) to PDF. On its own, this isn't especially useful, since you can just output to PDF in the first place. However, it is … Continue reading →

Posted in Esoterica, MWScript | Comments Off on PreviewXMLtoPDF and merging output documents

Web views in the MoneyWorks Navigator

You have long been able to add your own panels to the MoneyWorks Navigator. Custom Navigator panels can be implemented using custom invoice forms or custom reports and are loaded from a folder named Navigator Extras in your custom plugins … Continue reading →

Posted in Esoterica, MWScript | Comments Off on Web views in the MoneyWorks Navigator