DBA Data[Home] [Help]

APPS.OKL_DEAL_CREATE_PUB dependencies on OKL_CONTEXT

Line 1294: lp_chrv_rec.authoring_org_id := OKL_CONTEXT.GET_OKC_ORG_ID;

1290: lp_chrv_rec.object_version_number := 1.0;
1291: lp_chrv_rec.sts_code := G_STS_CODE; -- 'ENTERED';
1292: lp_chrv_rec.scs_code := 'LEASE';
1293: lp_chrv_rec.contract_number := p_contract_number;
1294: lp_chrv_rec.authoring_org_id := OKL_CONTEXT.GET_OKC_ORG_ID;
1295: lp_chrv_rec.inv_organization_id := OKL_CONTEXT.get_okc_organization_id;
1296: -- lp_chrv_rec.currency_code := OKC_CURRENCY_API.GET_OU_CURRENCY(OKL_CONTEXT.GET_OKC_ORG_ID);
1297:
1298: lp_chrv_rec.cust_acct_id := l_cust_acct_id;

Line 1295: lp_chrv_rec.inv_organization_id := OKL_CONTEXT.get_okc_organization_id;

1291: lp_chrv_rec.sts_code := G_STS_CODE; -- 'ENTERED';
1292: lp_chrv_rec.scs_code := 'LEASE';
1293: lp_chrv_rec.contract_number := p_contract_number;
1294: lp_chrv_rec.authoring_org_id := OKL_CONTEXT.GET_OKC_ORG_ID;
1295: lp_chrv_rec.inv_organization_id := OKL_CONTEXT.get_okc_organization_id;
1296: -- lp_chrv_rec.currency_code := OKC_CURRENCY_API.GET_OU_CURRENCY(OKL_CONTEXT.GET_OKC_ORG_ID);
1297:
1298: lp_chrv_rec.cust_acct_id := l_cust_acct_id;
1299: lp_chrv_rec.currency_code := l_currency_code;

Line 1296: -- lp_chrv_rec.currency_code := OKC_CURRENCY_API.GET_OU_CURRENCY(OKL_CONTEXT.GET_OKC_ORG_ID);

1292: lp_chrv_rec.scs_code := 'LEASE';
1293: lp_chrv_rec.contract_number := p_contract_number;
1294: lp_chrv_rec.authoring_org_id := OKL_CONTEXT.GET_OKC_ORG_ID;
1295: lp_chrv_rec.inv_organization_id := OKL_CONTEXT.get_okc_organization_id;
1296: -- lp_chrv_rec.currency_code := OKC_CURRENCY_API.GET_OU_CURRENCY(OKL_CONTEXT.GET_OKC_ORG_ID);
1297:
1298: lp_chrv_rec.cust_acct_id := l_cust_acct_id;
1299: lp_chrv_rec.currency_code := l_currency_code;
1300:

Line 1722: lp_chrv_rec.authoring_org_id := OKL_CONTEXT.GET_OKC_ORG_ID;

1718: lp_chrv_rec.object_version_number := 1.0;
1719: lp_chrv_rec.sts_code := G_STS_CODE; -- 'ENTERED';
1720: lp_chrv_rec.scs_code := p_scs_code;
1721: lp_chrv_rec.contract_number := p_contract_number;
1722: lp_chrv_rec.authoring_org_id := OKL_CONTEXT.GET_OKC_ORG_ID;
1723: lp_chrv_rec.inv_organization_id := OKL_CONTEXT.get_okc_organization_id;
1724: lp_chrv_rec.currency_code := OKC_CURRENCY_API.GET_OU_CURRENCY(OKL_CONTEXT.GET_OKC_ORG_ID);
1725: lp_chrv_rec.currency_code_renewed := NULL;
1726: lp_chrv_rec.template_yn := 'N';

Line 1723: lp_chrv_rec.inv_organization_id := OKL_CONTEXT.get_okc_organization_id;

1719: lp_chrv_rec.sts_code := G_STS_CODE; -- 'ENTERED';
1720: lp_chrv_rec.scs_code := p_scs_code;
1721: lp_chrv_rec.contract_number := p_contract_number;
1722: lp_chrv_rec.authoring_org_id := OKL_CONTEXT.GET_OKC_ORG_ID;
1723: lp_chrv_rec.inv_organization_id := OKL_CONTEXT.get_okc_organization_id;
1724: lp_chrv_rec.currency_code := OKC_CURRENCY_API.GET_OU_CURRENCY(OKL_CONTEXT.GET_OKC_ORG_ID);
1725: lp_chrv_rec.currency_code_renewed := NULL;
1726: lp_chrv_rec.template_yn := 'N';
1727: lp_chrv_rec.chr_type := 'CYA';

Line 1724: lp_chrv_rec.currency_code := OKC_CURRENCY_API.GET_OU_CURRENCY(OKL_CONTEXT.GET_OKC_ORG_ID);

1720: lp_chrv_rec.scs_code := p_scs_code;
1721: lp_chrv_rec.contract_number := p_contract_number;
1722: lp_chrv_rec.authoring_org_id := OKL_CONTEXT.GET_OKC_ORG_ID;
1723: lp_chrv_rec.inv_organization_id := OKL_CONTEXT.get_okc_organization_id;
1724: lp_chrv_rec.currency_code := OKC_CURRENCY_API.GET_OU_CURRENCY(OKL_CONTEXT.GET_OKC_ORG_ID);
1725: lp_chrv_rec.currency_code_renewed := NULL;
1726: lp_chrv_rec.template_yn := 'N';
1727: lp_chrv_rec.chr_type := 'CYA';
1728: lp_chrv_rec.archived_yn := 'N';

Line 1983: lp_chrv_rec.authoring_org_id := OKL_CONTEXT.GET_OKC_ORG_ID;

1979: lp_chrv_rec.object_version_number := 1.0;
1980: lp_chrv_rec.sts_code := G_STS_CODE; -- 'ENTERED';
1981: lp_chrv_rec.scs_code := p_scs_code;
1982: lp_chrv_rec.contract_number := p_contract_number;
1983: lp_chrv_rec.authoring_org_id := OKL_CONTEXT.GET_OKC_ORG_ID;
1984: lp_chrv_rec.inv_organization_id := OKL_CONTEXT.get_okc_organization_id;
1985: lp_chrv_rec.currency_code := OKC_CURRENCY_API.GET_OU_CURRENCY(OKL_CONTEXT.GET_OKC_ORG_ID);
1986: lp_chrv_rec.currency_code_renewed := NULL;
1987: lp_chrv_rec.template_yn := 'N';

Line 1984: lp_chrv_rec.inv_organization_id := OKL_CONTEXT.get_okc_organization_id;

1980: lp_chrv_rec.sts_code := G_STS_CODE; -- 'ENTERED';
1981: lp_chrv_rec.scs_code := p_scs_code;
1982: lp_chrv_rec.contract_number := p_contract_number;
1983: lp_chrv_rec.authoring_org_id := OKL_CONTEXT.GET_OKC_ORG_ID;
1984: lp_chrv_rec.inv_organization_id := OKL_CONTEXT.get_okc_organization_id;
1985: lp_chrv_rec.currency_code := OKC_CURRENCY_API.GET_OU_CURRENCY(OKL_CONTEXT.GET_OKC_ORG_ID);
1986: lp_chrv_rec.currency_code_renewed := NULL;
1987: lp_chrv_rec.template_yn := 'N';
1988: lp_chrv_rec.chr_type := 'CYA';

Line 1985: lp_chrv_rec.currency_code := OKC_CURRENCY_API.GET_OU_CURRENCY(OKL_CONTEXT.GET_OKC_ORG_ID);

1981: lp_chrv_rec.scs_code := p_scs_code;
1982: lp_chrv_rec.contract_number := p_contract_number;
1983: lp_chrv_rec.authoring_org_id := OKL_CONTEXT.GET_OKC_ORG_ID;
1984: lp_chrv_rec.inv_organization_id := OKL_CONTEXT.get_okc_organization_id;
1985: lp_chrv_rec.currency_code := OKC_CURRENCY_API.GET_OU_CURRENCY(OKL_CONTEXT.GET_OKC_ORG_ID);
1986: lp_chrv_rec.currency_code_renewed := NULL;
1987: lp_chrv_rec.template_yn := 'N';
1988: lp_chrv_rec.chr_type := 'CYA';
1989: lp_chrv_rec.archived_yn := 'N';

Line 2295: lp_chrv_rec.authoring_org_id := OKL_CONTEXT.GET_OKC_ORG_ID;

2291: lp_chrv_rec.object_version_number := 1.0;
2292: lp_chrv_rec.sts_code := G_STS_CODE; -- 'ENTERED';
2293: lp_chrv_rec.scs_code := p_scs_code;
2294: lp_chrv_rec.contract_number := p_contract_number;
2295: lp_chrv_rec.authoring_org_id := OKL_CONTEXT.GET_OKC_ORG_ID;
2296: lp_chrv_rec.inv_organization_id := OKL_CONTEXT.get_okc_organization_id;
2297:
2298: -- lp_chrv_rec.currency_code := OKC_CURRENCY_API.GET_OU_CURRENCY(OKL_CONTEXT.GET_OKC_ORG_ID);
2299: lp_chrv_rec.currency_code := OKL_ACCOUNTING_UTIL.get_func_curr_code;

Line 2296: lp_chrv_rec.inv_organization_id := OKL_CONTEXT.get_okc_organization_id;

2292: lp_chrv_rec.sts_code := G_STS_CODE; -- 'ENTERED';
2293: lp_chrv_rec.scs_code := p_scs_code;
2294: lp_chrv_rec.contract_number := p_contract_number;
2295: lp_chrv_rec.authoring_org_id := OKL_CONTEXT.GET_OKC_ORG_ID;
2296: lp_chrv_rec.inv_organization_id := OKL_CONTEXT.get_okc_organization_id;
2297:
2298: -- lp_chrv_rec.currency_code := OKC_CURRENCY_API.GET_OU_CURRENCY(OKL_CONTEXT.GET_OKC_ORG_ID);
2299: lp_chrv_rec.currency_code := OKL_ACCOUNTING_UTIL.get_func_curr_code;
2300:

Line 2298: -- lp_chrv_rec.currency_code := OKC_CURRENCY_API.GET_OU_CURRENCY(OKL_CONTEXT.GET_OKC_ORG_ID);

2294: lp_chrv_rec.contract_number := p_contract_number;
2295: lp_chrv_rec.authoring_org_id := OKL_CONTEXT.GET_OKC_ORG_ID;
2296: lp_chrv_rec.inv_organization_id := OKL_CONTEXT.get_okc_organization_id;
2297:
2298: -- lp_chrv_rec.currency_code := OKC_CURRENCY_API.GET_OU_CURRENCY(OKL_CONTEXT.GET_OKC_ORG_ID);
2299: lp_chrv_rec.currency_code := OKL_ACCOUNTING_UTIL.get_func_curr_code;
2300:
2301: lp_chrv_rec.currency_code_renewed := NULL;
2302: lp_chrv_rec.template_yn := 'N';

Line 2369: IF okl_context.get_okc_org_id IS NULL THEN

2365: END IF;
2366: l_kplv_tbl(i).attribute_category := null;
2367: END LOOP;
2368:
2369: IF okl_context.get_okc_org_id IS NULL THEN
2370: l_chr_id := x_chr_id;
2371: okl_context.set_okc_org_context(p_chr_id => l_chr_id );
2372: END IF;
2373:

Line 2371: okl_context.set_okc_org_context(p_chr_id => l_chr_id );

2367: END LOOP;
2368:
2369: IF okl_context.get_okc_org_id IS NULL THEN
2370: l_chr_id := x_chr_id;
2371: okl_context.set_okc_org_context(p_chr_id => l_chr_id );
2372: END IF;
2373:
2374: /*OKL_COPY_CONTRACT_PUB.copy_party_roles(
2375: p_api_version => p_api_version,

Line 3300: p_org_id => okl_context.get_okc_org_id,

3296: x_msg_data => x_msg_data,
3297: p_old_khr_id => p_old_khr_id,
3298: p_source_id => p_source_id,
3299: p_dest_id => p_dest_id,
3300: p_org_id => okl_context.get_okc_org_id,
3301: p_organization_id => okl_context.get_okc_organization_id
3302: );
3303:
3304: IF (x_return_status = OKC_API.G_RET_STS_UNEXP_ERROR) THEN

Line 3301: p_organization_id => okl_context.get_okc_organization_id

3297: p_old_khr_id => p_old_khr_id,
3298: p_source_id => p_source_id,
3299: p_dest_id => p_dest_id,
3300: p_org_id => okl_context.get_okc_org_id,
3301: p_organization_id => okl_context.get_okc_organization_id
3302: );
3303:
3304: IF (x_return_status = OKC_API.G_RET_STS_UNEXP_ERROR) THEN
3305: RAISE OKC_API.G_EXCEPTION_UNEXPECTED_ERROR;

Line 3323: p_org_id => okl_context.get_okc_org_id,

3319: x_msg_count => x_msg_count,
3320: x_msg_data => x_msg_data,
3321: p_source_id => p_source_id, -- vp id
3322: p_dest_id => p_dest_id, -- k id
3323: p_org_id => okl_context.get_okc_org_id,
3324: p_organization_id => okl_context.get_okc_organization_id
3325: );
3326:
3327: IF (x_return_status = OKC_API.G_RET_STS_UNEXP_ERROR) THEN

Line 3324: p_organization_id => okl_context.get_okc_organization_id

3320: x_msg_data => x_msg_data,
3321: p_source_id => p_source_id, -- vp id
3322: p_dest_id => p_dest_id, -- k id
3323: p_org_id => okl_context.get_okc_org_id,
3324: p_organization_id => okl_context.get_okc_organization_id
3325: );
3326:
3327: IF (x_return_status = OKC_API.G_RET_STS_UNEXP_ERROR) THEN
3328: RAISE OKC_API.G_EXCEPTION_UNEXPECTED_ERROR;

Line 3343: p_org_id => okl_context.get_okc_org_id,

3339: x_msg_count => x_msg_count,
3340: x_msg_data => x_msg_data,
3341: p_source_id => p_source_id, -- vp id
3342: p_dest_id => p_dest_id, -- k id
3343: p_org_id => okl_context.get_okc_org_id,
3344: p_organization_id => okl_context.get_okc_organization_id
3345: );
3346:
3347: IF (x_return_status = OKC_API.G_RET_STS_UNEXP_ERROR) THEN

Line 3344: p_organization_id => okl_context.get_okc_organization_id

3340: x_msg_data => x_msg_data,
3341: p_source_id => p_source_id, -- vp id
3342: p_dest_id => p_dest_id, -- k id
3343: p_org_id => okl_context.get_okc_org_id,
3344: p_organization_id => okl_context.get_okc_organization_id
3345: );
3346:
3347: IF (x_return_status = OKC_API.G_RET_STS_UNEXP_ERROR) THEN
3348: RAISE OKC_API.G_EXCEPTION_UNEXPECTED_ERROR;

Line 4415: IF okl_context.get_okc_org_id IS NULL THEN

4411: END IF;
4412: */
4413: l_chr_id := x_chr_id;
4414:
4415: IF okl_context.get_okc_org_id IS NULL THEN
4416: okl_context.set_okc_org_context(p_chr_id => l_chr_id );
4417: END IF;
4418:
4419: -- bug 4227922 property tax options defaulting onto contract

Line 4416: okl_context.set_okc_org_context(p_chr_id => l_chr_id );

4412: */
4413: l_chr_id := x_chr_id;
4414:
4415: IF okl_context.get_okc_org_id IS NULL THEN
4416: okl_context.set_okc_org_context(p_chr_id => l_chr_id );
4417: END IF;
4418:
4419: -- bug 4227922 property tax options defaulting onto contract
4420: IF ( p_scs_code = 'LEASE') THEN

Line 5139: IF okl_context.get_okc_org_id IS NULL THEN

5135: END IF;
5136:
5137: l_chr_id := x_chr_id;
5138:
5139: IF okl_context.get_okc_org_id IS NULL THEN
5140: okl_context.set_okc_org_context(p_chr_id => l_chr_id );
5141: END IF;
5142:
5143: -- bug 4227922 property tax options defaulting onto contract

Line 5140: okl_context.set_okc_org_context(p_chr_id => l_chr_id );

5136:
5137: l_chr_id := x_chr_id;
5138:
5139: IF okl_context.get_okc_org_id IS NULL THEN
5140: okl_context.set_okc_org_context(p_chr_id => l_chr_id );
5141: END IF;
5142:
5143: -- bug 4227922 property tax options defaulting onto contract
5144: IF ( p_scs_code = 'LEASE') THEN

Line 5458: IF okl_context.get_okc_org_id IS NULL THEN

5454: row_cnt NUMBER;
5455:
5456: BEGIN
5457:
5458: IF okl_context.get_okc_org_id IS NULL THEN
5459: l_chr_id := p_chrv_rec.id;
5460: okl_context.set_okc_org_context(p_chr_id => l_chr_id );
5461: END IF;
5462:

Line 5460: okl_context.set_okc_org_context(p_chr_id => l_chr_id );

5456: BEGIN
5457:
5458: IF okl_context.get_okc_org_id IS NULL THEN
5459: l_chr_id := p_chrv_rec.id;
5460: okl_context.set_okc_org_context(p_chr_id => l_chr_id );
5461: END IF;
5462:
5463: x_return_status := OKC_API.START_ACTIVITY(
5464: p_api_name => l_api_name,

Line 5835: IF okl_context.get_okc_org_id IS NULL THEN

5831: lx_kplv_rec okl_k_party_roles_pvt.kplv_rec_type;
5832:
5833: BEGIN
5834:
5835: IF okl_context.get_okc_org_id IS NULL THEN
5836: l_chr_id := p_chr_id;
5837: okl_context.set_okc_org_context(p_chr_id => l_chr_id );
5838: END IF;
5839:

Line 5837: okl_context.set_okc_org_context(p_chr_id => l_chr_id );

5833: BEGIN
5834:
5835: IF okl_context.get_okc_org_id IS NULL THEN
5836: l_chr_id := p_chr_id;
5837: okl_context.set_okc_org_context(p_chr_id => l_chr_id );
5838: END IF;
5839:
5840: x_return_status := OKC_API.START_ACTIVITY(
5841: p_api_name => l_api_name,

Line 6688: IF okl_context.get_okc_org_id IS NULL THEN

6684:
6685:
6686: BEGIN
6687:
6688: IF okl_context.get_okc_org_id IS NULL THEN
6689: l_chr_id := p_durv_rec.chr_id;
6690: okl_context.set_okc_org_context(p_chr_id => l_chr_id );
6691: END IF;
6692:

Line 6690: okl_context.set_okc_org_context(p_chr_id => l_chr_id );

6686: BEGIN
6687:
6688: IF okl_context.get_okc_org_id IS NULL THEN
6689: l_chr_id := p_durv_rec.chr_id;
6690: okl_context.set_okc_org_context(p_chr_id => l_chr_id );
6691: END IF;
6692:
6693: x_return_status := OKC_API.START_ACTIVITY(
6694: p_api_name => l_api_name,

Line 7954: IF okl_context.get_okc_org_id IS NULL THEN

7950: END IF;
7951:
7952: END IF;
7953:
7954: IF okl_context.get_okc_org_id IS NULL THEN
7955: l_chr_id := p_durv_rec.chr_id;
7956: okl_context.set_okc_org_context(p_chr_id => l_chr_id );
7957: END IF;
7958:

Line 7956: okl_context.set_okc_org_context(p_chr_id => l_chr_id );

7952: END IF;
7953:
7954: IF okl_context.get_okc_org_id IS NULL THEN
7955: l_chr_id := p_durv_rec.chr_id;
7956: okl_context.set_okc_org_context(p_chr_id => l_chr_id );
7957: END IF;
7958:
7959: IF (p_durv_rec.program_contract_number IS NOT NULL OR old_khr_id IS NOT NULL) THEN
7960:

Line 7971: p_org_id => okl_context.get_okc_org_id,

7967: p_old_khr_id => old_khr_id,
7968: p_prog_override_yn => p_durv_rec.khr_generate_accrual_yn, -- program flag yn
7969: p_source_id => x_durv_rec.khr_khr_id, -- program id
7970: p_dest_id => p_durv_rec.chr_id,
7971: p_org_id => okl_context.get_okc_org_id,
7972: p_organization_id => okl_context.get_okc_organization_id
7973: );
7974:
7975: IF (x_return_status = OKC_API.G_RET_STS_UNEXP_ERROR) THEN

Line 7972: p_organization_id => okl_context.get_okc_organization_id

7968: p_prog_override_yn => p_durv_rec.khr_generate_accrual_yn, -- program flag yn
7969: p_source_id => x_durv_rec.khr_khr_id, -- program id
7970: p_dest_id => p_durv_rec.chr_id,
7971: p_org_id => okl_context.get_okc_org_id,
7972: p_organization_id => okl_context.get_okc_organization_id
7973: );
7974:
7975: IF (x_return_status = OKC_API.G_RET_STS_UNEXP_ERROR) THEN
7976: RAISE OKC_API.G_EXCEPTION_UNEXPECTED_ERROR;

Line 8174: IF okl_context.get_okc_org_id IS NULL THEN

8170:
8171:
8172: BEGIN
8173:
8174: IF okl_context.get_okc_org_id IS NULL THEN
8175: l_chr_id := p_durv_rec.chr_id;
8176: okl_context.set_okc_org_context(p_chr_id => l_chr_id );
8177: END IF;
8178:

Line 8176: okl_context.set_okc_org_context(p_chr_id => l_chr_id );

8172: BEGIN
8173:
8174: IF okl_context.get_okc_org_id IS NULL THEN
8175: l_chr_id := p_durv_rec.chr_id;
8176: okl_context.set_okc_org_context(p_chr_id => l_chr_id );
8177: END IF;
8178:
8179: x_return_status := OKC_API.START_ACTIVITY(
8180: p_api_name => l_api_name,