Stylesheet

Hy all,

I want use a Nav 2009 R2 stylesheet funtcion on RTC. I want to do the next.
Base table is Sales Header, one of the connection table is Sales Line (connection fields, Document Type and Document No.). I want use only (from Sales Line) where type is Item and I want use some information from Item card. So Sales Line not only a connected table it is base table on the same time. I don’t find solution for it, have anybody idea?

thx