Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Removing unused Assembly References will improve performance.

Plugin References

The Plugin Reference tab allows the logic in another plugin to be accessible to the plugin the Plugin Reference is added to.

The referenced plugin should be enabled and in a compilable state.

When a plugin is added to the Plugin References tab, the Execution Order of the plugin is set to the execution order of the referenced plugin, and incremented by one to ensure that the plugins are compiled in an order able to satisfy the dependency requirements.

Embedded References

Third part assemblies can be attached to plugins on the Embedded References tab. When a plugin is compiled, the Embedded References are saved to the folder %ProgramData%\Jiwa Financials\Jiwa 7\{Jiwa Version}\{WindowsUser}\{SQL Server Name}\{Jiwa Database Name}\Plugins\{Jiwa username}\Compile and then loaded.

Custom Fields

Custom fields are defined on the Custom Fields tab.

Use meaningful names and descriptions.

Avoid abbreviating.

Use casing to help readability.

System Settings

System Settings are defined on the System Settings tab.

Use meaningful names and descriptions.

Avoid abbreviating.

Use casing to help readability.

Schedule

Schedules can be defined on the Schedule tab - these are only used by the ScheduledExecutionPlugin class, when the Jiwa Plugin Scheduler service is configured and running.

Use a meaningful name. If the schedule is daily at midnight, then “Daily Midnight” would be a reasonable name.

Double-right mouse click the Description to open the Schedule details dialog.

...

Schedules are not Enabled by default when added, so be sure to Enable the schedule.

Code

The code of a plugin by default is populated with several template classes.

  • Delete any classes automatically created that you are not using

...

  • Delete any using (or Imports in VB) statements you are not using

...

It is important to understand that some plugin classes are created and instantiated at logon time, and the same instance is used to invoke the methods within the class.

...