RCDPEWLZ ;ALB/PJH-Block Auto-decrease protocol ;09 Feb 2018
Source file <RCDPEWLZ.m>
| Name | Comments | DBIA/ICR reference | 
|---|---|---|
| BLOCK(RCERA) | ;  Stop/Allow Auto Decrease of zero balance denials
 | 
|
| QUIT | ;  pause and rebuild the header
 | 
|
| ASKSTAT(RCSTA) | ;  ask if its okay to block to unblock from auto-decrease
 ; 1 is yes, otherwise no  | 
|
| AUTO(RCERA,RCARRAY) | ; Search ERA for Auto-Decrease CARCs 
 ; INPUT - RCERA = ERA number/IEN ; RCARRAY = return array reference ; OUTPUT - RCARRAY = list of ERA lines and auto-decrease CARC/amounts for each line  | 
|
| UPD(RCERA,RCSTA) | ; Update AUTO-DECREASE BLOCKED status of an ERA
 | 
|
| WLF(RCERA) | ; Return auto-decrease flag - EP EXTRACT^RCDPEWL7
 ; INPUT - RCERA = IEN of ERA in #344.4 ; OUTPUT - 'c' or null  | 
|
| WLH(RCERA) | ; Auto-decrease status for ERA - EP HDR^RCDPEWL
 ; INPUT - RCERA = IEN of ERA in #344.4 ; OUTPUT - RCTXT = display text  | 
|
| WLL(RCERA,RCLINE) | ; Auto-decrease status for ERA line - EP - RCDPEWL0
 ; INPUT - RCERA = IEN of ERA in #344.4 ; RCLINE = ERA line number ; OUTPUT - RCTXT = display text  | 
|
| SCRPAD(RCERA) | ;Build Scratchpad entry in #344.49 for the ERA - EP REJ^RCDPEAD
 | 
|
| SCRPADX | ;Return Scratchpad IEN
 | 
| Name | Line Occurrences | 
|---|---|
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| FileNo | Call Tags | 
|---|---|
| ^RCY(344.4 - [#344.4] | Classic Fileman Calls, GET1^DIQ | 
| 344.41 | GET1^DIQ | 
| ^RCY(344.61 - [#344.61] | GET1^DIQ |