Print Page as PDF
DBIA3359 ICR (3359)

DBIA3359    ICR (3359)

Name Value
NUMBER 3359
IA # 3359
FILE NUMBER 3.8
GLOBAL ROOT XMB(3.8
DATE CREATED 2001/04/23
CUSTODIAL PACKAGE MAILMAN
CUSTODIAL ISC San Francisco
USAGE Private
TYPE File
DBIC APPROVAL STATUS APPROVED
NAME DBIA3359
GENERAL DESCRIPTION
This DBIA allows Accounts Receivable to delete a mail
group.

The Accounts Receivable code will first look to see if the mail group exists
in file 3.8 by looking at the B cross reference on the NAME (.01) field.  If
the mail group exists, the code will next loop the AD cross reference on the
MEMBER GROUP NAME sub-field (.01) of the MEMBER GROUPS field (11) in file 3.8.
If the mail group is a member of another mail group, the mail group will be
removed from the MEMBER GROUPS field using DIK.  Finally, the mail group will
be removed using DIK.  The following is an example of the code that deletes
the IRS mail group:

S RCMIRSDA=+$O(^XMB(3.8,"B","IRS",0))
I RCMIRSDA D
.   ;  check to see if IRS mail group is a member of another
.   ;  mail group.  If so, delete it from the other mail group.
.   S RCDA(1)=0 F  S RCDA(1)=$O(^XMB(3.8,"AD",RCMIRSDA,RCDA(1)))
Q:'RCDA(1)  D
.   .   S RCDA=0 F  S RCDA=$O(^XMB(3.8,"AD",RCMIRSDA,RCDA(1),RCDA))
Q:'RCDA  D
.   .   .   S DA(1)=RCDA(1),DA=RCDA,DIK="^XMB(3.8,"_RCDA(1)_",5,"
.   .   .   D ^DIK
.   ;
.   ;  delete the mail group
.   S DA=RCMIRSDA,DIK="^XMB(3.8,"
.   D ^DIK

GLOBAL REFERENCE
GLOBAL REFERENCE FIELD NUMBER
XMB(3.8,B,
FIELD NUMBER ACCESS FIELD DESCRIPTION FIELD NAME LOCATION
.01 Direct Global Read & w/Fileman
Reference to the "B" cross reference for the .01 field.
NAME 0;1
XMB(3.8,AD,
FIELD NUMBER ACCESS FIELD DESCRIPTION FIELD NAME LOCATION
11 Direct Global Read & w/Fileman
Reference the "AD" cross reference for the MEMBER GROUPS
to determine if a mail group is a member of another mail group.
MEMBER GROUPS 5;0
STATUS Active
KEYWORDS
  • XMB(3.8
  • 3.8
DURATION Till Otherwise Agreed
ID XMB(3.8
SUBSCRIBING PACKAGE
SUBSCRIBING PACKAGE ISC SUBSCRIBING DETAILS
ACCOUNTS RECEIVABLE Washington/Silver Spring
The IRS mail group will be removed in patch
PRCA*4.5*169.