STARTREPORT
Syntax
![]()
Command
Mandatory parameter Optional parameter Mandatory keyword Optional keyword |
STARTREPORT (<Report>[, <Language>[, <Parameter>[, <Username>]]])
Description
Starts a report.
Diagram
Returned value type
None
Parameters
Parameter | Description |
<Report> | The name of the report to execute. |
<Language> | The language data. |
<Parameter> | The parameter to move into the local variable that is specified in the options field "Parameter Name" in the specified report. The variable should be of an alphanumerical datatype with a maximum length of 1024. |
<Username> | The username of the AMT user whose credentials will be used to start the report. |
Example
startreport (TRANSFER_REP)
startreport ('DAILYTRANSFER',, 'SHOES')
startreport ('WEEKLYTRANSFER', SI-LANGUAGE, 'GLOVES')
startreport ('USERTRANSFER',,, USERTRF)
startreport ('MONTHLYTRANSFER', 'NEDERLANDS', ITEMTYPE, 'JDOE')
startreport ('DAILYTRANSFER',, 'SHOES')
startreport ('WEEKLYTRANSFER', SI-LANGUAGE, 'GLOVES')
startreport ('USERTRANSFER',,, USERTRF)
startreport ('MONTHLYTRANSFER', 'NEDERLANDS', ITEMTYPE, 'JDOE')