GL Encumbrance API
gl_funds_available_pkg.calc_funds
('YTDE',
---X_AMOUNT_TYPE /*YTDE,QTDE , PTD, PJTD*/
i.ccid,
NULL,
-- 'A',--x_account_type,
NULL, --x_template_id,
l_ledger_id,
l_currency_code,
'Y', --x_po_install_flag,
l_accounted_period_type,
l_period_set_name,
l_period_name,
l_period_num,
l_quarter_num,
l_period_year,
l_closing_status,
l_budget_version_id,
l_encumbrance_type_id,
NULL,
--x_req_encumbrance_id,
NULL, --x_po_encumbrance_id,
x_budget,
x_encumbrance,
x_actual,
x_funds_available,
x_req_encumbrance_amount,
x_po_encumbrance_amount,
x_other_encumbrance_amount
);