210:
211: g_progress:='010';
212:
213: -- Get system defaults
214: PO_CORE_S.get_po_parameters(
215: x_currency_code => g_params_rec.currency_code,
216: x_coa_id => g_params_rec.coa_id,
217: x_po_encumberance_flag => g_params_rec.po_encumbrance_flag,
218: x_req_encumberance_flag => g_params_rec.req_encumbrance_flag,
260:
261: g_progress:='020';
262:
263: IF(g_params_rec.po_encumbrance_flag = 'Y') THEN
264: PO_CORE_S.get_period_name(
265: x_sob_id => g_params_rec.sob_id,
266: x_period => g_params_rec.period_name,
267: x_gl_date => x_date);
268: END IF;
332: x_return_status := FND_API.G_RET_STS_SUCCESS;
333:
334: --Default all the required default po parameters from the financial system
335: --parameters,Po_system_parameters, receiving options and gl set of books.
336: --Using the procedure po_core_s.get_po_parameters
337: g_progress := '200';
338:
339: IF g_debug_stmt THEN
340: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
1196: -- bug5176308
1197: -- Consolidate PO # generation code into one API
1198:
1199: x_document_num :=
1200: PO_CORE_SV1.default_po_unique_identifier
1201: ( p_table_name => 'PO_HEADERS',
1202: p_org_id => g_cpa_csr.org_id
1203: );
1204: