question: private void selectAttributeSetInstance ( ) { int m_warehouse_id = getM_Warehouse_ID ( ) ; int m_product_id = getM_Product_ID ( ) ; if ( m_product_id <= 0 ) return ; MProduct product = MProduct . get ( getCtx ( ) , m_product_id ) ; MWarehouse wh = MWarehouse . get ( getCtx ( ) , m_warehouse_id ) ; String title = product . get_Translation ( MProduct . COLUMNNAME_Name ) + " - " + wh . get_Translation ( MWarehouse . COLUMNNAME_Name ) ; PAttributeInstance pai = new PAttributeInstance ( m_frame , title , m_warehouse_id , 0 , m_product_id , 0 ) ; if ( pai . getM_AttributeSetInstance_ID ( ) != - 1 ) { fAttrSetInstance_ID . setText ( pai . getM_AttributeSetInstanceName ( ) ) ; fAttrSetInstance_ID . setValue ( new Integer ( pai . getM_AttributeSetInstance_ID ( ) ) ) ; } else { fAttrSetInstance_ID . setValue ( Integer . valueOf ( 0 ) ) ; } }
target:  filter by Attribute Set Instance