Metadata declaration in package specification¶
Each PL/SQL package in IFS Applications must contain a section with metadata that describe what component and type of package it is. This information is then used by the runtime dictionary for various purposes.
Example of correct metamodel definition for a LU in component movie with file name Actor.api
module_ CONSTANT VARCHAR2(25) := 'MOVIE';
lu_name_ CONSTANT VARCHAR2(25) := 'Actor';
lu_type_ CONSTANT VARCHAR2(6) := 'Entity';
Note: Services and search domains have similar declarations, but the variable name is service_ or search_domain_ instead of lu_name_.
Missing component name declaration in package specification.¶
A module_ variable must be declared and assigned the component name.
Available actions¶
- InsertComponentName
Missing LU name declaration in package specification.¶
A lu_name_ variable must be declared and assigned the file name.
Available actions¶
- InsertLuName
Missing service name declaration in package specification.¶
A service_ variable must be declared and assigned the file name.
Available actions¶
- InsertServiceName
Missing search domain name declaration in package specification.¶
A search_domain_ variable must be declared and assigned the file name + SD.
Available actions¶
- InsertSearchDomainName
Incorrect component name declaration in package specification.¶
The name should be an uppercase version of the component folder name
Available actions¶
- ReplaceStatement
Incorrect name declaration in package specification.¶
The name should be the same as the file name.
Available actions¶
- ReplaceStatement