Document toolboxDocument toolbox

Admin utilities

The menu ADMIN in the Settings module provides access to a bunch of utilities. These should probably only be used by Ventu.


DATA ADJUST

This is a collection of jobs that manipulates the data in various ways. Each job is stored as a seperate PHP script in sys/basic/admin/jobs/.

All the PHP scripts are included by the main index.php script; each script should extend the $jobs array; be careful not to use form names that are used by any of the other jobs.

Adjust prices

This job adjusts prices in Microbizz with a certain percentage. If you type 2, when the prices are raised by two percent, so a price of 100, will be raised to 102.

The following elements are affected:

TasksAdjust prices on all tasks that aren't closed.
ProductsAdjust product prices on all products in the product catalogue.
SubscriptionsAdjust prices on all subscriptions. It it possible to filter these.
Basis pricesAdjust hour prices for global hour prices.
Individual pricesAdjust all customer individual prices, both hour prices and product prices.
Prices pr. company typeAdjust hour prices for individual prices on customer types.


DELETE DATA

This allows you to delete data in various ways.

SCHEDULED JOBS

This lists the jobs that are scheduled to run.

SMS LOG

This lists the SMSs sent and received by the contract.

LOG

This gives access to the Microbizz log files.

TRANSFER LOG

This lists the files that have been fetch from integrations or sent to integrations, or imported using import filters, or received by FTP getters, etc. etc.

The files can also be seen in the Log.

LOCK WATCH

This page displays info about the object locks. This is one of the first places you should check if the system seems slow.

API

This uses the Javascript jsoneditor class to provide a UI for building and executing API calls.

Select which API call to execute, then add parameters to the command, and finally click on the Execute button.

PROFILE LOG

When profiling a page (or tab or table) the result ends up in the profile log. Items are deleted automatically after a few hours.

There are two types of log files here: the DB log is in standard MB log format, the PHP log is in cachegrind format.