MAGGSIUI ;WOIFO/GEK/NST - Utilities for Image Import API ; 20 Jan 2010 10:10 AM
Source file <MAGGSIUI.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
REMOTE(MAGRY,MAGDATA) | ;RPC [MAG4 REMOTE IMPORT]
; Import Images from a Windows App, by sending an array. |
|
IMPORT(MAGRY,IMAGES,MAGIX) | ;
; "IDFN","PXPKG","PXIEN","PXDT","TRKID","ACQD","ACQS","ACQL","STSCB","ITYPE", ; "CMTH","CDUZ","USERNAME","PASSWORD","GDESC","DFLG","TRTYPE","DOCCTG","DOCDT", ; "IXTYPE","IXSPEC","IXPROC","IXORIGIN ;Patch 8: Added Index fields ; "PXSGNTYP","PXNEW","PXTIUTTL","PXTIUTXTxxxxx" ; Patch 108 |
|
SA(FLD,VAL) | ;Set the data array with Fld,Value
|
|
SI(FLD,ARR) | ;Set the images into the data array
; 'CT' is a global variable. |
|
GETARR(ARR,QNUM) | ;RPC [MAG4 DATA FROM IMPORT QUEUE]
; Get the Input Array from Queue Number |
|
STATUSCB(MAGRY,STAT,TAGRTN,DOCB) | ;RPC [MAG4 STATUS CALLBACK]
; Report Status to calling application ; Now the IAPI and OCX make this call. Not BP ; STAT(0)= "0^message" or "1^message" ; STAT(1)=TRKID, ; (2)=QNUM ; (3..N)=warnings |
|
TESTCB(STATARR) | ;TESTING. This is the Status Callback for testing.
; the STATUSCB property must have a Valid "M" TAG^ROUTINE ; TAG TESTCB exists so that STATUSCB validates successfully |
|
ERRTRK | ;Track bad data and Quit
|
|
DATATRK | ; Track the raw data being sent to the Import API.
; Log the data being imported. Results are logged later. |
|
ERR | ; ERROR TRAP FOR Import API
|
|
GETIAPID(OUT,TRKID) | ; Returns Import API data in OUT array from file (#2006.82) by tracking ID
; OUT(FIELD)=VALUE |
Name | Line Occurrences |
---|---|
Function Call: WRITE |
|
Function Call: WRITE |
|
RPC Name | Call Tags |
---|---|
MAG4 REMOTE IMPORT | REMOTE |
MAG4 DATA FROM IMPORT QUEUE | GETARR |
MAG4 STATUS CALLBACK | STATUSCB |