FBAAIARA ;ALB/ESG - Fee IPAC Vendor DoD Invoice (Summary) Report Print ;1/16/2014
Source file <FBAAIARA.m>
action | A | extended action | Ea | event driver | Ed | subscriber | Su | protocol | O | limited protocol | LP | run routine | RR | broker | B | edit | E | server | Se | P | screenman | SM | inquire | I |
Name | Comments | DBIA/ICR reference |
---|---|---|
; entry point for printing the report
; Variables assumed to exist from FBAAIAR: FBIAVEN, FBIABEG, FBIAEND, FBIATYPE, FBIAEXCEL |
||
PX | ;
|
|
PRINTX | ;
|
|
EXCELN(FBVENAME,FBDODINV,RPTG) | ; output one Excel line
; FBVENAME - vendor name ; FBDODINV - DoD invoice# ; RPTG - scratch global data string |
|
HDR | ; report header
|
|
HDRX | ;
|
|
EXCELHD | ; print an Excel CSV header record (only 1 Excel CSV header should print for the whole report)
|
|
CSV(STRING,DATA) | ; build the Excel data string for CSV format
|
|
ITSTR(FBIATYPE) | ; convert array of selected invoice types into a string for the report header
|
|
ITSTRX | ;
|
|
COMPRX | ; compile Pharmacy data (moved to this routine for space reasons)
|
|
COMPRXX | ;
|
Name | Field # of Occurrence |
---|---|
$$S^%ZTLOAD | HDR+38 |
^DIR | PX+1, HDR+5 |
GET^FBAAIAR | COMPRX+37 |
$$FMTE^XLFDT | PRINT+28, EXCELN+14, HDR+20, HDR+21 |
$$NOW^XLFDT | HDR+21 |
$$LJ^XLFSTR | PRINT+21, PRINT+25, PRINT+26, PRINT+27, PRINT+28, PRINT+29 |
$$RJ^XLFSTR | PRINT+22, PRINT+23, PRINT+24, PRINT+30, PRINT+41, PRINT+42, PRINT+43, PRINT+44 |
Name | Line Occurrences |
---|---|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Routine Call |
|
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^FBAA(161.7 - [#161.7] | COMPRX+4, COMPRX+5, COMPRX+6, COMPRX+32, COMPRX+33 |
^FBAA(162.1 - [#162.1] | COMPRX+9, COMPRX+10, COMPRX+19, COMPRX+20, COMPRX+21, COMPRX+22, COMPRX+23 |
^FBAAV - [#161.2] | COMPRX+16, COMPRX+17 |
^TMP("FBAAIAR" | PRINT+7, PRINT+12, PRINT+15, PRINT+16, PRINT+35, HDR+28, COMPRX+25, COMPRX+36* |
Name | Line Occurrences |
---|---|
$$CSV | EXCELN+5, EXCELN+6, EXCELN+7, EXCELN+8, EXCELN+9, EXCELN+10, EXCELN+11, EXCELN+12, EXCELN+13, EXCELN+14 , EXCELN+15, EXCELN+16, EXCELHD+2, EXCELHD+3, EXCELHD+4, EXCELHD+5, EXCELHD+6, EXCELHD+7, EXCELHD+8, EXCELHD+9 , EXCELHD+10, EXCELHD+11, EXCELHD+12, EXCELHD+13 |
$$ITSTR | PRINT+6 |
EXCELHD | HDR+16 |
EXCELN | PRINT+18 |
HDR | PRINT+7, PRINT+8, PRINT+10, PRINT+14, PRINT+20, PRINT+38, PRINT+47, PRINT+53 |
HDRX | HDR+5, HDR+16, HDR+38 |
ITSTRX | ITSTR+4 |
PRINTX | PRINT+10, PRINT+51, PRINT+53 |
PX | PRINT+7, PRINT+8 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
BCH | COMPRX+2~, COMPRX+6*, COMPRX+9, COMPRX+19, COMPRX+32, COMPRX+33 |
CRT | PRINT+3~, PRINT+4*, PX+1, HDR+5, HDR+8, HDR+11 |
DATA | CSV~, CSV+1*, CSV+2, COMPRX+2~, COMPRX+30*, COMPRX+31*, COMPRX+32*, COMPRX+33*, COMPRX+34*, COMPRX+35* , COMPRX+36 |
DIR | PRINT+3~, PX+1!, HDR+2~, HDR+5! |
DIR(0 | PX+1*, HDR+5* |
DIROUT | PRINT+3~, HDR+2~ |
DIRUT | PRINT+3~, HDR+2~ |
DTOUT | PRINT+3~, HDR+2~ |
DUOUT | PRINT+3~, HDR+2~ |
FBDODINV | PRINT+3~, PRINT+15*, PRINT+16, PRINT+18, PRINT+21, EXCELN~, EXCELN+7, COMPRX+2~, COMPRX+24*, COMPRX+25 , COMPRX+36, COMPRX+37 |
FBDT | COMPRX+2~, COMPRX+4*, COMPRX+5*, COMPRX+6, COMPRX+30 |
FBH | EXCELHD+1~, EXCELHD+2*, EXCELHD+3*, EXCELHD+4*, EXCELHD+5*, EXCELHD+6*, EXCELHD+7*, EXCELHD+8*, EXCELHD+9*, EXCELHD+10* , EXCELHD+11*, EXCELHD+12*, EXCELHD+13*, EXCELHD+14 |
FBIA | COMPRX+2~, COMPRX+13*, COMPRX+14 |
>> FBIABEG | HDR+20, COMPRX+4 |
>> FBIAEND | HDR+20, COMPRX+5 |
>> FBIAEXCEL | PRINT+5, PRINT+10, PRINT+14, PRINT+18, PRINT+33, HDR+16 |
FBIASTOP | PRINT+3~, PRINT+6*, PRINT+10, PRINT+12, PRINT+14, PRINT+15, PRINT+20, PRINT+33, PRINT+38, PRINT+47 , PRINT+51, PRINT+53, HDR+5*, HDR+39* |
FBIATYPE | PRINT+6, ITSTR~ |
FBIATYPE( | ITSTR+6 |
FBIATYPE("ANC" | ITSTR+4 |
FBIATYPE("INP" | ITSTR+4 |
FBIATYPE("OUT" | ITSTR+4 |
FBIATYPE("RX" | ITSTR+4 |
>> FBIAVEN( | COMPRX+12 |
FBINVN | COMPRX+2~, COMPRX+15*, COMPRX+31 |
FBJ | COMPRX+2~, COMPRX+9*, COMPRX+10, COMPRX+19, COMPRX+20, COMPRX+21, COMPRX+22, COMPRX+23 |
FBK | COMPRX+2~, COMPRX+19*, COMPRX+20, COMPRX+21, COMPRX+22, COMPRX+23 |
FBRXINV | COMPRX+2~, COMPRX+10*, COMPRX+11, COMPRX+13, COMPRX+15 |
FBVEN | COMPRX+2~, COMPRX+11*, COMPRX+12, COMPRX+16, COMPRX+17, COMPRX+30 |
FBVENAME | PRINT+3~, PRINT+12*, PRINT+15, PRINT+16, PRINT+18, PRINT+35, EXCELN~, EXCELN+5, HDR+25, HDR+26 , HDR+28, COMPRX+2~, COMPRX+16*, COMPRX+25, COMPRX+36, COMPRX+37 |
FBVENID | COMPRX+2~, COMPRX+17*, COMPRX+30 |
FBY0 | COMPRX+2~, COMPRX+20* |
FBY2 | COMPRX+2~, COMPRX+21*, COMPRX+26, COMPRX+27, COMPRX+34, COMPRX+35 |
FBY6 | COMPRX+2~, COMPRX+22*, COMPRX+24 |
FBYREJ | COMPRX+2~, COMPRX+23*, COMPRX+28 |
FBZ | EXCELN+4~, EXCELN+5*, EXCELN+6*, EXCELN+7*, EXCELN+8*, EXCELN+9*, EXCELN+10*, EXCELN+11*, EXCELN+12*, EXCELN+13* , EXCELN+14*, EXCELN+15*, EXCELN+16*, EXCELN+17 |
IOF | HDR+8 |
IOSL | PRINT+5*, PRINT+20, PRINT+38, PRINT+47, PRINT+53 |
IOST | PRINT+4 |
ITSTR | PRINT+3~, PRINT+6*, HDR+22, ITSTR+2~, ITSTR+3*, ITSTR+4*, ITSTR+8*, ITSTRX+1 |
ITX | ITSTR+2~, ITSTR+6*, ITSTR+7 |
PAGE | PRINT+3~, PRINT+6*, HDR+5, HDR+8, HDR+11, HDR+13*, HDR+21 |
RPTG | PRINT+3~, PRINT+13!, PRINT+16*, PRINT+18, PRINT+22, PRINT+23, PRINT+24, PRINT+25, PRINT+26, PRINT+27 , PRINT+28, PRINT+29, PRINT+30, EXCELN~, EXCELN+6, EXCELN+8, EXCELN+9, EXCELN+10, EXCELN+11, EXCELN+12 , EXCELN+13, EXCELN+14, EXCELN+15, EXCELN+16, HDR+27 |
RPTT | PRINT+3~, PRINT+35*, PRINT+41, PRINT+42, PRINT+43, PRINT+44, PRINT+48 |
SEPLINE | PRINT+3~, PRINT+6*, HDR+35 |
STRING | CSV~, CSV+2*, CSV+3 |
TXT | ITSTR+2~, ITSTR+7*, ITSTR+8 |
U | PRINT+22, PRINT+23, PRINT+24, PRINT+25, PRINT+26, PRINT+27, PRINT+28, PRINT+29, PRINT+30, PRINT+41 , PRINT+42, PRINT+43, PRINT+44, PRINT+48, EXCELN+6, EXCELN+8, EXCELN+9, EXCELN+10, EXCELN+11, EXCELN+12 , EXCELN+13, EXCELN+14, EXCELN+15, EXCELN+16, HDR+27, HDR+28, COMPRX+11, COMPRX+13, COMPRX+15, COMPRX+16 , COMPRX+17, COMPRX+24, COMPRX+26, COMPRX+27, COMPRX+28, COMPRX+30, COMPRX+31, COMPRX+32, COMPRX+33, COMPRX+34 , COMPRX+35 |
VENID | HDR+2~, HDR+27*, HDR+28*, HDR+29 |
X | PRINT+3~, HDR+2~ |
Y | PRINT+3~, HDR+2~, HDR+5 |
Z | HDR+2~, HDR+28* |
>> ZTQUEUED | PX+1, HDR+38 |
>> ZTSTOP | PRINT+8, HDR+39* |