diff --git a/classes/OpenXdmod/Ingestor/Hpcdb/Accounts.php b/classes/OpenXdmod/Ingestor/Hpcdb/Accounts.php index 5825dc7ad1..d9d9cd5421 100644 --- a/classes/OpenXdmod/Ingestor/Hpcdb/Accounts.php +++ b/classes/OpenXdmod/Ingestor/Hpcdb/Accounts.php @@ -15,7 +15,7 @@ function __construct($dest_db, $src_db, $start_date = '1997-01-01', $end_date = " SELECT account_id AS id, - '' AS charge_number, + account_name AS charge_number, -1 AS granttype_id, account_name AS short_name, account_name AS long_name diff --git a/classes/OpenXdmod/Ingestor/Hpcdb/Allocations.php b/classes/OpenXdmod/Ingestor/Hpcdb/Allocations.php index c2c35ac8bc..89a10f0255 100644 --- a/classes/OpenXdmod/Ingestor/Hpcdb/Allocations.php +++ b/classes/OpenXdmod/Ingestor/Hpcdb/Allocations.php @@ -19,7 +19,8 @@ function __construct($dest_db, $src_db, $start_date = '1997-01-01', $end_date = al.account_id, req.request_id, pi.person_id AS principalinvestigator_person_id, - req.primary_fos_id AS fos_id + req.primary_fos_id AS fos_id, + acc.account_name AS charge_number FROM hpcdb_allocations al JOIN hpcdb_accounts acc ON al.account_id = acc.account_id