F&O Margin Debit/Credit Process

On what positions would the Margin be debited?

The Margins would be debited on Futures buy open positions, Futures sell open positions and Options sell open positions.