68:
69: X_progress := '002';
70:
71: if (l_debug = 'Y') then
72: FND_FILE.PUT_LINE(FND_FILE.LOG,'Received Qty : '||TO_CHAR(v_received_po_qty));
73: FND_FILE.PUT_LINE(FND_FILE.LOG,'RTV Qty : ' || to_char(v_rtv_po_qty));
74: FND_FILE.PUT_LINE(FND_FILE.LOG,'Corrected Qty : ' || to_char(v_corrected_po_qty));
75: end if;
76: RETURN(v_received_po_qty-v_rtv_po_qty+v_corrected_po_qty);
69: X_progress := '002';
70:
71: if (l_debug = 'Y') then
72: FND_FILE.PUT_LINE(FND_FILE.LOG,'Received Qty : '||TO_CHAR(v_received_po_qty));
73: FND_FILE.PUT_LINE(FND_FILE.LOG,'RTV Qty : ' || to_char(v_rtv_po_qty));
74: FND_FILE.PUT_LINE(FND_FILE.LOG,'Corrected Qty : ' || to_char(v_corrected_po_qty));
75: end if;
76: RETURN(v_received_po_qty-v_rtv_po_qty+v_corrected_po_qty);
77:
70:
71: if (l_debug = 'Y') then
72: FND_FILE.PUT_LINE(FND_FILE.LOG,'Received Qty : '||TO_CHAR(v_received_po_qty));
73: FND_FILE.PUT_LINE(FND_FILE.LOG,'RTV Qty : ' || to_char(v_rtv_po_qty));
74: FND_FILE.PUT_LINE(FND_FILE.LOG,'Corrected Qty : ' || to_char(v_corrected_po_qty));
75: end if;
76: RETURN(v_received_po_qty-v_rtv_po_qty+v_corrected_po_qty);
77:
78: EXCEPTION
146:
147: X_progress := '002';
148:
149: if (l_debug = 'Y') then
150: FND_FILE.PUT_LINE(FND_FILE.LOG,'Delivered Qty : '||TO_CHAR(v_delivered_po_qty));
151: end if;
152: RETURN(v_delivered_po_qty);
153:
154: EXCEPTION