diff --git a/.github/workflows/label_audit.yml b/.github/workflows/label_audit.yml index fea983e..faecae8 100644 --- a/.github/workflows/label_audit.yml +++ b/.github/workflows/label_audit.yml @@ -15,7 +15,7 @@ jobs: - uses: actions/cache@v2 with: path: venv - key: ${{ runner.os }}-${{ steps.python-version.outputs.ver }}-${{ hashFiles('requirements.txt') }} + key: ${{ runner.os }}-${{ steps.python-version.outputs.ver }}_${{ hashFiles('requirements.txt') }} - name: Install Packages run: | python3 -m venv venv diff --git a/force-app/main/default/objects/Requirement__c/fields/Days_Overdue__c.field-meta.xml b/force-app/main/default/objects/Requirement__c/fields/Days_Overdue__c.field-meta.xml new file mode 100644 index 0000000..f2d76bb --- /dev/null +++ b/force-app/main/default/objects/Requirement__c/fields/Days_Overdue__c.field-meta.xml @@ -0,0 +1,16 @@ + + + Days_Overdue__c + false + IF(ISPICKVAL(Status__c,"Open"), TODAY() - Due_Date__c, +IF(ISPICKVAL(Status__c,"In Progress"), TODAY() - Due_Date__c, +0)) + BlankAsZero + + 18 + false + 0 + false + Number + false + diff --git a/force-app/main/default/reports/NPSP_Outbound_Fund_Reports/Awards_with_past_due_history_tIA.report-meta.xml b/force-app/main/default/reports/NPSP_Outbound_Fund_Reports/Awards_with_past_due_history_tIA.report-meta.xml new file mode 100644 index 0000000..0ee9ef8 --- /dev/null +++ b/force-app/main/default/reports/NPSP_Outbound_Fund_Reports/Awards_with_past_due_history_tIA.report-meta.xml @@ -0,0 +1,142 @@ + + + + number + BucketField_84577815 + Overdue Range + z + Requirement__c.Days_Overdue__c + false + + + 250 + + Equal or Less than 250 + + + + 250 + 500 + + 251 to 500 + + + + 500 + 750 + + 501 to 750 + + + + 750 + 1,000 + + 751 to 1000 + + + + 1,000 + + Greater than 1,000 + + + + FK_NAME + + + FK_$Funding_Request__c.Applying_Contact__c + + + FK_$Funding_Request__c.Applying_Employee__c + + + FK_$Funding_Request__c.FundingProgram__c + + + FK_$Funding_Request__c.Awarded_Date__c + + + CUST_NAME + + + Requirement__c.Primary_Contact__c + + + Requirement__c.Requirements__c + + + Requirement__c.Status__c + + + Requirement__c.Due_Date__c + + + Requirement__c.Days_Overdue__c + + Request with open milestones. + + (1 OR (2 AND 3)) AND 4 AND 5 + + Requirement__c.Due_Date__c + true + true + lessThan + 00N6300000IvfBI + + + Requirement__c.Due_Date__c + false + true + lessThan + TODAY + + + Requirement__c.Completed_Date__c + false + true + equals + + + + Requirement__c.Type__c + false + true + equals + Report,Outcome + + + FK_$Funding_Request__c.Status__c + false + true + equals + Awarded,Fully Disbursed + + en_US + + Matrix + + Day + BucketField_84577815 + Asc + + + Day + FK_$Funding_Request__c.Applying_Organization__c + Asc + + Awards with past due history + + co + 1 + + CustomEntity$Requirement__c@Requirement__c.Funding_Request__c + organization + true + true + true + + CUST_CREATED_DATE + INTERVAL_CUSTOM + + diff --git a/requirements.txt b/requirements.txt index 20ee5a1..706dd3c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ beautifulsoup4==4.8.1 esprima==4.0.1 -soupsieve==1.9.5 click==7.1.1 +soupsieve==1.9.5