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

Package: Scheduling

Routine: SCCVCST1


Information

SCCVCST1 ; ALB/TMP - SCHED VSTS CONV/ARCHIVE - REQUEST/EDIT ; 25-NOV-97

Source Information

Source file <SCCVCST1.m>

Call Graph

Call Graph Total: 12

Package Total Call Graph
Scheduling 8 BLD^SCCVCDS1  (BLD,SELX)^SCCVDSP  HDR^SCCVDSP1  ($$EXPAND,$$NONE)^SCCVDSP2  MAILSUM^SCCVEGD0  ($$CHKACT,$$LSTACT,$$LSTEVT)^SCCVLOG  ($$OK,PAUSE)^SCCVU  ($$CNVTSCH,PROCREQ,TASKSTA)^SCCVU1  
VA Fileman 3 ^DIE  ^DIK  ^DIR  
Registration 1 FULL^VALM1  

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
Scheduling 1 SCCVCST  

Entry Points

Name Comments DBIA/ICR reference
REQX
EDIT(SCCVSCRN) ; -- Edit the selected CST
CANCQ
BULLX
REQ(SCFUNC,SCCVSCRN,ASKBULL) ; -- Schedule request to run/stop
; SCFUNC = 0 if from add new template, 1 if from edit or schedule
; SCCVSCRN = 1 if called from main menu, 2 if called from log menu
; ASKBULL = 1 if user should be asked to answer send bulletin question
; = 0 if user already answered the question during this action
; Assumes SCCVDA = template entry ien from List Manager selection
CANCEL ; Cancel a selected CST that has not been completely converted
DONE ; Message to say complete is over
BULL ; Re-generate bulletin for estimate
NOTDONE ; -- all needed fields not answered - delete entry
EDITX

External References

Name Field # of Occurrence
^DIE REQ+76, EDIT+25, CANCEL+25
^DIK NOTDONE+2
^DIR REQ+38, REQ+45, REQ+61, REQ+69, REQ+73, EDIT+22, EDIT+28, CANCEL+22
BLD^SCCVCDS1 REQ+83, EDIT+31, CANCEL+26
BLD^SCCVDSP REQ+84, EDIT+32, CANCEL+27
SELX^SCCVDSP REQ+13, EDIT+8, BULL+5, CANCEL+4
HDR^SCCVDSP1 EDIT+31, CANCEL+26
$$EXPAND^SCCVDSP2 REQ+48, REQ+49, EDIT+28
$$NONE^SCCVDSP2 REQ+50
MAILSUM^SCCVEGD0 BULL+14
$$CHKACT^SCCVLOG BULL+8, CANCEL+14
$$LSTACT^SCCVLOG CANCEL+8
$$LSTEVT^SCCVLOG CANCEL+9
$$OK^SCCVU REQ+19
PAUSE^SCCVU REQ+11, REQ+25, REQ+32, NOTDONE+4, EDIT+6, EDIT+18, BULL+12, BULL+17, CANCEL+18, DONE+2
$$CNVTSCH^SCCVU1 EDIT+25
PROCREQ^SCCVU1 REQ+80
TASKSTA^SCCVU1 REQ+22
FULL^VALM1 REQ+8, EDIT+3, BULL+2, CANCEL+2

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: *7,!,"You cannot run a canceled template!"
  • Line Location: REQ+10
Function Call: WRITE
  • Prompt: !!,$S($G(SCRESULT):"An error has occurred (",1:"This CST already has a valid task "_$P(SCCV1,U,3)_" (")_$P(SCRESULT,U,2)_")."
  • Line Location: REQ+24
Function Call: WRITE
  • Prompt: !!,"This CST has completed converting the data in its date range."
  • Line Location: REQ+30
Function Call: WRITE
  • Prompt: !,"The event must be 'RE-CONVERT' in order to run this CST again."
  • Line Location: REQ+31
Function Call: WRITE
  • Prompt: !!,"Requested Event : ",$$EXPAND^SCCVDSP2(404.98,.05,$P(SCCV0,U,5))
  • Line Location: REQ+48
Function Call: WRITE
  • Prompt: !,"Last Event Status : ",$$EXPAND^SCCVDSP2(404.98,.07,$P(SCCV0,U,7))
  • Line Location: REQ+49
Function Call: WRITE
  • Prompt: !,"Last Requested Action: ",$$NONE^SCCVDSP2(404.98,.08,$P(SCCV0,U,8),"<No action requested>"),!
  • Line Location: REQ+50
Function Call: WRITE
  • Prompt: !,"All fields must be answered. Nothing has been scheduled."
  • Line Location: NOTDONE+3
Function Call: WRITE
  • Prompt: !!,"This template has completed its "_$P("^re-",U,$P(SCCV0,U,5))_"conversion."
  • Line Location: EDIT+16
Function Call: WRITE
  • Prompt: !
  • Line Location: EDIT+27
Function Call: WRITE
  • Prompt: !,"The CST must have a completed ESTIMATE event to re-generate the bulletin."
  • Line Location: BULL+11
Function Call: WRITE
  • Prompt: !,"Estimate bulletin "_$S($G(SCCVSENT):"has been sent to "_SCCVSENT_" user"_$S(SCCVSENT>1:"s",1:""),1:"was not generated due to an error - try agin later")_"."
  • Line Location: BULL+16
Function Call: WRITE
  • Prompt: !,"This template has "_$S(SCCVEVT<3:"completed successfully and does not need to be canceled",1:"already been canceled")_"."
  • Line Location: CANCEL+17
Function Call: WRITE
  • Prompt: !
  • Line Location: CANCEL+21
Function Call: WRITE
  • Prompt: !
  • Line Location: CANCEL+24
Function Call: WRITE
  • Prompt: *7,!!,"Conversion is complete - this function is invalid!"
  • Line Location: DONE+1
Routine Call
  • DIE
  • Line Location:
    • REQ+76
    • EDIT+25
    • CANCEL+25
Routine Call
  • DIR
  • Line Location:
    • REQ+38
    • REQ+45
    • REQ+61
    • REQ+69
    • REQ+73
    • EDIT+22
    • EDIT+28
    • CANCEL+22

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^SD(404.98 - [#404.98] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^SD(404.91 - [#404.91] EDIT+18
^SD(404.98 - [#404.98] REQ+9, REQ+16, EDIT+4, EDIT+11, EDIT+26, CANCEL+7

Label References

Name Line Occurrences
BULLX BULL+4, BULL+6, BULL+10
CANCQ CANCEL+3, CANCEL+5, CANCEL+16, CANCEL+23
DONE REQ+12, EDIT+7, BULL+4, CANCEL+3
EDITX EDIT+4, EDIT+7, EDIT+9, EDIT+15
NOTDONE REQ+77
REQ EDIT+30
REQX REQ+9, REQ+12, REQ+14, REQ+19, REQ+21, REQ+27, REQ+52, REQ+71, REQ+77

Naked Globals

Name Field # of Occurrence
^(1 REQ+16, EDIT+11

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ASKBULL REQ~
DA REQ+7~, REQ+75*, NOTDONE+1~, NOTDONE+2*, EDIT+1~, EDIT+25*, CANCEL+25*
DA(1 NOTDONE+2*
DIC REQ+7~, EDIT+1~
DIE REQ+7~, REQ+75*, EDIT+1~, EDIT+25*!, CANCEL+25*
DIE("NO^" EDIT+25*
DIK NOTDONE+1~, NOTDONE+2*
DIR REQ+38!, REQ+45!, REQ+61!, REQ+69!, REQ+73!, EDIT+1~, EDIT+22!, EDIT+28!, CANCEL+22!
DIR("A" REQ+36*, REQ+37*, REQ+43*, REQ+44*, REQ+57*, REQ+66*, REQ+67*, REQ+68*, REQ+73*, EDIT+20*
, EDIT+28*, CANCEL+20*, CANCEL+22*
DIR("B" REQ+36*, REQ+42*, REQ+58*, REQ+59*, REQ+65*, REQ+73*, EDIT+21*, EDIT+28*, CANCEL+22*
DIR(0 REQ+36*, REQ+42*, REQ+54*, REQ+55*, REQ+56*, REQ+65*, REQ+73*, EDIT+21*, EDIT+28*, CANCEL+22*
DR REQ+7~, REQ+75*, EDIT+1~, EDIT+25*, CANCEL+25*
SCABORT REQ+7~, REQ+16*, REQ+19*, REQ+21, REQ+25*, REQ+27, REQ+33*, REQ+39*, REQ+46*
SCCV REQ+7~, REQ+80, EDIT+1~
SCCV("ENDDT" EDIT+12*
SCCV("REQNUM" REQ+79*
SCCV("STARTDT" EDIT+12*
SCCV("TEMPLNO" REQ+79*
SCCV0 REQ+7~, REQ+16*, REQ+29, REQ+35, REQ+41, REQ+48, REQ+49, REQ+50, EDIT+1~, EDIT+11*
, EDIT+12, EDIT+15, EDIT+16, EDIT+20, EDIT+26*, EDIT+28, CANCEL+7*
SCCV1 REQ+7~, REQ+16*, REQ+21, REQ+24, EDIT+1~, EDIT+11*, EDIT+25
SCCV5 REQ+7~, REQ+16*, REQ+19, REQ+55, REQ+56, REQ+58, REQ+59
SCCV7 REQ+7~, REQ+16*, REQ+23, REQ+27, REQ+53, REQ+55, REQ+56, REQ+58, REQ+59, REQ+64
, REQ+73
SCCV8 REQ+7~, REQ+16*
SCCVACT REQ+7~, REQ+16*, REQ+52, REQ+53*, REQ+62*, REQ+63*, REQ+64, REQ+66, REQ+70*, REQ+71
, REQ+73*, CANCEL+1~
SCCVDA REQ+9, REQ+13, REQ+14, REQ+16, REQ+22, REQ+25!, REQ+29!, REQ+39!, REQ+46!, REQ+75
, REQ+79, REQX+1!, NOTDONE+2, EDIT+4, EDIT+8~, EDIT+9, EDIT+11, EDIT+25, EDIT+26, EDIT+31
, BULL+5~, BULL+6, BULL+8, BULL+14, CANCEL+4~, CANCEL+5, CANCEL+7, CANCEL+8, CANCEL+9, CANCEL+14
, CANCEL+25, CANCEL+26
SCCVDA1 REQ+7~, REQ+74!, REQ+77, REQ+79, NOTDONE+2
>> SCCVDONE REQ+12, EDIT+7, BULL+4, CANCEL+3
SCCVEVT CANCEL+1~, CANCEL+9*, CANCEL+13, CANCEL+14, CANCEL+17, CANCEL+20
SCCVLST CANCEL+1~, CANCEL+8*
SCCVNOW REQ+7~
SCCVOK REQ+7~, REQ+74*, REQ+77, CANCEL+1~, CANCEL+10*, CANCEL+13*, CANCEL+14*, CANCEL+16, CANCEL+20
SCCVSCRN REQ~, REQ+25, REQ+29, REQ+39, REQ+46, REQ+83, REQ+84, REQX+1, EDIT~, EDIT+8
, EDIT+30, EDIT+31, EDIT+32, BULL+5, CANCEL+4, CANCEL+26, CANCEL+27
SCCVSENT BULL+1~, BULL+14, BULL+16
SCCVX EDIT+1~
SCCVY EDIT+1~, EDIT+13*, EDIT+23*, EDIT+25*
SCEST BULL+1~, BULL+8*, BULL+10
SCFUNC REQ~, REQ+82
SCRERUN EDIT+1~, EDIT+15*, EDIT+23*
SCRESULT REQ+7~, REQ+22, REQ+23, REQ+24, REQ+25, REQ+80
SCSTOP REQ+7~, REQ+72*
U REQ+9, REQ+16, REQ+21, REQ+23, REQ+24, REQ+29, REQ+35, REQ+41, REQ+48, REQ+49
, REQ+50, EDIT+4, EDIT+12, EDIT+15, EDIT+16, EDIT+18, EDIT+20, EDIT+25, EDIT+28
>> VALMBCK REQX*, EDITX*, BULLX*, CANCQ*
X REQ+7~, NOTDONE+1~, EDIT+1~
Y REQ+7~, REQ+39, REQ+46, REQ+62, REQ+70, REQ+73, NOTDONE+1~, EDIT+1~, EDIT+23, EDIT+30
, CANCEL+23
Z REQ+65*, REQ+66*, REQ+67, BULL+1~
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