Reading Cost Centers and Assigned Orders (2)

 

KOSTL_WITH_OR_EX

* from Allevo version 2.9.25

The general constant KOSTL_WITH_OR is used to determine whether orders assigned to a cost center are included when reading data (depending on the object class and the order type; see description of the constant). Still, orders are read by means of the constant KOSTL_WITH_OR only if the current cost center is entered as representative object in the master record of the order (field KOSTV in table AUFK).

The alternative constant KOSTL_WITH_OR_EX allows to read also other allocations besides the responsible cost center. This offers additional variability for processing orders.

The field of the order table AUFK containing the cost center should be entered in column Value from of the constant. Valid field names are e.g.: CYCLE, AKSTL, KOSTL and KOSTV. Any other valid fields containing the relevant cost center may however also be chosen for the selection (e.g. with customized extension of the AUFK).

Note:

The constant KOSTL_WITH_OR_EX described here only affects the processing of data records if the constant KOSTL_WITH_OR is active as well.