391: -- Generates the real key based on the type of the surrogate key
392: ----------------------------------------------------------------
393: IF p_type = 'HEADER' THEN
394: --SELECT zx_trx_header_id_s.nextval 395: SELECT zx_transaction_s.nextval 396: INTO x_real_value
397: FROM DUAL;
398: --------------------------------------------------------
399: -- This value has been harcoded to test with Nilesh data