Utility (Base Server)

A utility (Utility Logical Unit) defines a stateless PL/SQL utility package. Unlike an entity, a utility has no database table, no view, and no CRUD operations β€” it is purely a container for PL/SQL procedures and functions that perform calculations, orchestrations, or cross-entity operations.

The .utility file is a model declaration stored as XML in the IDE. It is one of the simplest model types β€” it exists mainly to register the utility in the component’s model inventory and to generate the package declaration skeleton.

Syntax Skeleton

utilityname <UtilName>;
component   <COMPONENT>;
[layer      <Ext|Cust>;]
 
[codegenproperties {
   TitleText "<display title>";
}]

Keywords

KeywordRequiredDescription
utilitynameYesName of the utility. Must match the filename without .utility.
componentYesThe IFS component that owns this utility.
layerCust onlyExt or Cust for customization layers. Omit for Core.

Example

utilityname CalculationUtil;
component   APPS8;
layer       Core;
 
codegenproperties {
   TitleText "Collection of calculation methods";
}

What Gets Generated

The utility model generates:

  • A PL/SQL package specification: <UtilName>_SYS (or _UTIL depending on convention)
  • A skeleton package body

You hand-code all procedures and functions inside the generated skeleton. The generated spec is empty β€” it is your responsibility to add the procedure/function declarations to both the spec and the body.


When to Use a Utility vs. an Entity

UseReason
EntityThe concept has data that is persisted in the database (rows, columns, state).
UtilityThe concept is purely behavioral β€” calculations, orchestrations, API wrappers, or logic that operates on entity data but has no data of its own.

Utility Packages Show in Overview Diagrams

Utilities appear as nodes in the Overview Diagram alongside entities. You can draw Dependency links from entities to utilities to document which entities a utility operates on.


See Also