<retrieve>PBSELECT( VERSION(400) TABLE(NAME="enterprise" ) COLUMN(NAME="enterprise.enterprise") COMPUTE(NAME="FN_GET_USERTYPE_LIC_COUNT('R') as readonly_active_users") COMPUTE(NAME="FN_GET_USERTYPE_LIC_COUNT('P') as portal_active_users") COMPUTE(NAME="FN_GET_USERTYPE_LIC_COUNT('T') as partner_active_users") COMPUTE(NAME="FN_GET_ENTP_USERS_LICENCE('E',ENTERPRISE.ENTERPRISE) as enterprise_total_users") COMPUTE(NAME="FN_GET_ENTP_USERS_LICENCE('P',ENTERPRISE.ENTERPRISE) as portal_total_users") COMPUTE(NAME="FN_GET_ENTP_USERS_LICENCE('T',ENTERPRISE.ENTERPRISE) as partner_total_users") COMPUTE(NAME="FN_GET_USERTYPE_LIC_COUNT('E') as enterprise_active_users") COMPUTE(NAME="FN_GET_ENTP_USERS_LICENCE('R',ENTERPRISE.ENTERPRISE) as readonly_total_users")WHERE( EXP1 ="enterprise.enterprise" OP ="=" EXP2 =":enterprise" ) ) ARG(NAME = "enterprise" TYPE = string) </retrieve>