MoneyWorks Manual
Edit
!--sphider_noindex-->
CloseDocument ()
Closes or disconnects from the document. Returns 1 on success, 0 on failure.
Availability: Available only to scripts loaded from the Scripts folder. A document script cannot open another document, since that would unload the calling script.
See Also:
OpenDocument: Open a document or connection (use from external script)