Using the Payroll Export Java class plug-in

In rare cases, you may need to modify the functionality of the standard Payroll Export Interface.

An example of this non-standard requirement is Cobalt Mainframe's inability to handle negative numbers. An algorithm is required to change the last digit in a negative number to a certain character as specified in a lookup table.

This kind of specialized algorithm can be implemented through the Java class plug-in that is available in the standard Payroll Export Interface. You can add functionality by extending the package.com.workbrain.app.export.payroll.PayrollExportPlugin class. The plug-in class is implemented after the XML definition has filtered the required database data. See Java class plug-in.

You must specify the class name of the plug-in in the main XML tag definition. See Payroll Export XML tag reference.

This plug-in should be considered as a last resort since the standard Payroll Export Interface was designed to be a generic, 100% code-free interface for the application payroll export implementations to be consistent.