0% found this document useful (0 votes)
90 views3 pages

Write A Routine To Call PRODUCE - DEAL.SLIP As Shown Below

This document provides code to call the PRODUCE.DEAL.SLIP subroutine. It saves the ID and record, calls the subroutine with a deposit slip call parameter, and restores the saved ID and record. It also instructs to create an ENQUIRY.REPORT version and test it by inputting a new record and checking the generated deal slip.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
90 views3 pages

Write A Routine To Call PRODUCE - DEAL.SLIP As Shown Below

This document provides code to call the PRODUCE.DEAL.SLIP subroutine. It saves the ID and record, calls the subroutine with a deposit slip call parameter, and restores the saved ID and record. It also instructs to create an ENQUIRY.REPORT version and test it by inputting a new record and checking the generated deal slip.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 3

Write a routine to call PRODUCE.DEAL.

SLIP as shown below,


SUBROUTINE TELLER.TEST.DEAL

$INSERT I_COMMON

$INSERT I_EQUATE

$INSERT I_GTS.COMMON

$INSERT I_F.ENQUIRY.REPORT

SAVE.ID = ID.NEW

ID.NEW = SAVE.ID

ID.NEW = R.NEW(ENQ.REP.LIST)

FN.TELLER = 'F.TELLER'

F.TELLER = ''

CALL OPF(FN.TELLER, F.TELLER)

CALL F.READ(FN.TELLER,ID.NEW,R.REC,F.TELLER,ERR)

MATBUILD SAVE.R.NEW FROM R.NEW

MATPARSE R.NEW FROM R.REC

SAVE.PRINT = OFS$DEAL.SLIP.PRINTING

OFS$DEAL.SLIP.PRINTING = 1

DEAL.SLIP.CALL = 'TT.DEPOSITLC'

CALL PRODUCE.DEAL.SLIP(DEAL.SLIP.CALL)

OFS$DEAL.SLIP.PRINTING = SAVE.PRINT

MATPARSE R.NEW FROM SAVE.R.NEW

ID.NEW = SAVE.ID

RETURN

END

Create a version for ENQUIRY.REPORT and provide the routine in that,


Input a new record using this VERSION in ENQUIRY.REPORT
Run ENQUIRY REPORT.LIST and check the generated deal slip,

You might also like