SCRP REPORT PRINT (51)    REMOTE PROCEDURE (8994)

Name Value
NAME SCRP REPORT PRINT
TAG PRINT
ROUTINE SCRPBK3
RETURN VALUE TYPE ARRAY
AVAILABILITY RESTRICTED
DESCRIPTION
This RPC queues a report to print based the
is appropriate for the report. If the validation fails,
the errors are returned as part of the RPC.
the query template definition passed in as
part ithe RPC call.

The RPC returns the TaskMan task number.

Before the report assoicated with the query template
is queued to print, it must pass a validation check.
This check makes sure the criteria in the template
INPUT PARAMETER
  • PRINTER
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   30
    REQUIRED:   YES
    DESCRIPTION:   
    Name of the printer where report should print.
    
  • RUN DATE
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   20
    REQUIRED:   YES
    DESCRIPTION:   
    Date report should be printed.
    
  • TIME
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   20
    REQUIRED:   YES
    DESCRIPTION:   
    Time of day report should be printed.
    
  • QUERY DEFINITION
    PARAMETER TYPE:   LIST
    REQUIRED:   YES
    DESCRIPTION:   
    This parameter contains the complete definition of the query
    template. The format of the definition data is defined by
    the TScQryDef.BuildQuery method on the client.
    
RETURN PARAMETER DESCRIPTION
Using SCDATA to represent the array, the following is returned:
    SCDATA(0) -> TaskMan task number assicated with queued report
                        
                --- OR if errors were found during validation ---

    SCDATA(0) -> 0 - meaning errors found ^ <number of errors>
SCDATA(1...n) -> error text