2790:
2791:
2792: -- commented the following delete statement as this is not required in this trigger.
2793: -- This statement is executed in Concurrent process to default taxes from OM to AR
2794: --DELETE JAI_AR_TRX_INS_LINES_T
2795: --WHERE customer_trx_line_id = v_customer_trx_line_id;
2796:
2797: IF v_old_customer_trx_id <> v_header_id THEN
2798: --Added by Qinglei for JAI Trigger Elimination 11-May-2012 begin
6116: OPEN OLD_CUSTOMER_TRX_ID_CUR;
6117: FETCH OLD_CUSTOMER_TRX_ID_CUR INTO v_old_customer_trx_id;
6118: CLOSE OLD_CUSTOMER_TRX_ID_CUR;
6119:
6120: DELETE JAI_AR_TRX_INS_LINES_T
6121: WHERE Customer_Trx_Line_Id = v_customer_trx_line_id;
6122:
6123: IF v_old_customer_trx_id <> v_header_id THEN
6124: --Added by Qinglei for JAI Trigger Elimination 11-May-2012 begin