Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: ABMDBAD1

ABMDBAD1.m

Go to the documentation of this file.
ABMDBAD1 ; IHS/ASDST/DMJ - ADD BILL SUBMITTED ELSWHERE, NON-INTERACTIVE ; 
 ;;2.6;IHS 3P BILLING SYSTEM;;NOV 12, 2009
ADD(ABM1) ;EP
 K DINUM,DIC
 S DIC(0)="LX"
 S DIC="^ABMDBILL(DUZ(2),"
 S X=$$NXNM^ABMDUTL
 I 'X S DA="" Q DA
 S X=X_"A"
 D ^DIC
 I +Y<0 S DA="" Q DA
 S DA=+Y
 S DIE=DIC
 S ABMFLD=0
 F  S ABMFLD=$O(ABM1(ABMFLD)) Q:'ABMFLD  D
 .Q:ABM1(ABMFLD)=""
 .S DR=ABMFLD_"////"_ABM1(ABMFLD)
 .D ^DIE
 K ABMFLD,ABM1
 Q DA