calling getExternalValue from LudoDBTable only when parent got an id