Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: DG531141P

DG531141P.m

Go to the documentation of this file.
  1. DG531141P ;ALB/SJD - DG*5.3*1141 POST-INSTALL ;Jan 06, 2025@14:36
  1. ;;5.3;Registration;**1141**;Jan 06, 2025;Build 1
  1. ;
  1. ; This routine will upload a correction to the 2025 (2024 income Year)
  1. ; Maximum Annual Pension Rate (MAPR) zero dependent entry
  1. ; into the PARAMETERS file (#8989.5).
  1. ;
  1. ;ICRs
  1. ; Reference to BMES^XPDUTL,MES^XPDUTL in ICR #10141
  1. ; Reference to EN^XPAR in ICR #2263
  1. ;
  1. Q
  1. ;
  1. EN ; Entry point for post-install
  1. D BMES^XPDUTL(">>> Beginning the DG*5.3*1141 Post-install routine...")
  1. D MAPR
  1. D BMES^XPDUTL(">>> Patch DG*5.3*1141 Post-install complete.")
  1. Q ;;EN
  1. ;
  1. MAPR ; Update Maximum Annual Pension Rate
  1. ;
  1. D BMES^XPDUTL(">>> Updating Maximum Annual Pension Rate Parameter in PARAMETERS (#8989.5)")
  1. D MES^XPDUTL(" file for calendar year 2025 (income year 2024).")
  1. ;
  1. ;Set the correct MAPR 0 dependent max value of $16,965
  1. D SETPARM("DGMT MAPR 0 DEPENDENTS",2024,"16965")
  1. Q ;;MAPR
  1. ;
  1. SETPARM(DGPARM,DGINST,DGVALU) ;set PACKAGE entity parameters
  1. ;
  1. ; Input:
  1. ; DGPARM - PARAMETER DEFINITION name
  1. ; DGINST - parameter instance
  1. ; DGVALU - parameter value
  1. ;
  1. ; Output:
  1. ; None
  1. ;
  1. N DGERR
  1. ;
  1. ; Call to EN^XPAR to set the correct (#8989.5) parameter
  1. D EN^XPAR("PKG",DGPARM,DGINST,DGVALU,.DGERR)
  1. I $G(DGERR) D Q
  1. .D BMES^XPDUTL(" "_DGPARM_" parameter, instance "_DGINST_", FAILED! ("_DGVALU_")")
  1. .D MES^XPDUTL(" - Submit a YOUR IT Services ticket with the Enterprise Service Desk")
  1. .D MES^XPDUTL(" for assistance.")
  1. ;
  1. I '$G(DGERR) D
  1. .D BMES^XPDUTL(" "_DGPARM_" parameter, instance "_DGINST_", set to $"_$FN(DGVALU,",")_".")
  1. Q ;;SETPARM