325: p_po_switch := 'PO_Single';
326: else
327: -- multiple POs
328: p_po_switch := 'PO_Multiple';
329: --p_po_number := 'Multiple'; --Pass the FND Message
330: p_po_number := FND_MESSAGE.GET_STRING('PO','PO_WF_NOTIF_MULTIPLE');
331: end if;
332: end if;
333:
326: else
327: -- multiple POs
328: p_po_switch := 'PO_Multiple';
329: --p_po_number := 'Multiple'; --Pass the FND Message
330: p_po_number := FND_MESSAGE.GET_STRING('PO','PO_WF_NOTIF_MULTIPLE');
331: end if;
332: end if;
333:
334: CLOSE po_cursor;
370: p_invoice_switch := 'Inv_Single';
371: else
372: -- multiple Invoices
373: p_invoice_switch := 'Inv_Multiple';
374: --p_invoice_number := 'Multiple'; --Pass the FND Message
375: p_invoice_number := FND_MESSAGE.GET_STRING('PO','PO_WF_NOTIF_MULTIPLE');
376: end if;
377: end if;
378:
371: else
372: -- multiple Invoices
373: p_invoice_switch := 'Inv_Multiple';
374: --p_invoice_number := 'Multiple'; --Pass the FND Message
375: p_invoice_number := FND_MESSAGE.GET_STRING('PO','PO_WF_NOTIF_MULTIPLE');
376: end if;
377: end if;
378:
379: CLOSE inv_cursor;
415: p_invoice_switch := 'Inv_Single';
416: else
417: -- multiple Invoices
418: p_invoice_switch := 'Inv_Multiple';
419: --p_invoice_number := 'Multiple'; --Pass the FND Message
420: p_invoice_number := FND_MESSAGE.GET_STRING('PO','PO_WF_NOTIF_MULTIPLE');
421: end if;
422: end if;
423:
416: else
417: -- multiple Invoices
418: p_invoice_switch := 'Inv_Multiple';
419: --p_invoice_number := 'Multiple'; --Pass the FND Message
420: p_invoice_number := FND_MESSAGE.GET_STRING('PO','PO_WF_NOTIF_MULTIPLE');
421: end if;
422: end if;
423:
424: CLOSE inv_cursor;