PRCABIL2 ;SF-ISC/YJK-ENTER BILL INFO ;5/11/94 9:41 AM
Source file <PRCABIL2.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 |
Package | Total | Caller Graph |
---|---|---|
Accounts Receivable | 2 | PRCA BIL AMEND PRCABIL1 |
Kernel | 1 | ^DIC(19 |
Name | Comments | DBIA/ICR reference |
---|---|---|
EN8 | ;Amend the bill returned from Fiscal.
|
|
EN80 | ||
EN81 | ||
EN | ;ENTER NEW BILL IN FILE 430
|
|
ENPO | ;S DIC="^PRCA(430.4,",DIC(0)="QEMZ",DIC("S")="I +$P(^(0),U,1)=PRCA(""SITE""),+$P(^(0),U,5)=PRCAP(""S"")"
|
|
EN2 | ;I $L(X)<4 S D="C" D IX^DIC G ENPO:Y<0,NUM
|
|
ENPO1 | ||
NUM | ;L +^PRCA(430.4,+Y,0):1 G:'$T W1 S X=$P(Y,U,2),Z=$S(+$P(Y(0),U,4)<$P(Y(0),U,2):+$P(Y(0),U,2),1:+$P(Y(0),U,4)),L=$L(X)#2-3
|
|
Z | ;G:Z>$P(Y(0),U,3) W2 S Z="000"_Z,Z=$E(Z,$L(Z)+L,$L(Z)),X=X_Z I $D(^PRCA(430,"B",X)) S Z=Z+1,X=$P(Y,U,2) G Z
|
|
W1 | ;L -^PRCA(430.4,+Y,0) W !?3,"Bill Number series is being edited by another user, try later",*7 G ENPO
|
|
W2 | ;L -^PRCA(430.4,+Y,0) W !?3,"UPPER BOUND NOT DEFINED FOR BILL NUMBER SERIES ",$P(Y,U,2),*7 G ENPO
|
|
W3 | ||
SVC | ||
ENPOQ | ||
Q |
Name | Line Occurrences |
---|---|
Function Call: WRITE |
|
Function Call: READ |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: READ |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Routine Call |
|
Routine Call |
|
FileNo | Call Tags |
---|---|
^PRCA(430 - [#430] | Classic Fileman Calls |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^DIC(49 - [#49] | SVC |
^PRCA(430 - [#430] | EN81+3*, ENPO+6, ENPO1+2*, ENPO1+3 |
^PRCA(430.3 - [#430.3] | EN80+2, EN80+4, EN81+1 |
^VA(200 - [#200] | SVC |
Name | Field # of Occurrence |
---|---|
^(5 | SVC |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
% | Q! |
%DT | ENPOQ! |
A | Q! |
B | Q! |
C | Q! |
D0 | Q! |
DA | EN81+2*, EN+1!, ENPO1+2*, Q! |
DIC | EN+1!, ENPO1*, ENPOQ!, Q! |
DIC("DR" | ENPO1* |
DIC("S" | EN80*, ENPO1! |
DIC(0 | EN2+1* |
DIE | EN81+2*!, Q! |
DIK | Q! |
DLAYGO | EN+1!, ENPO1*, ENPOQ! |
DR | EN81+2*!, Q! |
DTIME | ENPO+1 |
DUZ | EN81+3, EN+1, SVC |
I | Q! |
L | ENPOQ! |
PRCA | Q! |
PRCA("SITE" | EN+1, ENPO+6, EN2+1 |
PRCA("STATUS" | EN80+1, EN81+1*, EN81+2 |
PRCABC | Q! |
PRCABILN | EN8+1~, EN80+1*, EN80+4! |
PRCABN | EN80+1, EN80+4*, EN81+2, EN81+3, EN+1!, ENPO1+2*, ENPO1+3, Q! |
PRCABT | Q! |
PRCADFM | Q! |
PRCAI | Q! |
PRCAKSTA | EN8+1~, EN80+1*, EN80+2, EN80+4!, EN81+2 |
PRCAMT | Q! |
PRCAMT1 | Q! |
PRCAMT2 | Q! |
PRCANM | Q! |
PRCAP | EN+1!, ENPOQ!, Q! |
PRCAP("NEW" | ENPO1* |
PRCAP("S" | EN80, EN+1, ENPO1, ENPO1+2, SVC!* |
PRCAQ | Q! |
PRCAT | Q! |
PRCATY | Q! |
PRCAX | Q! |
RCAMEND | EN8+1~, EN80+2* |
U | EN80+2, EN80+4, EN81+3, ENPO1+1, ENPO1+2 |
X | ENPO+1*, ENPO+2, ENPO+3*, ENPO+4*, ENPO+5, ENPO+6, EN2+1*, Q! |
Y | ENPO1+1, ENPO1+2, Q! |
Z | ENPOQ! |
Z0 | Q! |
ZRTN | Q! |
ZTSK | Q! |