397: AND CDL.Transfer_Status_Code = 'X';
398:
399: log_message ( 'Total CDLs updated ' || SQL%ROWCOUNT);
400:
401: log_message ( 'Call for Pa_Costing.ReverseCdl for CDLs with TSC = Y ');
402:
403: For cdlsel in c_sel_cdl
404: Loop
405:
404: Loop
405:
406: log_message ( '....CDL with TSC = Y , Exp Item ID = ' || cdlsel.expenditure_item_id);
407:
408: Pa_Costing.ReverseCdl
409: ( X_expenditure_item_id => cdlsel.expenditure_item_id
410: , X_billable_flag => cdlsel.billable_flag
411: , X_amount => NULL
412: , X_quantity => NULL
643: ELSE
644:
645: log_message ('Reversing EI is PJI Summarised. Creating I Lines....');
646:
647: Pa_Costing.ReverseCdl
648: ( X_expenditure_item_id => l_exp_item_id
649: , X_billable_flag => l_billable_flag
650: , X_amount => NULL
651: , X_quantity => NULL