INITPRINT: Change of action, process and parameters in GATEWAY processing
By default, the EDI standard processing uses the following values on the following variables to generate the PDF file:
- PRINTACTION="SYREDIETAT"
- PRINTSCRIPT="EDIPRTPDF"
and for the parameters:
- PARAM(1) = TBVAL(3)
- PARAM(2) = TBVAL(1)
- PARAM(3) = TBVAL(5)
- PARAM(4) = TBVAL(7)
- PARAM(5) = TBVAL(9)
- PARAM(6) = "1"
- PARAM(7) = ETAT
- PARAM(8) = ""
This entry point is used to change the values above during the processing.
Context and operating method
Transaction
There is no transaction in progress.
Log file
There is no open log file at this time because it is used in the GATEWAY processing.
Call context
This entry point is called during the EDI PDF file generation processing.
Available variables and masks
- PRINTACTION is the standard action used during the GATEWAY processing.
- PRINTSCRIPT is the name of the processing used to generate the report.
- PARAM() is the list of parameters sent to the processing specified in the PRINTSCRIPT variable.
For instance:
Call TRTSPE(nomap, ="SYREDIETAT",SPEWRK) From SUBACT
Call TRAITE_CHAR(VALWRK,PARAM,"", ="EDIPRTPDF","",5,SPEWRK) From GTRAITE
There is no mask opened in this context
Open tables
There is no table opened in this context
INIVARMAIL: To modify the fixed variables set up in the EDI mail protocol
In the EDI mail protocol set up, you can define fixed values to use during the email transmission phase.
It allows the transmission of emails through the Syracuse notification server definition.
This entry point is used to change these values during the processing.
Context and operating method
Transaction
There is no transaction in progress.
Log file
There is no open log file at this time because it is used in the GATEWAY processing.
Call context
This entry point is called during the EDI email transmission processing.
Available variables and masks
The variables are populated from the EDI email protocol setup. These variables are specified hereafter:
- WFROM: Email address of the sender. All email addresses can be plain text 'sender@server.com' or formatted text 'Sender Name <sender@server.com>'
- WTO: Comma-separated list of recipients’s email addresses that will appear in the 'To:' field
- SUBJECT: Subject of the email
- SMTPSRV: Notification server code set in Syracuse administration
- THEME: Notification theme defined in Syracuse administration you want to use
- TITLE: Email title
- SUBTITLE: Email subtitle
- CONTENT: Email main text
- SIG: Signature used at the end of the email
- ATT_NAME: Area with the name of the attached files
- ATT_CONTENT Area with the content of the attached files
You can modify these values in this entry point.
Open tables
There is no table opened in this context.