- found the culprit that causes the haning/slow queries on obligations/outlays
- tmp_view_financial_data created by trigger – update_tmp_view_financial_data, 03.21.2014 blog entry for details
- removed it and update query runs quick!
- had to manually convert Budget Center, Sub-Budget Center to string using Data->Text to Columns util in Excel
Author Archives: gvr4wd
Dong Shin 04.28.2014
- continue testing with new Reqonciler
- got updated test data from Phil
- running to through the test file
- update awfully slow – step 1 in post processing…
Dong Shin 04.24.2014
- added authorized users control in Reqonciler – setupModel.xml
- continue working on Post-Processing
- added saving new Obligations and Outlays as the first step
- added queries to update obligations and outlays separately
- need to update __view_monthly_obligations_by_req_id, __view_monthly_obligations_by_contract, __view_monthly_outlays_by_req_id, __view_monthly_outlays_by_contract
- update obligations outlays for second year hanging….. ugh.!
Dong Shin 04.23.2014
- got the dump from the _reqonciler_processing table
- talked Lenny about the columns that could have missing data – ACR for Obligations and ACR, PO Reference for Outlays
- added obligations/outlays blacklist and whitelist to FinancialAssistant.properties
- added \FinancialAssistant\src\main\webapp\WEB-INF\ to ClassPath in Run Configurations in Eclipse to read the prop file!!
- updating pre-processing queries – done
- updating post-processing queries
- added appropriation column and removed unnecessary columns from budget_center_contracts
- ALTER TABLE `budget_center_contracts` ADD `appropriation` VARCHAR(20) NULL AFTER `appropriation_year`;
- ALTER TABLE `budget_center_contracts`
DROP `budget_center_name`,
DROP `sub_budget_center_name`,
DROP `ebc_name`,
DROP `committed_date`,
DROP `committed_amount`,
DROP `po_start_date`,
DROP `po_end_date`,
DROP `contract_type`,
DROP `po_type_code`,
DROP `contract_no`,
DROP `vendor_id`;
Dong Shin 04.22.2014
- ContractsParser.java – testing completed
- need to add Voucher ID and Appropriation to the spreadsheets
- skipping rows based on NULL values? need to find what columns could be null
- need to get all the pre and post processing queries from the site
- Modified Reqonciler to use the new interface.
Dong Shin 04.21.2014
- working on ContractsParser.java to process Obligations and Outlays separately.
- done! working on test data…..
Dong Shin 04.18.2014
- had discussion with Lenny on Reqonciler – needs to process Obligations and Outlays separate
- Obligations
- Budget Center, Sub Budget Center, Executing Budget Center, Appropriation Year, Appropriation, Requisition ID, PO Reference, ACR, Obligated Date, Obligated Amount (Bolds are the uniquely identifying fields)
- If all fields above match, ignore
- If only the obligation date changes, ignore
- Outlays
- Budget Center, Sub Budget Center, Executing Budget Center, Appropriation Year, Appropriation, Requisition ID, PO Reference, ACR, Expensed Date, Expensed Amount, Voucher ID (Bolds are the uniquely identifying fields)
- If all fields match, ignore
- Pre-Processing Steps
- If line is ignored in previous steps, it should cascade down to follow on steps and not be shown
- Appropriations – O&M, PROC, RDT&E
- Obligations
- working on Reqonciler
- created new tables – cognos_obligations and cognos_outlays
- working on ContractsParser.java….
Dong Shin 04.14.2014
- fixed Funded Budget showing 0 in RA
- working on new Query Builder
Dong Shin 04.10.2014
- deployed new FA/RA, works….
- fixed queries for the briefing tomorrow… incorrect Obligations/Outlay Goals and Obligated. Turned out missing some req’s because not grouped by it!
Dong Shin 04.08.2014
- abnormal data in briefing data yesterday…. fixed missing ‘.’ caused it.
- working on new QueryBuilder for past two days….
- Lenny/Christ wants Req Info in QueryBuilder when a Req info is displayed.
- found that duplicate Req’s showing up in RA – fixed!
- incorrect Status returned – bug in Fiscal Year – fixed!
Dong Shin 04.04.2014
- FMP’s still not loaded to FA, need to look at events closely…
- caused by missing entries in config file!!!! throws exception in the debug flash player, not in normal version. changed the code to show it in logger…..
- discussed few stuffs with Lenny. looked at Obligations not adding up, wrong data!
Dong Shin 04.03.2014
- deployed new FA/RA/Reqonciler along with jar files. Still no FMP shown in FA, puzzled…..
- fixed Logger to filter the items correctly
- updating query to speed up RA… This would do it!
- SELECT * FROM
(SELECT ‘OVERDUE’ AS status, bc.*
FROM budget_centers bc
WHERE uid IN (
SELECT
oo.funding_id
FROM obligations_outlays oo
WHERE (oo.type LIKE ‘%PM%’ OR oo.type LIKE ‘Planned%’)
AND (year + year_count + 1) < 2014
AND (ISNULL(month_1) OR ISNULL(month_2) OR ISNULL(month_3) OR ISNULL(month_4) OR ISNULL(month_5) OR ISNULL(month_6)
OR ISNULL(month_7) OR ISNULL(month_8) OR ISNULL(month_9) OR ISNULL(month_10) OR ISNULL(month_11) OR ISNULL(month_12))
UNION
SELECT
oo.funding_id
FROM obligations_outlays oo
WHERE (oo.type LIKE ‘%PM%’ OR oo.type LIKE ‘Planned%’)
AND (year + year_count + 1) = 2014
AND (ISNULL(month_1) OR ISNULL(month_2) OR ISNULL(month_3) OR ISNULL(month_4) OR ISNULL(month_5) OR ISNULL(month_6)))
UNION
SELECT ‘CURRENT’ AS status, bc.*
FROM budget_centers bc WHERE uid NOT IN (
SELECT
oo.funding_id
FROM obligations_outlays oo
WHERE (oo.type LIKE ‘%PM%’ OR oo.type LIKE ‘Planned%’)
AND (year + year_count + 1) < 2014
AND (ISNULL(month_1) OR ISNULL(month_2) OR ISNULL(month_3) OR ISNULL(month_4) OR ISNULL(month_5) OR ISNULL(month_6)
OR ISNULL(month_7) OR ISNULL(month_8) OR ISNULL(month_9) OR ISNULL(month_10) OR ISNULL(month_11) OR ISNULL(month_12))
UNION
SELECT
oo.funding_id
FROM obligations_outlays oo
WHERE (oo.type LIKE ‘%PM%’ OR oo.type LIKE ‘Planned%’)
AND (year + year_count + 1) = 2014
AND (ISNULL(month_1) OR ISNULL(month_2) OR ISNULL(month_3) OR ISNULL(month_4) OR ISNULL(month_5) OR ISNULL(month_6)))
UNION
SELECT ‘DUE’ AS status, bc.*
FROM budget_centers bc WHERE uid NOT IN (
SELECT
oo.funding_id
FROM obligations_outlays oo
WHERE (oo.type LIKE ‘%PM%’ OR oo.type LIKE ‘Planned%’)
AND (year + year_count + 1) < 2014
AND (ISNULL(month_1) OR ISNULL(month_2) OR ISNULL(month_3) OR ISNULL(month_4) OR ISNULL(month_5) OR ISNULL(month_6)
OR ISNULL(month_7) OR ISNULL(month_8) OR ISNULL(month_9) OR ISNULL(month_10) OR ISNULL(month_11) OR ISNULL(month_12))
UNION
SELECT
oo.funding_id
FROM obligations_outlays oo
WHERE (oo.type LIKE ‘%PM%’ OR oo.type LIKE ‘Planned%’)
AND (year + year_count + 1) = 2014
AND (ISNULL(month_1) OR ISNULL(month_2) OR ISNULL(month_3) OR ISNULL(month_4) OR ISNULL(month_5) OR ISNULL(month_6)))
AND uid IN (
SELECT
oo.funding_id
FROM obligations_outlays oo
WHERE (oo.type LIKE ‘%PM%’ OR oo.type LIKE ‘Planned%’)
AND (year + year_count + 1) = 2014
AND (ISNULL(month_7)))) AS t
LEFT JOIN committed_amounts AS ca ON t.uid = ca.budget_center_id
LEFT JOIN projects AS p ON t.project_id = p.uid
- SELECT * FROM
Dong Shin 04.02.2014
- spent morning restoring FA and VSS that disappeared from Tomcat server…..
- packed everything up for re-deploy
- working on query to get Requisition status – __view_project_detailed_data2
Dong Shin 04.01.2014
- Oracle doubles the speed of MySQL query handling – found this while reading about MariaDB, upgrade soon?
- need to run 6 queries to update Obligations/Outlays data when claim/un-claim happens…
- update obligations (4), update outlays (5), update outlays for second year (6), update months in year 1 to 100% (101), update month 1 year 2 to 100% from month 12 year 1 (200), update months in year 2 to 100% (201)
- worked off most of the Action Items from 3/25/2014
All fields with $ should accept negative values– CurrencyTextInputget a list of budget values for FY13 and FY14 charts- create a query for Planned Obligated vs. FACTS
Outlay $ Reported row should not be editableinvoice dialog box should not show if the line item is not a MIPR or EAOtotal budget in slides should be project total, not requistiion totalReq Data Analysis should show Req Allocated, Req Funded (Committed)
Dong Shin 03.31.2014
- deployed database updates for the big data table…. lot quicker than existing query!
- add FMP’s and invoices?
- tried to ingest to Visibility, but too may long fields to try….
- added more fields to format as Currency
- changed the colors of the chart items in Req Data Analysis panel to match the briefing charts
- working on queries to update data when claim/un-claim happens in Project Editor

You must be logged in to post a comment.