Position Detail Keyword help

Hii,

How Position details keyword returns to multiple instances,

My strategy has 2 Sets (For Long and Short). Each set has exit conditions and there will be a re-entry in both sets until universal exit triggers & universal exit at 3.20PM.
Underlying - Nifty 50

Case 1 :

Set 1 (Long) Entry Triggered ,Position detail(Entry,Buy,Quantity) = 50
once after my Set 1 Exit Triggered , Position details will become zero or remains 50?

same ,in case my Set 2 (short) Entry Triggered means ,Position detail(Entry,Short,Quantity) = -50
once my Set 2 Exit Triggered means , Position details will become zero or remains -50?

Case 2:

if Set 1 Entry Condition triggered once again, Position detail (Entry,Buy,Quantity) = 50 or 100??

My question is position detail fetches total entry quantities or it fetch net open quantity at the time of condition check?