BPSTASDB ;AITC/PD - ECME TAS BPSTL Utility; 12/16/2019
Source file <BPSTASDB.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
EN(RESULT,ARGS) | ; RPC Entry Point
|
|
RESULT | ; setup JSON result
; Result will return variable COUNT ; COUNT = # of records reset or added ; COUNT = -1 indicates an input parameter was missing ; COUNT = -2 indicates the date passed in for ADD was invalid ; COUNT = -3 indicates input FLAG was not 1 or 2 |
|
RESET | ; Reset existing entries in ^BPSTL("C") to 1
; Only entries that currently have a defined value for field #20 ; will be reset. Value will be reset to 1 (READY TO SEND (OPEN)) |
|
ADD(BPSDATE) | ; Add new entries to ^BPSTL("C")
; Using the AH index and the date passed in, add entries ; to the queue that are not already in the queue. Set ; the value to 1. |
|
DATE(X) | ; Convert Date to FileMan format
|
RPC Name | Call Tags |
---|---|
BPS TAS DATABASE RESET | EN |
FileNo | Call Tags |
---|---|
^BPSTL - [#9002313.57] | GET1^DIQ |