[Home] [Help]
1352: -- Call Document Numbering API to get the order number
1353: IF x_template_id IS NOT NULL THEN
1354:
1355: g_progress:= '411';
1356: PO_DOC_NUMBERING_PKG.DEFAULT_DOC_NUMBER_UDA(p_doc_header_id => l_po_header_id,
1357: p_draft_id => -1,
1358: p_template_id => x_template_id,
1359: p_context_usage => 'Base Document',
1360: p_source_org_owned => PO_DOC_NUMBERING_PKG.get_owned_by_issuing_org(x_clm_source_document_id),
1356: PO_DOC_NUMBERING_PKG.DEFAULT_DOC_NUMBER_UDA(p_doc_header_id => l_po_header_id,
1357: p_draft_id => -1,
1358: p_template_id => x_template_id,
1359: p_context_usage => 'Base Document',
1360: p_source_org_owned => PO_DOC_NUMBERING_PKG.get_owned_by_issuing_org(x_clm_source_document_id),
1361: p_caller => 'PO',
1362: x_doc_number => x_doc_number,
1363: x_return_status => x_return_status);
1364: