Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Jira Legacy
serverSystem Jira
serverId8b861ae3-ff87-316b-a17e-97c61a7e2fb4
keyAP-517

Certified:

Setup

  •  Evaluate Banner Setup for Known Defects
  •  GUAABOT vs. Customer Center

...

Expand
titleHelpful Code Snippets to find cross term/fiscal year CRNs
Code Block
languagesql
--Cross Term Positive Attendance Sections
SELECT DISTINCT
            SSBSECT_TERM_CODE
            ,SSBSECT.SSBSECT_CRN
            ,SSBSECT.SSBSECT_SUBJ_CODE
            ,SSBSECT.SSBSECT_CRSE_NUMB
            ,SSBSECT.SSBSECT_ACCT_CODE
            ,SSBSECT_ENRL
            ,TO_VARCHAR(SSBSECT_PTRM_END_DATE, 'YYYY-MM-DD') AS SSBSECT_PTRM_END_DATE
FROM        COS_DATALAKEHOUSE.DATALAKE.COSBANNERPROD_SATURN_SSBSECT AS SSBSECT
JOIN        COS_DATALAKEHOUSE.DATALAKE.COSBANNERPROD_SATURN_STVTERM ON SSBSECT_TERM_CODE = STVTERM_CODE
JOIN        COS_DATALAKEHOUSE.DATALAKE.COSBANNERPROD_SATURN_STVACCT ON SSBSECT_ACCT_CODE = STVACCT_CODE
WHERE       SSBSECT_PTRM_END_DATE > STVTERM_END_DATE
    AND     STVACCT_ACTUAL_IND = 'Y'
    AND     SSBSECT.INVOKE_DATA_DATE = DATEADD(DAY, -1, CURRENT_DATE)
    AND     SSBSECT_TERM_CODE = :term_code
ORDER BY    SSBSECT_TERM_CODE DESC
;

--Positive Attendance Sections where course ends in Fiscal Year (320 Reporting Cycle) different than STVTERM_END_DATE
SELECT DISTINCT
    SSBSECT.SSBSECT_TERM_CODE,
    SSBSECT.SSBSECT_CRN,
    SSBSECT.SSBSECT_SUBJ_CODE,
    SSBSECT.SSBSECT_CRSE_NUMB,
    SSBSECT.SSBSECT_ENRL,
    SSBSECT_PTRM_CODE,
    SSBSECT_ACCT_CODE,
    TO_VARCHAR(SSBSECT_PTRM_END_DATE, 'YYYY-MM-DD') AS SSBSECT_PTRM_END_DATE,
    STVTERM_ACYR_CODE
FROM COS_DATALAKEHOUSE.DATALAKE.COSBANNERPROD_SATURN_SSBSECT AS SSBSECT
JOIN COS_DATALAKEHOUSE.DATALAKE.COSBANNERPROD_SATURN_STVTERM
    ON SSBSECT_TERM_CODE = STVTERM_CODE
JOIN COS_DATALAKEHOUSE.DATALAKE.COSBANNERPROD_SATURN_STVACCT
    ON SSBSECT_ACCT_CODE = STVACCT_CODE
WHERE SSBSECT_PTRM_END_DATE > (
    SELECT (FTVFSYR_END_DATE)
    FROM COS_DATALAKEHOUSE.DATALAKE.COSBANNERPROD_FIMSMGR_FTVFSYR
    WHERE FTVFSYR_FSYR_CODE = :fiscal_year
        AND INVOKE_DATA_DATE = DATEADD(DAY, -1, CURRENT_DATE)
)
    AND STVACCT_ACTUAL_IND = 'Y'
    AND SSBSECT.INVOKE_DATA_DATE = DATEADD(DAY, -1, CURRENT_DATE)
--    AND STVTERM_ACYR_CODE < CONCAT('20', :fiscal_year)+'1' --Removes future CRNs based off their future Academic Year
--    AND SSBSECT_TERM_CODE < CONCAT('20', :fiscal_year,'30') --Removes trailing summer that is included in future 320 cycles
--    AND SSBSECT_TERM_CODE = :term_code
ORDER BY SSBSECT_TERM_CODE DESC;
;

--Registration activity and contact hours w/ CA residency
SELECT          SFRSTCR.*
                ,RESIDENT.*
FROM            COS_DATALAKEHOUSE.DATALAKE.COSBANNERPROD_SATURN_SFRSTCR SFRSTCR
LEFT JOIN       DEV_DB.JOSHUAME.FV_DEMO_GET_RESIDENCY RESIDENT ON SFRSTCR.SFRSTCR_PIDM = RESIDENT.PIDM
    AND         SFRSTCR.SFRSTCR_TERM_CODE = RESIDENT.TERM_CODE
LEFT JOIN       COS_DATALAKEHOUSE.DATALAKE.COSBANNERPROD_SATURN_STVRESD AS STVRESD
    ON RESIDENT.SGBSTDN_RESD_CODE = STVRESD_CODE
WHERE           SFRSTCR.SFRSTCR_TERM_CODE = :term_code
AND             SFRSTCR.SFRSTCR_CRN = :CRN
AND             SFRSTCR.INVOKE_DATA_DATE = DATEADD(DAY, -1, CURRENT_DATE)
AND             STVRESD.STVRESD_IN_STATE_IND = 'I'
AND             STVRESD.INVOKE_DATA_DATE = DATEADD(DAY, -1, CURRENT_DATE);

--Sum of contact hours divided by 525 for FTES amount
SELECT          SUM(SFRSTCR.SFRSTCR_ATTEND_HR)/525
FROM            COS_DATALAKEHOUSE.DATALAKE.COSBANNERPROD_SATURN_SFRSTCR AS SFRSTCR
LEFT JOIN       DEV_DB.JOSHUAME.FV_DEMO_GET_RESIDENCY RESIDENT
    ON SFRSTCR.SFRSTCR_PIDM = RESIDENT.PIDM
           AND SFRSTCR.SFRSTCR_TERM_CODE = RESIDENT.TERM_CODE
LEFT JOIN       COS_DATALAKEHOUSE.DATALAKE.COSBANNERPROD_SATURN_STVRESD AS STVRESD
    ON RESIDENT.SGBSTDN_RESD_CODE = STVRESD_CODE
WHERE           SFRSTCR.SFRSTCR_TERM_CODE = :term_code
AND             SFRSTCR.SFRSTCR_CRN = :CRN
AND             SFRSTCR.INVOKE_DATA_DATE = DATEADD(DAY, -1, CURRENT_DATE)
AND             STVRESD.STVRESD_IN_STATE_IND = 'I'
AND             STVRESD.INVOKE_DATA_DATE = DATEADD(DAY, -1, CURRENT_DATE);

--D or ID ACCT_CODE for NC Sections
SELECT DISTINCT
            SSBSECT_TERM_CODE
            ,SSBSECT.SSBSECT_CRN
            ,SSBSECT.SSBSECT_SUBJ_CODE
            ,SSBSECT.SSBSECT_CRSE_NUMB
            ,SSBSECT.SSBSECT_ACCT_CODE
            ,SSBSECT_ENRL
FROM        COS_DATALAKEHOUSE.DATALAKE.COSBANNERPROD_SATURN_SSBSECT AS SSBSECT
WHERE       SSBSECT.INVOKE_DATA_DATE = DATEADD(DAY, -1, CURRENT_DATE)
    AND     SSBSECT_TERM_CODE = :term_code
    AND     SSBSECT_ACCT_CODE IN ('D','ID')
    AND     SSBSECT_CRSE_NUMB LIKE '4%'
ORDER BY    SSBSECT_TERM_CODE DESC
  •  Explain New Carryforward Way
  •  SQL Update statement to change the Reporting Year SSBSECT_ACYR_CODE the trailing Summer.
    •  Get list of CRNs from Dean of Enrollment Management
Expand
titleCensus Date or End Date is > 7/1
Info

Sorry for the delay on this. I’m inclined to say these Alternative Attendance Accounting Procedure-Daily Census courses also have the summer shift reporting option. Title 5 section 58010(a) states “Full-time equivalent student for courses using census procedure may be reported in either the fiscal year in which the census day procedure is completed or in which the course ends.” I know that this provision does not apply to positive attendance courses (those must be reported in the period in which the course ends), however, I do not see any reason that it would not apply to courses on the alternative attendance accounting procedure- daily census.

As is the case with regular daily census courses, you would want to make sure that appropriate records are maintained to show that FTES were claimed appropriately and not claimed in both fiscal years.

-Natalie Wagner 7/15/2021