Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.tools -> Re: Sort Data, at runtime

Re: Sort Data, at runtime

From: Daniel Morgan <damorgan_at_x.washington.edu>
Date: Thu, 09 Sep 2004 17:05:40 -0700
Message-ID: <1094774804.54106@yasure>


Iceman wrote:

> Daniel,
>
> in the POST-QUERY trigger for this datablock I'm running this code
>
> BEGIN
> SELECT distinct description, segment1 INTO :ITEM_DESCRIPTION,
> :INVENTORY_ITEM_CODE
> FROM apps.mtl_system_items
> WHERE organization_id = :xxp_quotation_header.organization_id
> AND inventory_item_id = :INVENTORY_ITEM_ID;
> EXCEPTION WHEN OTHERS THEN NULL;
> END;
>
> SET_RECORD_PROPERTY(:SYSTEM.TRIGGER_RECORD, :SYSTEM.TRIGGER_BLOCK,
> STATUS, QUERY_STATUS);
>
> This is what keeps them sync.

Why the query? Why not use calculated/formula items and let me be part of the block and dynamic?

-- 
Daniel A. Morgan
University of Washington
damorgan_at_x.washington.edu
(replace 'x' with 'u' to respond)
Received on Thu Sep 09 2004 - 19:05:40 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US