Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Issue]: Add upload validation for conditional IAA Fields #3988

Open
ClaireValdivia opened this issue Feb 10, 2025 · 0 comments
Open

[Issue]: Add upload validation for conditional IAA Fields #3988

ClaireValdivia opened this issue Feb 10, 2025 · 0 comments

Comments

@ClaireValdivia
Copy link
Contributor

Why is this issue important?

In 2024, treasury added conditional IAA fields. Partners (specifically Marcus from RI) has requested that conditional logic be added to upload validation to ensure that these fields are completed when they are conditionally required.

Current State

Conditional formatting is applied in the input template so if Award_Type__c has a value of "Interagency Agreement (IAA)", the fields IAA_Basic_Conditions__c and IAA_Requirements_Attestation__c display as unshaded. If any other value is selected from Award_Type__c or if that field is blank, the IAA fields display as shaded.

there is no upload validation requiring the IAA fields.

Expected State

The two IAA fields are: IAA_Basic_Conditions__c and IAA_Requirements_Attestation__c. Each field is conditionally required if Award_Type__c has a value of "Interagency Agreement (IAA)"

This ticket is to add the following upload validations:

  • If Award_Type__c has the value "Interagency Agreement (IAA)" and IAA_Basic_Conditions__c is blank, then an error should generate with the message field: "Value is required for IAA_Basic_Conditions__c" and the relevant workbook tab, row, and column are listed with the location of the IAA_Basic_Conditions__c field
  • If Award_Type__c has the value "Interagency Agreement (IAA)" and IAA_Requirements_Attestation__c is blank, then an error should generate with the message: "Value is required for IAA_Requirements_Attestation__c" and the relevant workbook tab, row, and column are listed with the location of the IAA_Basic_Conditions__c field
  • If the Award_Type__c has the value "Interagency Agreement (IAA)" and IAA_Basic_Conditions__c and IAA_Requirements_Attestation__c both have values, then no error will generate
  • If the Award_Type__c has any value except for "Interagency Agreement (IAA)" and IAA_Basic_Conditions__c and/or IAA_Requirements_Attestation__c is blank, then no error should generate

Implementation Plan

The following functions need to be added...

Relevant Code Snippets

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 📋 Scoping
Development

No branches or pull requests

1 participant