Get artnum in detail-view

Hey guys :slight_smile:

Is there a built-in function to get the artnum from the current article in detail-view?
i need to setup an sql-query and need the artnum for a specific query from the article.

Also, which class do i have to override when it comes to the render for the detail-view?

got it, it was in the oProductDetails-object