Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Entry Points |  FileMan Files Accessed Via FileMan Db Call
Print Page as PDF
Routine: BPSOSQ4

Package: E Claims Management Engine

Routine: BPSOSQ4


Information

BPSOSQ4 ;BHAM ISC/FCS/DRS/DLF - Process responses ;12/7/07 15:48

Source Information

Source file <BPSOSQ4.m>

Entry Points

Name Comments DBIA/ICR reference
PAID(IEN59) ;quick query to see if it's paid
RESPINFO(IEN59,DST) ;EP - BPSOS6M
; quick way to get all the response info for a given BPS Transaction
; IMPORTANT!! Do not change spelling, case, wording, or spacing!!!
; If a reversal was attempted, it complicates things.
; fills DST array as follows:
; DST("HDR")=Response Status (header)
; DST("RSP")=Response Status (transaction)
; This could be: "Payable", "Rejected", "Accepted", "Captured",
; "Duplicate", or "null"
; DST("REJ",0)=count of reject codes
; DST("REJ",n)=each reject code
; DST("MSG")=message with the response
; All of these are defined, even if originals were '$D.
; The external forms are returned.
RESP500(RESP,FMT) ;EP - BPSOS57,BPSOSUC
; returns the response header status
RESP1000(RESP,POS,FMT) ;EP - BPSOSUC
; returns the transaction response status
; Note! Could be DP or DC for duplicates
REJCOUNT(RESP,POS,FMT) ; returns rejection count
REJCODE(RESP,POS,N,FMT) ; returns Nth rejection code
; if FMT="E", returns code:text
RESPMSG(RESP,POS) ; response message - additional text from insurer
NOW() ;
REJSLEEP(BPSRESP,BPSPOS,IEN59) ;
; Check if the insurer should be asleep based on the reject codes
; Input
; BPSRESP - BPS Response IEN
; BPSPOS - Multiple IEN
; IEN59 - BPS TRANSACTION IEN
; Return
; 1 if the insurer should go to sleep
; 0 if the insurer should not go to sleep
ADDSLEEP(IEN59) ;
; Adds a payer (if not already there) to the Asleep file
; Input
; IEN59 - BPS TRANSACTION IEN
; Return
; 0 - No BPS Asleep Payer record created
; BPS Asleep Payer IEN
INCSLEEP(IEN59) ; called from BPSOSQL
; INCSLEEP - Increment sleep time for this insurer
; Input
; IEN59 - BPS TRANSACTION IEN
; Return
; 0 - Awake now
; 1 - Still asleep
SETSLEEP(IEN59,BPSIEN15,MSG) ;
; Put transaction to sleep
; Input
; IEN59 - BPS Transaction IEN
; BPSIEN15 - BPS Asleep Payer IEN
; MSG - Message used for Log
CLRSLEEP(GRPLAN,IEN59) ;EP - BPSOSQL
; Clear insurer sleeping condition
; Input:
; GRPLAN - Group Insurance Plan IEN
; IEN59 - BPS Transaction IEN

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^BPS(9002313.15 - [#9002313.15] Classic Fileman Calls
Info |  Source |  Entry Points |  FileMan Files Accessed Via FileMan Db Call