https://aveva.dev-verintcommunity.com/cfs-file/__key/communityserver-discussions-components-files/1635/280683pcompDim.pmlfrm
define method .dimRemove( !action is string )
if (!action.eq('ALL')) then
do !i values !this.aidNum
aid clear all $!
enddo
!this.aidNum.clear()
else
!ceRefe = !!ce
var !delaid coll all branch for ce
do !dd values !delaid
$!dd
handle any
return error 1 '$!!error.text'
endhandle
!number = !!ce.string().substring(2).replace('/','').substring(6)
!!ce = !ceRefe
aid clear all $!