DBA Data[Home] [Help]

APPS.OKS_EXTWARPRGM_OSO_PVT dependencies on OKC_CONTEXT

Line 1261: l_chrv_tbl_in(1).inv_organization_id := okc_context.get_okc_organization_id;

1257: l_chrv_tbl_in(1).contract_number := p_k_header_rec.contract_number;
1258: l_chrv_tbl_in(1).sts_code := p_k_header_rec.sts_code;
1259: l_chrv_tbl_in(1).scs_code := 'WARRANTY';
1260: l_chrv_tbl_in(1).authoring_org_id := p_k_header_rec.authoring_org_id;
1261: l_chrv_tbl_in(1).inv_organization_id := okc_context.get_okc_organization_id;
1262: l_chrv_tbl_in(1).pre_pay_req_yn := 'N';
1263: l_chrv_tbl_in(1).cust_po_number := p_k_header_rec.cust_po_number;
1264: l_chrv_tbl_in(1).qcl_id := OKC_API.G_MISS_NUM;
1265: l_chrv_tbl_in(1).short_description := Nvl(p_k_header_rec.short_description,'Warranty/Extended Warranty');

Line 2276: Okc_context.set_okc_org_context (p_k_line_rec.org_id, p_k_line_rec.organization_id);

2272:
2273: Begin
2274:
2275: x_return_status := OKC_API.G_RET_STS_SUCCESS;
2276: Okc_context.set_okc_org_context (p_k_line_rec.org_id, p_k_line_rec.organization_id);
2277: l_Line_id := Get_K_Cle_Id
2278: (
2279: p_ChrId => p_k_line_rec.k_id
2280: , p_InvServiceId => p_k_line_rec.srv_id

Line 2444: OKC_API.set_message(G_APP_NAME, G_REQUIRED_VALUE, G_COL_NAME_TOKEN, 'Service Inventory Item ID ' || p_k_line_rec.srv_id || ' ORG ' + okc_context.get_okc_organization_id);

2440:
2441: If l_return_status = 'S' then
2442: l_line_item_id := l_cimv_tbl_out(1).id;
2443: Else
2444: OKC_API.set_message(G_APP_NAME, G_REQUIRED_VALUE, G_COL_NAME_TOKEN, 'Service Inventory Item ID ' || p_k_line_rec.srv_id || ' ORG ' + okc_context.get_okc_organization_id);
2445: Raise G_EXCEPTION_HALT_VALIDATION;
2446: End if;
2447:
2448: --Create SalesCredits

Line 3692: Okc_context.set_okc_org_context (p_extwar_rec.hdr_org_id, p_extwar_rec.organization_id);

3688: l_salescredit_tbl_in OKS_EXTWARPRGM_OSO_PVT.SalesCredit_Tbl;
3689:
3690: Begin
3691: x_return_status := OKC_API.G_RET_STS_SUCCESS;
3692: Okc_context.set_okc_org_context (p_extwar_rec.hdr_org_id, p_extwar_rec.organization_id);
3693:
3694: Open l_party_csr;
3695: Fetch l_party_csr Into l_party_name;
3696: Close l_party_csr;