All the naming standards suggest a standard prefix for packaged applications (expressed as PP). For example OE (order entry package) or GL (general ledger package).
Following is a naming standard recommended for processes and functions:
For In-House Development | For Package Development | |
|---|---|---|
Processes: | Oooaaa | Ppaaaooo |
Functions: | Ooonnnn | Ooonnnn |
Where:
ooo indicates the basic or primary object that the process uses. For example:
| CUS | Customers |
|---|---|
ORD | Orders |
SYS | General system procedures |
LGR | Ledgers |
aaa indicates the type of actions taken on the object by functions within the process. For example:
MNT | Maintenance |
|---|---|
REP | Reports |
WRK | Work with |
CTL | Control routines |
SBR | General subroutines |
SEL | Selection subroutines |
MNU | Displays a menu |
nnnn is a sequentially assigned number within the "ooo" grouping. For example:
ORD0001 | Enter new order details |
|---|---|
ORD0002 | Modify current order details |
ORD0003 | Modify back order details |
- Every process name within a partition must be unique. This standard is enforced by LANSA.
- Every function name must be unique within a process. Function names may be identical if they belong to different processes.
- No process should contain more than 20 functions (unless is a special subroutine or prompt key "grouping" process).