Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All
Print Page as PDF
Routine: FBAAIAQ

Package: Fee Basis

Routine: FBAAIAQ


Information

FBAAIAQ ;ALB/FA - Managing IPAC Agreement MRAs ;04 Dec 2013 7:36 AM

Source Information

Source file <FBAAIAQ.m>

Call Graph

Call Graph

Call Graph Total: 6

Package Total Call Graph
VA FileMan 5 ^DIC  FILE^DICN  ^DIE  ^DIK  ^DIR  
Fee Basis 1 ($$LOCKVA,$$SELMRA,UNLOCKVA)^FBAAIAU  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

action A extended action Ea event driver Ed subscriber Su protocol O limited protocol LP run routine RR broker B edit E server Se print P screenman SM inquire I

Caller Graph

Caller Graph Total: 6

Package Total Caller Graph
Fee Basis 6 FBAA MRA IPAC ADD TYPE  FBAA MRA IPAC CHANGE TYPE  FBAA MRA IPAC DELETE TYPE  FBAAIAD  FBAAIAE  FBAARMRA  

Entry Points

Name Comments DBIA/ICR reference
A(VAIEN) ;EP
; Create an IPAC Vendor Agreement Add MRA record. Only called when adding
; a new Vendor agreement
; Input: VAIEN - Vendor Agreement IEN to create an ADD MRA
; record for
; Output:
; Called From: FBAAIAE@ADDVA
C(VAIEN) ;EP
; Create a Change MRA record for the edited Vendor Agreement
; Input: VAIEN - Vendor Agreement IEN
; ^TMP($J,"FBAAIAC") - Vendor Agreement values prior to being
; being edited. Used to detect changes.
; Called From: FBAAIAC@EDITF
D(VAID) ;EP
; Create a Delete MRA record for the selected Vendor Agreement
; Input: VAID - ID of the Selected Vendor Agreement
; Output: Delete Master Record Adjustment record created (potentially)
; Called From: DEL@FBAAIAD
PENDMRA(VAID,MRASTAT)
AA ;EP
; Create and ADD Master Record Adjustment for a specified Vendor Agreement without
; changing existing data
; Input: None
; Called From: Menu - FBAA IPAC AGREEMENT MRA MENU/FBAA MRA IPAC ADD TYPE
CC ;EP
; Change a Master Record Adjustment for a specified Vendor agreement without
; changing existing data
; Input: None
; Called From: Menu - FBAA IPAC AGREEMENT MRA MENU/FBAA MRA IPAC CHANGE TYPE
DD ;EP
; Create a delete Master Record Adjustment record for a specified Vendor Agreement
; without changing actual data
; Called From: Menu - FBAA IPAC AGREEMENT MRA MENU/FBAA MRA IPAC DELETE TYPE
NEWMRA(VAIEN,VAID,ACTION) ; Create an IPAC Vendor Agreement MRA record of
; specified ACTION for the specified Vendor Agreement
; a new Vendor agreement
; Input: VAIEN - Vendor Agreement IEN to create an MRA
; record for. "" if creating a DELETE MRA
; VAID - Vendor Agreement ID to create and MRA record for
; ACTION - MRA Action ('A','C' or 'D')
; Output: New MRA record is filed
; Called From: A,AA,C,CC,D,DD
DELMRA(MRAIEN) ; Delete an existing MRA record
; Input: MRAIEN - IEN of the MRA record to be deleted
; Output: Specified MRA record is deleted
; Called From: A,C,D

External References

Name Field # of Occurrence
^DIC AA+8, CC+8
FILE^DICN NEWMRA+13
^DIE D+20, AA+49, CC+50, DD+17
^DIK DELMRA+7
^DIR AA+45, CC+46
$$LOCKVA^FBAAIAU AA+23, AA+37, CC+24, CC+38
$$SELMRA^FBAAIAU DD+9
UNLOCKVA^FBAAIAU AA+28, AA+46, AA+50, CC+29, CC+47, CC+51

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,"IPAC Vendor Agreement Status is NEW."
  • Line Location: AA+13
Function Call: WRITE
  • Prompt: !,"First edit the Vendor Agreement and complete it."
  • Line Location: AA+14
Function Call: WRITE
  • Prompt: !!,"Someone else is editing this agreement. "
  • Line Location: AA+24
Function Call: WRITE
  • Prompt: !,"An ADD MRA cannot be created at this time."
  • Line Location: AA+25
Function Call: WRITE
  • Prompt: !,"Try again later."
  • Line Location: AA+26
Function Call: WRITE
  • Prompt: !!,"ADD MRA created and ready for transmission.",!!
  • Line Location: AA+29
Function Call: WRITE
  • Prompt: !!,"ADD MRA already exists."
  • Line Location: AA+32
Function Call: WRITE
  • Prompt: !!,"Someone else is editing this agreement. "
  • Line Location: AA+38
Function Call: WRITE
  • Prompt: !,"An ADD MRA cannot be created at this time."
  • Line Location: AA+39
Function Call: WRITE
  • Prompt: !,"Try again later."
  • Line Location: AA+40
Function Call: WRITE
  • Prompt: !,"An MRA is with a status of CHANGE is currently Pending."
  • Line Location: AA+41
Function Call: WRITE
  • Prompt: !!,"ADD MRA created from a CHANGE MRA and ready for transmission.",!!
  • Line Location: AA+51
Function Call: WRITE
  • Prompt: !!,"IPAC Vendor Agreement Status is NEW."
  • Line Location: CC+14
Function Call: WRITE
  • Prompt: !,"First edit the Vendor Agreement and complete it."
  • Line Location: CC+15
Function Call: WRITE
  • Prompt: !!,"Someone else is editing this agreement. "
  • Line Location: CC+25
Function Call: WRITE
  • Prompt: !,"A CHANGE MRA cannot be created at this time."
  • Line Location: CC+26
Function Call: WRITE
  • Prompt: !,"Try again later."
  • Line Location: CC+27
Function Call: WRITE
  • Prompt: !!,"CHANGE MRA created and ready for transmission.",!!
  • Line Location: CC+30
Function Call: WRITE
  • Prompt: !!,"CHANGE MRA already exists."
  • Line Location: CC+33
Function Call: WRITE
  • Prompt: !!,"Someone else is editing this agreement. "
  • Line Location: CC+39
Function Call: WRITE
  • Prompt: !,"A CHANGE MRA cannot be created at this time."
  • Line Location: CC+40
Function Call: WRITE
  • Prompt: !,"Try again later."
  • Line Location: CC+41
Function Call: WRITE
  • Prompt: !,"An MRA is with a status of ADD is currently Pending."
  • Line Location: CC+42
Function Call: WRITE
  • Prompt: !!,"CHANGE MRA created from an ADD MRA and ready for transmission.",!!
  • Line Location: CC+52
Function Call: WRITE
  • Prompt: !!,"DELETE MRA processing completed."
  • Line Location: DD+18
Routine Call
  • DIC
  • Line Location:
    • AA+8
    • CC+8
Routine Call
  • DIE
  • Line Location:
    • D+20
    • AA+49
    • CC+50
    • DD+17
Routine Call
  • DIR
  • Line Location:
    • AA+45
    • CC+46

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^FBAA(161.96 - [#161.96] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^FBAA(161.95 - [#161.95] A+8, C+7, AA+12, AA+15, CC+13, CC+16
^FBAA(161.96 - [#161.96] PENDMRA+10, PENDMRA+14, PENDMRA+16, AA+31, CC+32, NEWMRA+11

Label References

Name Line Occurrences
$$PENDMRA C+10, D+6, AA+18, CC+19
DELMRA D+16
NEWMRA A+9, C+11, D+21, AA+27, CC+28

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ACTION NEWMRA~
DA D+17~, D+18*, AA+42~, AA+47*, CC+43~, CC+48*, DD+4~, DD+14*, NEWMRA+9~, DELMRA+4~
, DELMRA+6*
DIC AA+5~, AA+6*, CC+5~, CC+6*, NEWMRA+9~, NEWMRA+10*
DIC("A" AA+7*, CC+7*
DIC("DR" NEWMRA+12*
DIC(0 AA+6*, CC+6*, NEWMRA+10*
DIE D+17~, D+18*, AA+42~, AA+47*, CC+43~, CC+48*, DD+4~, DD+14*
DIK DELMRA+4~, DELMRA+5*
DIR AA+42~, CC+43~, DD+4~
DIR("A" AA+43*, CC+44*
DIR("B" AA+44*, CC+45*
DIR(0 AA+43*, CC+44*
DIROUT AA+42~, CC+43~
DIRUT AA+42~, CC+43~
DO NEWMRA+9~
DR D+17~, D+19*, AA+42~, AA+48*, CC+43~, CC+49*, DD+4~, DD+15*, DD+16*, NEWMRA+9~
DTOUT D+17~, AA+5~, AA+42~, CC+5~, CC+43~, NEWMRA+9~
DUOUT AA+5~, AA+42~, CC+5~, CC+43~, NEWMRA+9~
FLINE DD+4~, DD+5*, DD+9
MRAACT C+6~, C+10, D+5~, D+6, D+16, AA+5~, AA+18, AA+32, AA+36, CC+5~
CC+19, CC+33, CC+37
MRAIEN D+5~, D+6*, D+15, D+16, D+18, PENDMRA+7~, PENDMRA+8*, PENDMRA+9, PENDMRA+10*, PENDMRA+11
, PENDMRA+14, PENDMRA+16, PENDMRA+17, AA+5~, AA+18*, AA+22, AA+31, AA+47, CC+5~, CC+19*
CC+23, CC+32, CC+48, DD+4~, DD+9*, DD+10, DD+14, DELMRA~, DELMRA+6
MRASTAT PENDMRA~, PENDMRA+8*, PENDMRA+16*, AA+5~, AA+31*, AA+32, AA+36, CC+5~, CC+32*, CC+33
CC+37
STEXT DD+4~, DD+6*, DD+9
STOP PENDMRA+7~, PENDMRA+8*, PENDMRA+9, PENDMRA+15*, PENDMRA+16, PENDMRA+17
U A+8, C+7, PENDMRA+14, PENDMRA+16, AA+12, AA+15, AA+31, CC+13, CC+16, CC+32
, NEWMRA+11
VAID A+7~, A+8*, A+9, C+6~, C+7*, C+10, C+11, D~, D+6, D+21
, PENDMRA~, PENDMRA+14, AA+5~, AA+15*, AA+18, AA+27, CC+5~, CC+16*, CC+19, CC+28
, NEWMRA~
VAIEN A~, A+8, A+9, C~, C+7, C+11, AA+5~, AA+10*, AA+11, AA+12
AA+15, AA+23, AA+27, AA+28, AA+37, AA+46, AA+50, CC+5~, CC+10*, CC+11
CC+13, CC+16, CC+24, CC+28, CC+29, CC+38, CC+47, CC+51, NEWMRA~
X AA+5~, CC+5~, DD+4~, NEWMRA+9~, NEWMRA+11*
Y AA+5~, AA+9, AA+10, AA+42~, AA+46, CC+5~, CC+9, CC+10, CC+43~, CC+47
DD+4~, NEWMRA+9~
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All