Here you can observe a simplified example of collecting costs that can be used when filling-in collective costs table. The latter are then split to individual WOs in Split WO window.
First you have to open a new user-defined procedure and set form fWOSplitOnWO in general information panel. This enables you to call procedure directly from
Split WO window.

If required, create a user interface for entering criteria used in collecting costs. Otherwise you can also use the following two #EventsFrom# and #EventsTo# variables which are offered in the
Split WO window particularly for user-defined procedure. Let us say we will make use of them and perform execution using the following data:

As can be observed cost are recorded temporary SQL table #whf_WO_SplitOnWO_2Split.
In the end refresh data in table of costs by performing executing procedure.

Perform procedure via the wizard menu of Split WO window.
This example is not suitable for collecting user data. It is rather intended for displaying elements to be used in automatically collecting costs. Here belong names of temporary tables and variables that must be used. Collecting data depends on the accounting practice of the individual user; more precisely, on the Chart of Accounts,
method used in posting of costs, cost centers, accounting period, etc.