Jiwa generates a path into which the plugin will be compiled. This path is generated based on attributes like the name of the database, the version of Jiwa, and the Jiwa username of whoever is logging in. This allows compiled plugins to co-exist peacefully on a multi-user system, where each user may be accessing multiple databases, each with plugins having the same name.
To illustrate, when I log in to a demo database on my local machine, load up a plugin, and press the compile button, a .DLL is spat out at:
"C:\ProgramData\Jiwa Financials\Jiwa 7\7.0.117\localhost\JiwaDemo\Plugins\admin\Compile\Purchase Order Generation Reorder Method - Replenish to Minimum\"
The name of the .DLL is "Purchase Order Generation Reorder Method - Replenish to Minimum.dll". So, the full path ends up as:
- Code: Select all
C:\ProgramData\Jiwa Financials\Jiwa 7\7.0.117\localhost\JiwaDemo\Plugins\admin\Compile\Purchase Order Generation Reorder Method - Replenish to Minimum\Purchase Order Generation Reorder Method - Replenish to Minimum.dll
That's 218 characters already. Use a longer machine name (as opposed to "localhost" in the example above), and login to Jiwa as a user with a username longer than "admin" (again, as used in the example above), and we will soon find ourselves hitting the 260 char limit imposed by the OS!
In your case, I would recommend simply renaming the plugin. "Purchase Order Generation Reorder Method - Replenish to Minimum" is quite long (and yes, I realise we named it!). Maybe rename it to "PO Generation Reorder Method - Replenish to Min".