👉 This application is part of the Payroll Engine.
The Payroll Console application provides API-like commands. See the Payroll Engine samples and tests for examples of how to use this tool. For a better understanding of the working concepts, it is recommended to read the Payroll Engine Whitepaper.
Payroll Console commands:
Command | Group | Description |
---|---|---|
Help | Common | Show the command reference |
UserVariable | Common | View and change the environment user variable |
Stopwatch | Common | Stopwatch based on environment user variable |
ActionReport | Action | Report actions from an assembly |
HttpGet HttpPost HttpPut HttpDelete |
System | Execute http GET/POST/PUT/DELETE request |
LogTrail | System | Trace the tenant log 1) |
PayrollResults | Payroll | Report payroll data to screen and/or file |
PayrollImport | Payroll | Import any payroll data from json/zip file |
PayrollImportExcel | Payroll | Import payroll data from Excel file |
PayrollExport | Payroll | Export any payroll data to json file |
Report | Report | Report to file 2) |
DataReport | Report | Report data to json file |
CaseTest | Payroll | Test case availability, build data and user input validation |
ReportTest | Test | Test report output data |
PayrunTest | Test | Execute payrun and test the results |
PayrunEmployeeTest | Test | Execute employee payrun and test the results |
PayrunStatistics | Statistics | Display payrun statistics |
RegulationShare | Regulation share | Manage regulation shares |
TenantDelete | Data management | Delete tenant |
PayrunJobDelete | Data management | Delete payrun job with payroll results |
RegulationRebuild | Script | Rebuild the regulation objects |
PayrunRebuild | Script | Rebuild payrun |
ScriptPublish | Script | Publish scripts from C# file |
ScriptExport | Script | Export regulation scripts to folder |
1) Tenant logs are generated by the regulations and should not be confused with the application log.
2) Based on FastReports.
An example how to import ap payroll from a JSON file:
C:> PayrollConsole PayrollImport MyPayroll.json /bulk
The Payroll Console configuration PayrollConsole\appsetings.json
contains the following settings:
Setting | Description | Default |
---|---|---|
StartupCulture |
The payroll console process culture (string) | System culture |
Setting | Description | Default |
---|---|---|
BaseUrl |
The backend base URL (string) | |
Port |
The backend url port (string) | |
Timeout |
The backend request timeout (TimeSpan) | 100 seconds |
File and console logging with Serilog.
It is recommended that you save the application settings within your local User Secrets.
Under Windows, the payroll console stores its logs in the system folder %ProgramData%\PayrollConsole\logs
.