This command will list the business unit configured in the process data.
Related tables
Table
Description
Primary key (PK)
Connection tables
PMACTREVISION
Process revision table
PMACTREVISION
PMPROCESSDEPT
Process department table
PKPMPROCESSDEPT
ADDEPARTMENT
Department record table
PKADDEPARTMENT
Oracle/Postgres/SQL Server
SELECT AREV.IDACTIVITY AS PROCESS_ID, AREV.NMACTIVITY AS PROCESS_NAME, D.IDDEPARTMENT, D.NMDEPARTMENT FROM PMACTREVISION AREV INNERJOIN PMPROCESSDEPT PD ON AREV.CDACTIVITY = PD.CDPROCESS INNERJOIN ADDEPARTMENT D ON PD.CDDEPARTMENT = D.CDDEPARTMENT WHERE AREV.IDACTIVITY = 'BPM000001'/*NOTE1*/ AND AREV.FGCURRENT= 1 ORDERBY D.IDDEPARTMENT, D.NMDEPARTMENT