2587: x_item_type OUT NOCOPY VARCHAR2) IS
2588:
2589: BEGIN
2590: IF P_document_type ='SA' THEN
2591: IF nvl(fnd_profile.Value('WSH_SR_SOURCE'),'D') = 'B' THEN
2592: x_event_name:= 'oracle.apps.wsh.batch.bsai';
2593: x_item_type:='WSHBATI';
2594: ELSE
2595: x_event_name:= 'oracle.apps.wsh.sup.ssai';