DBA Data[Home] [Help]

APPS.PO_AUTOCREATE_DOC dependencies on PO_MOAC_UTILS_PVT

Line 376: po_moac_utils_pvt.set_org_context(x_org_id); --

372: x_org_id := po_wf_util_pkg.GetItemAttrNumber (itemtype => itemtype,
373: itemkey => itemkey,
374: aname => 'ORG_ID');
375:
376: po_moac_utils_pvt.set_org_context(x_org_id); --
377:
378: --
379: l_consume_req_demand_doc_id := PO_WF_UTIL_PKG.GetItemAttrNumber
380: (itemtype => itemtype,

Line 984: po_moac_utils_pvt.set_org_context(x_org_id); --

980: /* Set org context */
981: x_org_id := po_wf_util_pkg.GetItemAttrNumber (itemtype => itemtype,
982: itemkey => itemkey,
983: aname => 'ORG_ID');
984: po_moac_utils_pvt.set_org_context(x_org_id); --
985:
986: /* Get rfq check flags */
987:
988: x_rfq_required_flag := po_wf_util_pkg.GetItemAttrText

Line 1073: po_moac_utils_pvt.set_org_context(x_org_id); --

1069: x_org_id := po_wf_util_pkg.GetItemAttrNumber (itemtype => itemtype,
1070: itemkey => itemkey,
1071: aname => 'ORG_ID');
1072:
1073: po_moac_utils_pvt.set_org_context(x_org_id); --
1074:
1075: x_suggested_vendor_name := po_wf_util_pkg.GetItemAttrText
1076: (itemtype => itemtype,
1077: itemkey => itemkey,

Line 2407: po_moac_utils_pvt.set_org_context(x_org_id); --

2403: (itemtype => itemtype,
2404: itemkey => itemkey,
2405: aname => 'ORG_ID');
2406:
2407: po_moac_utils_pvt.set_org_context(x_org_id); --
2408:
2409: /* Retrieve required info from item attributes */
2410:
2411: x_item_id := po_wf_util_pkg.GetItemAttrNumber

Line 3806: po_moac_utils_pvt.set_org_context(x_org_id); --

3802: x_group_code := 'DEFAULT';
3803: end if;
3804:
3805:
3806: po_moac_utils_pvt.set_org_context(x_org_id); --
3807:
3808: /* Get user values */
3809:
3810: x_created_by := to_number(FND_PROFILE.VALUE('user_id'));

Line 4269: po_moac_utils_pvt.set_org_context(x_org_id); --

4265: (itemtype => itemtype,
4266: itemkey => itemkey,
4267: aname => 'ORG_ID');
4268:
4269: po_moac_utils_pvt.set_org_context(x_org_id); --
4270:
4271: /* Get user values */
4272:
4273: x_created_by := to_number(FND_PROFILE.VALUE('user_id'));

Line 4473: po_moac_utils_pvt.set_org_context(x_org_id); --

4469: (itemtype => itemtype,
4470: itemkey => itemkey,
4471: aname => 'ORG_ID');
4472:
4473: po_moac_utils_pvt.set_org_context(x_org_id); --
4474:
4475:
4476: /* Get the group id so we can launch doc creation and approval
4477: * for this group.

Line 4740: PO_MOAC_UTILS_PVT.set_org_context(x_org_id); --

4736: itemkey => itemkey,
4737: aname => 'PURCHASING_ORG_ID');
4738: --
4739:
4740: PO_MOAC_UTILS_PVT.set_org_context(x_org_id); --
4741: x_interface_header_id := po_wf_util_pkg.GetItemAttrNumber
4742: (itemtype => itemtype,
4743: itemkey => itemkey,
4744: aname => 'INTERFACE_HEADER_ID');

Line 5225: po_moac_utils_pvt.set_org_context(x_org_id); --

5221: /* Bug: 1479382 set the org contect */
5222:
5223: IF x_org_id IS NOT NULL THEN
5224:
5225: po_moac_utils_pvt.set_org_context(x_org_id); --
5226:
5227: --
5228: IF x_org_id <> l_purchasing_org_id THEN
5229: --Set the org_id to be the purchasing org for PO Approval Process

Line 5235: po_moac_utils_pvt.set_org_context(l_purchasing_org_id); --

5231: itemkey => itemkey,
5232: aname => 'ORG_ID',
5233: avalue => l_purchasing_org_id);
5234: --Set the context to be that of purchasing org
5235: po_moac_utils_pvt.set_org_context(l_purchasing_org_id); --
5236:
5237: END IF;
5238: --
5239: END IF;

Line 5469: po_moac_utils_pvt.set_org_context(x_org_id);

5465: END IF;
5466:
5467: -- set the org context back to original one
5468: IF x_org_id <> l_purchasing_org_id THEN
5469: po_moac_utils_pvt.set_org_context(x_org_id);
5470: END IF;
5471: --
5472:
5473: exception

Line 6689: po_moac_utils_pvt.set_org_context(x_org_id); --

6685: x_org_id := po_wf_util_pkg.GetItemAttrNumber (itemtype => itemtype,
6686: itemkey => itemkey,
6687: aname => 'ORG_ID');
6688:
6689: po_moac_utils_pvt.set_org_context(x_org_id); --
6690:
6691: x_source_doc_po_header_id := po_wf_util_pkg.GetItemAttrNumber
6692: (itemtype => itemtype,
6693: itemkey => itemkey,

Line 6854: po_moac_utils_pvt.set_org_context(x_org_id); --

6850: itemkey => itemkey,
6851: aname => 'ORG_ID');
6852:
6853: IF x_org_id IS NOT NULL THEN
6854: po_moac_utils_pvt.set_org_context(x_org_id); --
6855: END IF;
6856:
6857: IF (NVL(hr_general.get_xbg_profile, 'N') = 'Y') THEN
6858: x_progress := '10: buyer_on_src_doc_ok: result = Y';

Line 6984: po_moac_utils_pvt.set_org_context(x_org_id); --

6980: itemkey => itemkey,
6981: aname => 'ORG_ID');
6982:
6983: IF x_org_id IS NOT NULL THEN
6984: po_moac_utils_pvt.set_org_context(x_org_id); --
6985: END IF;
6986:
6987: IF (NVL(hr_general.get_xbg_profile, 'N') = 'Y') THEN
6988: x_progress := '10: buyer_on_contract_ok: result = Y';

Line 7437: po_moac_utils_pvt.set_org_context(l_org_id); --

7433: l_progress := '000';
7434: l_org_id := po_wf_util_pkg.GetItemAttrNumber(itemtype => itemtype,
7435: itemkey => itemkey,
7436: aname => 'ORG_ID');
7437: po_moac_utils_pvt.set_org_context(l_org_id); --
7438:
7439: /* Get the expense line grouping ID */
7440: l_labor_req_line_id := po_wf_util_pkg.GetItemAttrNumber(
7441: itemtype => itemtype,