DENTV DD GET/ADD RECORD (1073)    REMOTE PROCEDURE (8994)

Name Value
NAME DENTV DD GET/ADD RECORD
TAG ADD
ROUTINE DENTVRP3
RETURN VALUE TYPE SINGLE VALUE
AVAILABILITY AGREEMENT
DESCRIPTION
This rpc returns the internal entry number to file 228 for a cpt code.
INPUT PARAMETER
  • DATA
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   10
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    Format:  data = p1 ^ p2  where
      p1 = cpt code name (or ien to file 81)
      p2 = optional - if p2=1 then add cpt code to file 228
           if p2 is undefined or is 0, then lookup ien to file 228,
           but do not add if cpt is not in file 228
    
  • KEY
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   1
    REQUIRED:   NO
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    Check which security key this user has. The default value is 'L', or you
    may pass 'M'  If L, then see if user owns the local edit security key to
    edit entries in the local number space (>100,000).  If you pass 'M' then
    this will check to see if the user owns the VACO security key and if so
    then the user can edit any entry in the file.  Regardless of the key
    owned, if the record being edited has an ien>100,000 then only fields
    .01,1,5,6 may be edited.
    
RETURN PARAMETER DESCRIPTION
Returns a literal:
  return ien to file 228 if found, else
  return error message, -1^error_msg