937:
938: IF (l_contract_template_id is not null) THEN
939: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
940: IBE_UTIL.debug('l_contract_template_id = '||l_contract_template_id);
941: IBE_UTIL.debug('Before calling OKC_TERMS_COPY_GRP.copy_terms_api, quoteheaderId = '||lx_quote_header_id);
942: END IF;
943: OKC_TERMS_COPY_GRP.copy_terms(
944: p_api_version =>1.0
945: ,p_template_id => l_contract_template_id
939: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
940: IBE_UTIL.debug('l_contract_template_id = '||l_contract_template_id);
941: IBE_UTIL.debug('Before calling OKC_TERMS_COPY_GRP.copy_terms_api, quoteheaderId = '||lx_quote_header_id);
942: END IF;
943: OKC_TERMS_COPY_GRP.copy_terms(
944: p_api_version =>1.0
945: ,p_template_id => l_contract_template_id
946: ,p_target_doc_type => 'QUOTE'
947: ,p_target_doc_id => lx_quote_header_id