For the complete documentation index, see llms.txt. This page is also available as Markdown.

Setup Journal Voucher Templates

Logic ERP has improved the Script Editor, the window where formulas are written. It opens from the Add Formula button of Setup Journal Voucher Templates, and it now also works on the web.


What's new

  • On the web - the editor opens full screen on a wide screen. Hide fields gives the whole width to the formula, and on a phone Fields, Script and Results switch between the parts.

  • Convert to VB.NET - turns a formula written in VBScript or PowerShell into a VB.NET formula, so that it also works on the web and in the 64-bit version. The original is kept at the bottom as notes, and a division by zero gives 0 for that value.

  • Check & Fix - finds the mistakes in a VB.NET formula, corrects the usual ones (a missing End If or Then, signs from other languages, a misspelt field name, a missing Dim) and lists the rest by line. It is also offered when Script Watch or Save finds a mistake.

  • Formulas are protected - a VB.NET formula can no longer read or change records directly, use outside components or start another program. Script Watch and Save stop with Not allowed in a formula and show the lines concerned.

  • Layout kept - the indentation and blank lines of a formula are kept when it is saved and opened again.

  • Examples - a new page of ready-made VB.NET formulas, each tested, for anyone writing their first formulas.


For more detailed information, Click Here