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 |  Naked Globals |  Local Variables  | All
Print Page as PDF
Routine: FBAAVR0

Package: Fee Basis

Routine: FBAAVR0


Information

FBAAVR0 ;AISC/GRR,SAB - REJECT ITEMS ;3/26/2012

Source Information

Source file <FBAAVR0.m>

Call Graph

Call Graph

Call Graph Total: 7

Package Total Call Graph
Fee Basis 4 $$POSTINV^FB1358  (CMORE,HEDC)^FBAACCB1  $$ASKVET^FBAAUTL1  $$SETREJ^FBAAVR4  
VA FileMan 3 ^DIE  $$GET1^DIQ  ^DIR  

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: 4

Package Total Caller Graph
Fee Basis 4 FBAADD  FBAAVR  FBAAVR1  FBAAVR2  

Entry Points

Name Comments DBIA/ICR reference
VCHNH ; set DATE FINALIZED for batch type B9 line items
  • ICR #5095
    • Status: Retired
    • Usage: Controlled Subscription
    DELC ; specify local rejects for batch type B9
    RL
    RL1
    RJT
    RDR1
    RDMORE
    WRITC
    LOOP
    REJLN ; flag line item as rejected
    ; input
    ; FBN - batch IEN
    ; FBTYPE - batch type
    ; FZ - zero node of batch (file 161.7)
    ; FBIENS - iens of line item
    ; FBRR - reject reason
    ; FBAARA - accumulated dollar amount to be posted to 1358 by batch
    ; QQ( - (optional) array of line items
    ; HX - (optional) line number selected from QQ( array
    ; output
    ; FZ - may be updated
    ; FBAARA - may be updated
    ; QQ(HX) - may be deleted
    ; FBRFLAG - will be set =1 if 1358 needs to be posted by batch

    External References

    Name Field # of Occurrence
    ^DIE VCHNH+1
    $$GET1^DIQ REJLN+31
    ^DIR RLRL1RJTRDR1RDMORELOOP
    $$POSTINV^FB1358 REJLN+39
    CMORE^FBAACCB1 WRITC
    HEDC^FBAACCB1 DELC+6
    $$ASKVET^FBAAUTL1 DELC+3
    $$SETREJ^FBAAVR4 REJLN+18

    Interaction Calls

    Name Line Occurrences
    Function Call: WRITE
    • Prompt: !,*7,"You already rejected that one!!"
    • Line Location: RL1+1
    Function Call: WRITE
    • Prompt: !,"...DONE!"
    • Line Location: LOOP+2
    Function Call: WRITE
    • Prompt: !,"Error rejecting line with IENS "_FBIENS
    • Line Location: REJLN+22
    Function Call: WRITE
    • Prompt: !," "_$P(FBX,"^",2)
    • Line Location: REJLN+23
    Function Call: WRITE
    • Prompt: !,"Error posting invoice "_+FBIENS_" to 1358"
    • Line Location: REJLN+41
    Function Call: WRITE
    • Prompt: !," "_$P(FBX1,"^",2)
    • Line Location: REJLN+42
    Routine Call
    • DIE
    • Line Location:
      • VCHNH+1
    Routine Call
    • DIR
    • Line Location:
      • RL
      • RL1
      • RJT
      • RDR1
      • RDMORE
      • LOOP

    FileMan Files Accessed Via FileMan Db Call

    FileNo Call Tags
    ^FBAAI - [#162.5] Classic Fileman Calls,  GET1^DIQ

    Global Variables Directly Accessed

    Name Line Occurrences  (* Changed,  ! Killed)
    ^FBAA(161.7 - [#161.7] REJLN+45
    ^FBAAI - [#162.5] VCHNH+1, DELC+6
    ^FBAAI("AC" VCHNH+1
    ^FBAAI("AE" DELC+6

    Label References

    Name Line Occurrences
    DELC RLRL1LOOP+3
    LOOP RLLOOP
    RDR1 RDR1
    REJLN RDR1+1, LOOP+1
    RL1 RL1+1, RJTRDMORE
    WRITC DELC+6

    Naked Globals

    Name Field # of Occurrence
    ^(0 DELC+6

    Local Variables

    Legend:

    >> Not killed explicitly
    * Changed
    ! Killed
    ~ Newed

    Name Field # of Occurrence
    >> B VCHNH+1, DELC+6
    DA VCHNH+1*, VCHNH+2!
    DIE VCHNH+1*, VCHNH+2!
    DIR RL!, RL1!, RJT!, RDR1!, RDMORE!, LOOP!
    DIR("A" RL*, RL1*, RJT*, RDR1*, RDMORE*, LOOP*
    DIR("B" RL*, RJT*, RDMORE*
    DIR(0 RL*, RL1*, RJT*, RDR1*, RDMORE*, LOOP*
    >> DIRUT RLRL1RJTRDR1RDMORELOOP
    >> DR VCHNH+1*
    >> FBAAOUT DELC+6*
    >> FBAARA REJLN+34*
    >> FBDFN DELC+3*, DELC+4, DELC+6
    >> FBI DELC+6*
    FBIENS DELC+1~, RDR1+1*, LOOP+1*, REJLN+18, REJLN+22, REJLN+31, REJLN+39, REJLN+41
    >> FBN REJLN+18, REJLN+39, REJLN+45
    FBPBYINV REJLN+27~, REJLN+30*, REJLN+31*, REJLN+34, REJLN+37
    >> FBRFLAG REJLN+34*
    >> FBRR RDR1*, LOOP*, REJLN+18
    >> FBTYPE REJLN+18, REJLN+31
    FBX REJLN+16~, REJLN+18*, REJLN+21, REJLN+23, REJLN+26, REJLN+34
    FBX1 REJLN+38~, REJLN+39*, REJLN+40, REJLN+42
    >> FZ REJLN+45*
    >> HX RL1*, RL1+1, RJTRDR1+1, LOOP+1*, REJLN+28
    >> I DELC+6*, WRITC
    IOF DELC+6
    >> J VCHNH+1*
    QQ DELC+5!, DELC+6*, RL1, WRITC*
    QQ( RL1+1, RDR1+1, WRITC*, LOOP+1, REJLN+28!
    >> X RL1RDR1LOOP
    >> Y RLRJTRDMORE
    >> Z(0 DELC+6*
    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 |  Naked Globals |  Local Variables  | All