The following lines contain the word 'select', 'insert', 'update' or 'delete':
,'Failed in before report trigger, item select. ')*/NULL;
,'Failed in before report trigger, locator select. ')*/NULL;
,'Failed in before report trigger, mkts select. ')*/NULL;
,'Failed in before report trigger, mdsp select. ')*/NULL;
,'Failed in before report triger, glcc select. ')*/NULL;
,'Failed in before report trigger, catg select. ')*/NULL;
RETURN ('and mtln.transaction_source_id = cupd.cost_update_id
and cupd.description between ''' || P_TXN_SOURCE_LO || ''' and ''' || P_TXN_SOURCE_HI || ''' ');
RETURN ('and mtln.transaction_source_id = cupd.cost_update_id
and cupd.description between >= ''' || P_TXN_SOURCE_LO || ''' ');
RETURN ('and mtln.transaction_source_id = cupd.cost_update_id
and cupd.description <= ''' || P_TXN_SOURCE_HI || ''' ');
SELECT
TRACKING_QUANTITY_IND
FROM
MTL_SYSTEM_ITEMS
WHERE INVENTORY_ITEM_ID = BREAK_ITEM_ID
AND ORGANIZATION_ID = P_ORG;