59: if (NOT fv_install.enabled) then
60: return null;
61: end if;
62:
63: v_abbr_agency_code := FND_PROFILE.VALUE('FV_AGENCY_ID_ABBREVIATION');
64:
65: return v_abbr_agency_code;
66:
67: EXCEPTION
370: return null;
371: end if;
372:
373: -- if Sequential Numbering is not turned on then return null
374: if (fnd_profile.value ('FV_PB_SEQ_NUMBERING') <> 'Y') then
375: l_message := 'FV: Enable Automatic Numbering profile is not turned on';
376: log_error_messages(FND_LOG.LEVEL_STATEMENT, l_module, l_message);
377: return null;
378: end if;
588:
589: x_return_status := FND_API.G_RET_STS_SUCCESS;
590: x_msg_count := 0;
591: x_msg_data := null;
592: if ((fv_install.enabled) AND (FND_PROFILE.VALUE('FV_ENABLE_CASH_POSITION_DETAIL_OPTION') = 'Y')) then
593:
594: x_request_id := FND_REQUEST.SUBMIT_REQUEST('FV', 'FVAPCPDP', NULL, NULL, FALSE,p_checkrun_id,p_org_id);
595:
596: if (x_request_id = 0) then