DBA Data[Home] [Help]

APPS.LNS_APPROVAL_ACTION_PUB dependencies on LNS_FINANCIALS

Line 441: l_loan_details lns_financials.loan_details_rec; --used for shiftloandates api

437: l_open_to_term_flag varchar2(1);
438: l_budget_req_approval varchar2(1);
439: l_loan_needs_approval varchar2(1);
440: l_term_rec lns_terms_pub.loan_term_rec_type;
441: l_loan_details lns_financials.loan_details_rec; --used for shiftloandates api
442: l_term_id number;
443: l_term_version_number number;
444: -- for xla accounting events
445: l_budgetary_status varchar2(30);

Line 784: logMessage(FND_LOG.LEVEL_PROCEDURE, G_PKG_NAME, l_api_name || ' - calling LNS_FINANCIALS.shiftLoanDates');

780: -- approval action type = 'APPROVE'
781: ELSIF (l_status = 'ACTIVE' AND l_current_phase = 'OPEN' AND l_multiple_funding_flag = 'Y' AND l_open_to_term_flag = 'Y') THEN
782:
783: /**********************Begin Permanent Conversion to Term Phase*************/
784: logMessage(FND_LOG.LEVEL_PROCEDURE, G_PKG_NAME, l_api_name || ' - calling LNS_FINANCIALS.shiftLoanDates');
785:
786: -- we are moving the loan to the TERM PHASE -- first shift the dates based on conversion date
787: -- Bug#6169438 Added new parameter to the shiftLoanDates API Invocation
788: LNS_FINANCIALS.shiftLoanDates(p_loan_id => l_loan_header_rec.loan_id

Line 788: LNS_FINANCIALS.shiftLoanDates(p_loan_id => l_loan_header_rec.loan_id

784: logMessage(FND_LOG.LEVEL_PROCEDURE, G_PKG_NAME, l_api_name || ' - calling LNS_FINANCIALS.shiftLoanDates');
785:
786: -- we are moving the loan to the TERM PHASE -- first shift the dates based on conversion date
787: -- Bug#6169438 Added new parameter to the shiftLoanDates API Invocation
788: LNS_FINANCIALS.shiftLoanDates(p_loan_id => l_loan_header_rec.loan_id
789: ,p_new_start_date => sysdate
790: ,p_phase => 'TERM'
791: ,x_loan_details => l_loan_details
792: ,x_dates_shifted_flag => l_dates_shifted_flag

Line 798: logMessage(FND_LOG.LEVEL_UNEXPECTED, G_PKG_NAME, l_api_name || ' - LNS_FINANCIALS.shiftLoanDates failed with message: ' ||FND_MSG_PUB.Get(p_encoded => 'F'));

794: ,x_msg_count => x_msg_count
795: ,x_msg_data => x_msg_data);
796:
797: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
798: logMessage(FND_LOG.LEVEL_UNEXPECTED, G_PKG_NAME, l_api_name || ' - LNS_FINANCIALS.shiftLoanDates failed with message: ' ||FND_MSG_PUB.Get(p_encoded => 'F'));
799: l_last_api_called := 'LNS_FINANCIALS.shiftLoanDates';
800: RAISE FND_API.G_EXC_ERROR;
801: END IF;
802:

Line 799: l_last_api_called := 'LNS_FINANCIALS.shiftLoanDates';

795: ,x_msg_data => x_msg_data);
796:
797: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
798: logMessage(FND_LOG.LEVEL_UNEXPECTED, G_PKG_NAME, l_api_name || ' - LNS_FINANCIALS.shiftLoanDates failed with message: ' ||FND_MSG_PUB.Get(p_encoded => 'F'));
799: l_last_api_called := 'LNS_FINANCIALS.shiftLoanDates';
800: RAISE FND_API.G_EXC_ERROR;
801: END IF;
802:
803: logMessage(FND_LOG.LEVEL_UNEXPECTED, G_PKG_NAME, 'New loan start date: ' || l_loan_details.loan_start_date);