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_at_yasure>
Date: Thu, 09 Sep 2004 17:05:40 -0700
Message-ID: <1094774804.54106_at_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 Fri Sep 10 2004 - 02:05:40 CEST