[Home] [Help]
11886: -- Set the connection policy context. Bug 5018076.
11887: --
11888: mo_global.set_policy_context('S', p_org_id);
11889:
11890: OKC_TERMS_COPY_GRP.COPY_DOC(
11891: p_api_version => 1.0,
11892: p_init_msg_list => FND_API.G_FALSE,
11893: p_commit => FND_API.G_FALSE,
11894: p_source_doc_type => p_contracts_doctype,
11935: -- The way I am adding this error may get changed in the future.
11936: -- So, please be aware of that
11937: --
11938: FND_MESSAGE.SET_NAME('PON','PON_CONTRACT_COPY_ERR');
11939: FND_MESSAGE.SET_TOKEN('REASON','Can not copy contracts for source_id =' || l_source_doc_id || '. Error returned by OKC_TERMS_COPY_GRP.COPY_DOC API is - ' || SUBSTR(l_msg_data,1,150));
11940: FND_MSG_PUB.ADD;
11941: RAISE FND_API.G_EXC_ERROR;
11942: RETURN;
11943: END IF;