You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to build the MDBT table, we need to store the MBES line numbers for the different cost categories. These are based on the APD Type, Funding Category, Fed-State Split, and Cost Category. Jerome created this flow diagram to explain which line number goes with what configuration of the above.
We need to store these values in the budget under the activityTotals because they will be different for each activity. They should be determined as part of the budget calculation.
Their schemas should look like
// HITECH (values are always the same regardless of split)const budgetSchema = new mongoose.Schema({...,activityTotals: [{...,mbes: {statePersonnel: String, // always 24Cexpenses: String, // always 24Ccontractors: String, // always 24DepAmt: String, // always 24EehAmt: String // always 24F}}]});// MMISconst budgetSchema = new mongoose.Schema({...,activityTotals: [{...,mbes: {statePersonnel: String, // DDI - 2A, M&O - 5Aexpenses: String, // DDI - 2A, M&O - 5Acontractors: String, // DDI 2B, M&O - 5BinteragencyCost: String // only for M&O - 5C}}]})
Acceptance criteria
create constants for MBES line numbers
update activityTotals in the Budget schema to save these values
update the budget calculation to calculate the correct line number based on the APD Type and Funding Category
save the MBES line numbers to the Budget
Testing criteria
Given
When
Then
Covered
a HITECH APD
the activity has any funding source
mbes should be set to mbes: { statePersonnel: '24C', expenses: '24C', contractors: '24D', epAmt: '24E', ehAmt: '24F' }
a MMIS APD
the activity has funding category DDI
mbes should be set to mbes: { statePersonnel: '2A', expenses: '2A', contractors: '2B', interagencyCost: '' }
a MMIS APD
the activity has funding category M&O
mbes should be set to mbes: { statePersonnel: '5A', expenses: '5A', contractors: '5B', interagencyCost: '5C' }
The text was updated successfully, but these errors were encountered:
Description and related issues
In order to build the MDBT table, we need to store the MBES line numbers for the different cost categories. These are based on the APD Type, Funding Category, Fed-State Split, and Cost Category. Jerome created this flow diagram to explain which line number goes with what configuration of the above.
MDBT/MBES Classification Flow
We need to store these values in the budget under the
activityTotals
because they will be different for each activity. They should be determined as part of the budget calculation.Their schemas should look like
Acceptance criteria
Testing criteria
mbes: { statePersonnel: '24C', expenses: '24C', contractors: '24D', epAmt: '24E', ehAmt: '24F' }
mbes: { statePersonnel: '2A', expenses: '2A', contractors: '2B', interagencyCost: '' }
mbes: { statePersonnel: '5A', expenses: '5A', contractors: '5B', interagencyCost: '5C' }
The text was updated successfully, but these errors were encountered: