Field help (QTYFLG) 

This checkbox is read when the value of the Release qty field (UOMEXTQTY) for the work order is less than the value of the Expected STK qty field (EXTQTY).

Closure of a work order is determined by the value of the CTLCLE - Blocked in closing parameter (GPA chapter, CTL group).