Used wrong return value on shortlink creation. Change to ResourceId whi...

...ch should be correct.

Tested with OpenbravoPos and seems to work