WOBS-3381: Replaces manual check if webcode exists with internal getWebcode() method

The method getWebcode already checks if the related entity webcode exists.