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

ACRFDFL1.m

Go to the documentation of this file.
ACRFDFL1 ;IHS/OIRM/DSD/THL,AEF - ACRFDFLT CON'T UTILITY ENTRY POINTS; [ 11/01/2001   9:44 AM ]
 ;;2.1;ADMIN RESOURCE MGT SYSTEM;;NOV 05, 2001
 ;;CONTINUATION ROUTINE FOR ACRFDFLT
OBJCODE ;EP;TO ADD/EDIT OBJECT CLASS CODES
 N ACRDIR
 S ACRHEAD="EDIT OBJECT CLASS CODES"
 S ACRDIC="^AUTTOBJC"
 S ACRDIC("A")="OBJECT CLASS CODE...: "
 S ACRDR="[ACR OBJECT CODE]"
 S ACRDIR("A")="Edit Object Class Code"
 S ACRRTN="^ACRPOCC"
 D GEN^ACRFDFLT
 Q
HOTEL ;EP;TO ADD/EDIT HOTEL INFORMATION
 N ACRDIR
 S ACRHEAD="EDIT HOTEL NAME/PHONE NUMBER"
 S ACRDIC="^ACRHOTEL"
 S ACRDIC("A")="HOTEL...............: "
 S ACRDR="[ACR HOTEL]"
 S ACRDIR("A")="Edit Hotel Name"
 S ACRRTN="^ACRPHOT"
 D GEN^ACRFDFLT
 Q
CAR ;EP;TO ADD/EDIT RENTAL CAR INFORMATION
 N ACRDIR
 S ACRHEAD="EDIT RENTAL CAR COMPANY NAME/PHONE NUMBER"
 S ACRDIC="^ACRRCOMP"
 S ACRDIC("A")="RENTAL CAR COMPANY..: "
 S ACRDR="[ACR RENTAL CAR INFORMATION]"
 S ACRDIR("A")="Edit Rental Car Information"
 S ACRRTN="^ACRPCAR"
 D GEN^ACRFDFLT
 Q
AIR ;EP;TO ADD/EDIT AIRLINE INFORMATION
 N ACRDIR
 S ACRHEAD="EDIT AIRLINE COMPANY NAME/PHONE NUMBER"
 S ACRDIC="^ACRACOMP"
 S ACRDIC("A")="AIRLINE COMPANY.....: "
 S ACRDR="[ACR AIRLINE COMPANY]"
 S ACRDIR("A")="Edit Airline Company Information"
 S ACRRTN="^ACRPAIR"
 D GEN^ACRFDFLT
 Q
FEDSTRIP ;EP;TO ADD/EDIT FEDSTRIP INFORMATION
 N ACRDIR
 S ACRHEAD="EDIT FEDSTRIP ACTIVITY CODES"
 S ACRDIC="^ACRFSCD"
 S ACRDIC("A")="FEDSTRIP LOCATION...: "
 S ACRDR="[ACR FEDSTRIP LOCATION]"
 S ACRDIR("A")="Edit FEDSTRIP Location Information"
 S ACRRTN="^ACRPFSL"
 D GEN^ACRFDFLT
 Q
BA ;EP;TO ENTER/UPDATE BUDGET ACTIVITY
 N ACRDIR
 S ACRHEAD="EDIT BUDGET ACTIVITY"
 S ACRDIC="^AUTTBA"
 S ACRDIC("A")="BUDGET ACTIVITY.....: "
 S ACRDR="[ACR BUDGET ACTIVITY]"
 S ACRDIR("A")="Edit Budget Activity"
 S ACRRTN="^ACRPBA"
 D GEN^ACRFDFLT
 Q
SA ;EP;TO ENTER/UPDATE SUB-ACTIVITY
 N ACRDIR
 S ACRHEAD="EDIT SUB-ACTIVITY"
 S ACRDIC="^AUTTSA"
 S ACRDIC("A")="SUB-ACTIVITY........: "
 S ACRDR="[ACR SUB-ACTIVITY]"
 S ACRDIR("A")="Edit Sub-Activity"
 S ACRRTN="^ACRPSA"
 D GEN^ACRFDFLT
 Q
SSA ;EP;TO ENTER/UPDATE SUB-SUB-ACTIVITY
 N ACRDIR
 S ACRHEAD="EDIT SUB-SUB-ACTIVITY"
 S ACRDIC="^AUTTSSA"
 S ACRDIC("A")="SUB-SUB-ACTIVITY....: "
 S ACRDR="[ACR SUB-SUB-ACTIVITY]"
 S ACRDIR("A")="Edit Sub-Sub-Activity"
 S ACRRTN="^ACRPSSA"
 D GEN^ACRFDFLT
 Q
ALLW ;EP;TO ENTER/UPDATE ALLOWANCE
 N ACRDIR
 S ACRHEAD="EDIT ALLOWANCE NUMBER"
 S ACRDIC="^AUTTALLW"
 S ACRDIC("A")="ALLOWANCE NUMBER....: "
 S ACRDR="[ACR ALLOWANCE NUMBER]"
 S ACRDIR("A")="Edit Allowance"
 S ACRRTN="^ACRPALW"
 D GEN^ACRFDFLT
 Q
ACPT ;EP;TO ENTER/UPDATE ACCOUNTING POINT
 N ACRDIR
 S ACRHEAD="EDIT ACCOUNTING POINT"
 S ACRDIC="^AUTTACPT"
 S ACRDIC("A")="ACCOUNTING POINT....: "
 S ACRDR=".01ACCOUNTING POINT....;1AREA OFFICE........."
 S ACRDIR("A")="Edit Accounting Point"
 S ACRRTN="^ACRPAPT"
 D GEN^ACRFDFLT
 Q
LOC ;EP;TO ADD/EDIT LOCATION CODES
 N ACRDIR
 S ACRHEAD="EDIT LOCATION CODES"
 S ACRDIC="^AUTTLCOD"
 S ACRDIC("A")="LOCATION CODE.......: "
 S ACRDR="[ACR LOCATION CODE]"
 S ACRDIR("A")="Edit Location Code"
 S ACRRTN="^ACRPLCD"
 D GEN^ACRFDFLT
 Q
FSC ;EP;TO EDIT FEDERAL SUPPLY CLASS CODES
 N ACRDIR
 S ACRHEAD="EDIT FEDERAL SUPPLY CLASS CODE"
 S ACRDIC="^ACRFSC"
 S ACRDIC("A")="FEDERAL SUPPLY CODE.: "
 S ACRDR="[ACR FEDERAL SUPPLY CLASSES]"
 S ACRDIR("A")="Edit Federal Supply Code"
 S ACRRTN="^ACRPFSC"
 D GEN^ACRFDFLT
 Q
OBJC ;EP;ALLOW USER TO ADD OBJECT CODES TO SPECIFIC TRANSACTION TYPES
 W !!?4,"OBJECT CODE ",$P(^AUTTOBJC(ACRDA,0),U)," is used by the following ARMS TRANSACTION TYPES:"
 W !?4,"NO.  TRANSACTION TYPE"
 W !?4,"---  ------------------------------"
 K ACRTX
 S (X,ACRJ)=0
 F  S X=$O(^ACRTXTYP("C",ACRDA,X)) Q:'X  D
 .S ACRJ=ACRJ+1
 .S ACRTX(ACRJ)=X
 .W !?4,ACRJ
 .W ?9,$P(^ACRTXTYP(X,0),U)
 Q
TC ;EP;TO EDIT PO TERMS AND CONDITIONS
 W @IOF
 W !?20,"Review/Edit Puchase Order TERMS & CONDITIONS"
 W !!
 S DA=1
 S DIE="^ACRTC("
 S DR="[ACR TERMS AND CONDITIONS]"
 D DIE^ACRFDIC
 Q
RESET ;EP;TO RESET CAN DEFAULTS FOR A DOCUMENT
 S DIC="^ACRDOC("
 S DIC(0)="AEMQZ"
 S DIC("A")="RESET CAN Defaults for Document NO.: "
 W !
 D DIC^ACRFDIC
 Q:+Y<1
 S ACRDOCDA=+Y
 W !!?10,$P(^ACRDOC(+Y,0),U),?$X+3,$P(^(0),U,2),?$X+3,$P(^(0),U,14)
 S DIR(0)="YO"
 S DIR("A",1)="Are you certain you want to RESET the"
 S DIR("A")="CAN Default values for this document"
 S DIR("B")="NO"
 W !
 D DIR^ACRFDIC
 Q:+Y'=1
 S DA=ACRDOCDA
 S DIE="^ACRDOC("
 S DR="113100////"_$P(^ACRDOC(DA,"REQ"),U,10)
 D DIE^ACRFDIC
 Q