DBA Data[Home] [Help]

APPS.PON_AUCTION_CREATE_PO_PKG dependencies on FND_GLOBAL

Line 137: fnd_global.APPS_INITIALIZE (p_user_id, x_responsibility_id, x_application_id);

133: FND_PROFILE.GET('RESP_ID', x_responsibility_id);
134:
135: FND_PROFILE.GET('RESP_APPL_ID', x_application_id);
136:
137: fnd_global.APPS_INITIALIZE (p_user_id, x_responsibility_id, x_application_id);
138: --bug 5245568; need to call init to intialize MOAC
139: mo_global.init('PON');
140:
141: if(l_debug_enabled = 'Y') then

Line 1086: l_user_id := fnd_global.user_id;

1082: x_progress := '33: Right before Bulk Insert';
1083: log_message(x_progress);
1084:
1085:
1086: l_user_id := fnd_global.user_id;
1087: l_login_id := fnd_global.login_id;
1088:
1089: -- doing bulk insert
1090: FORALL l_count IN 1..l_bid_number_insertcol.COUNT

Line 1087: l_login_id := fnd_global.login_id;

1083: log_message(x_progress);
1084:
1085:
1086: l_user_id := fnd_global.user_id;
1087: l_login_id := fnd_global.login_id;
1088:
1089: -- doing bulk insert
1090: FORALL l_count IN 1..l_bid_number_insertcol.COUNT
1091: INSERT INTO pon_award_allocations(bid_number, bid_line_number, orig_req_line_id, orig_req_header_id, allocated_qty, auction_header_id, created_by, last_update_date, last_updated_by, last_update_login, creation_date)

Line 1623: avalue => fnd_global.user_name);

1619: -- Bug 4456420: Set initiator to current logged in user
1620: wf_engine.SetItemAttrText (itemtype => x_itemtype,
1621: itemkey => x_itemkey,
1622: aname => 'ORIGIN_USER_NAME',
1623: avalue => fnd_global.user_name);
1624:
1625:
1626: x_progress := '30: START_PO_WORKFLOW: Kicking off StartProcess';
1627: log_message(x_itemtype || ' ' ||x_progress);

Line 1632: owner => fnd_global.user_name);

1628:
1629: -- Bug 4295915: Set the workflow owner
1630: wf_engine.SetItemOwner(itemtype => x_itemtype,
1631: itemkey => x_itemkey,
1632: owner => fnd_global.user_name);
1633:
1634: wf_engine.StartProcess(itemtype => x_itemtype,
1635: itemkey => x_itemkey );
1636:

Line 2856: INSERT_IP_DESCRIPTORS(p_auction_header_id, p_bid_number, x_interface_header_id, p_user_id, fnd_global.login_id, l_batch_start, l_batch_end);

2852:
2853: log_message('Inserting iP Descriptors for lines: ' || l_batch_start || ' to ' || l_batch_end);
2854:
2855:
2856: INSERT_IP_DESCRIPTORS(p_auction_header_id, p_bid_number, x_interface_header_id, p_user_id, fnd_global.login_id, l_batch_start, l_batch_end);
2857:
2858: log_message('inserting blanket price break information');
2859:
2860: -- Insert Price Break information

Line 2957: fnd_global.login_id -- last_update_login

2953: sysdate, -- last_update_date
2954: p_user_id, -- last_updated_by
2955: sysdate, -- creation_date,
2956: p_user_id, -- created_by
2957: fnd_global.login_id -- last_update_login
2958: FROM pon_price_differentials ppd,
2959: pon_bid_item_prices pbip,
2960: pon_bid_price_differentials pbpd,
2961: pon_auction_headers_all pah,

Line 3010: fnd_global.login_id -- last_update_login

3006: sysdate, -- last_update_date
3007: p_user_id, -- last_updated_by
3008: sysdate, -- creation_date,
3009: p_user_id, -- created_by
3010: fnd_global.login_id -- last_update_login
3011: FROM pon_price_differentials ppd,
3012: pon_bid_item_prices pbip,
3013: (select pbpd.bid_number, pbpd.line_number,
3014: pbpd.shipment_number, pbs.auction_shipment_number,

Line 3895: fnd_global.APPS_INITIALIZE (p_user_id, x_responsibility_id, x_application_id);

3891: FND_PROFILE.GET('RESP_ID', x_responsibility_id);
3892:
3893: FND_PROFILE.GET('RESP_APPL_ID', x_application_id);
3894:
3895: fnd_global.APPS_INITIALIZE (p_user_id, x_responsibility_id, x_application_id);
3896:
3897: -- Get the current policy
3898: v_old_policy := mo_global.get_access_mode();
3899: v_old_org_id := mo_global.get_current_org_id();

Line 4230: newline := fnd_global.newline;

4226: msgBuyer := PON_AUCTION_PKG.getMessage('PON_AUC_WF_BUYER');
4227: msgPO := PON_AUCTION_PKG.getMessage('PON_AUC_WF_PO', 'null', 'PURCHASE_ORDERS', x_purchase_orders);
4228: IF (display_type = 'text/plain') THEN
4229: document_type := 'text/plain';
4230: newline := fnd_global.newline;
4231: beginBold := '';
4232: endBold := '';
4233: ELSE
4234: document_type := 'text/html';

Line 4401: newline := fnd_global.newline;

4397: msgPO := PON_AUCTION_PKG.getMessage('PON_AUC_WF_PO', 'null', 'PURCHASE_ORDERS', x_purchase_orders);
4398:
4399: IF (display_type = 'text/plain') THEN
4400: document_type := 'text/plain';
4401: newline := fnd_global.newline;
4402: beginBold := '';
4403: endBold := '';
4404: ELSE
4405: document_type := 'text/html';