Olá.
Tente o seguinte:

let sCEP = {cliente.CEP_NUM}
let iTam = (8-len(sCEP))
let sCompl = ""
if (iTam > 0) then
let sCompl = (String(iTam,"0"))
let sCEP = cStr(sCompl) + cStr(sCEP)
end
let sCEP1 = (Left(sCEP,5))
let sCEP2 = (Right(sCEP,3))
return sCEP1 + "-" + sCEP2



Deve funcionar tanto para campos numéricos como alfanuméricos.