deal slip reprint

  • FOF
  • Visitor
  • Visitor
12 years 2 weeks ago #10952 by FOF
Replied by FOF on topic Re:Hi
i found the routine but i need to know how can i attach it in vesion level

Please Log in or Create an account to join the conversation.

More
12 years 2 weeks ago - 12 years 2 weeks ago #10969 by durai611
Replied by durai611 on topic Re:Hi
Hi,

I have attached here a worked out example. In similar lines you can try of your own.


File Attachment:

File Name: Dealslipge...tion.doc
File Size:80 KB



Also you can create your own application, from where you can generate Deal Slip.
Attachments:
Last edit: 12 years 2 weeks ago by durai611.

Please Log in or Create an account to join the conversation.

More
12 years 2 weeks ago #10977 by durai611
Replied by durai611 on topic Re:Hi
Hi OPEL1,

Based on transaction code? May I know your exact requirement.

Please Log in or Create an account to join the conversation.

More
12 years 2 weeks ago #10992 by durai611
Replied by durai611 on topic Re:Hi
Do you want to regenerate the deal slip or for each new transaction you have to generate the deal slip based on transaction code?

For the first case you can add a code in the calling routine of PRODUCE.DEAL.SLIP to change the format of deal slip based on transaction code.

For the second case, it's better you can define a different VERSION for that transaction type. Still if you want to do, then try to change R.VERSION record value for field deal slip format in a version routine. I haven't tested this, have to give a try ;-)

Please Log in or Create an account to join the conversation.

More
12 years 2 weeks ago - 12 years 2 weeks ago #10994 by durai611
Replied by durai611 on topic Re:Hi
Yes, it works.
Last edit: 12 years 2 weeks ago by durai611.
The following user(s) said Thank You: OPEL1

Please Log in or Create an account to join the conversation.

More
12 years 2 weeks ago #10996 by durai611
Replied by durai611 on topic Re:Hi
Instead of using F.READ use EB.READ.HISTORY.REC to read history record and populate R.NEW before calling PRODUCE.DEAL.SLIP.

Hope it will work ;-)
The following user(s) said Thank You: OPEL1

Please Log in or Create an account to join the conversation.

More
12 years 2 weeks ago #11013 by Gigiipse
Replied by Gigiipse on topic Re:Hi
Use 'F.TELLER$HIS'

Please Log in or Create an account to join the conversation.

More
12 years 2 weeks ago - 12 years 2 weeks ago #11015 by Gigiipse
Replied by Gigiipse on topic Re:Hi
You have the worng parameters in EB.READ.HISTORY.REC

The correct parameters are:

History file ('F.TELLER$HIS')
ID of record passed, History id returned (ID of the teller)
History record (a return var, I believe it's your R.REC)
Error variable (a retrun var, just give it something, I don't think it's mandatory, you can give it "")

I hope I'm not mistakeing, I'm not 100% sure of it.
Last edit: 12 years 2 weeks ago by Gigiipse.

Please Log in or Create an account to join the conversation.

  • jpb
  • jpb's Avatar
  • Offline
  • Moderator
  • Moderator
  • TAFj-R20 - 'unix'
More
12 years 2 weeks ago #11021 by jpb
Replied by jpb on topic Re:Hi
example:
HIS.ID = 'FT120011234'
FN.FT.HIS = 'F.FUNDS.TRANSFER$HIS'
F.FT.HIS = ''
CALL OPF(FN.FT.HIS,F.FT.HIS)
R.HIS = ''
YERROR = ''
CALL EB.READ.HISTORY.REC(F.FT.HIS,HIS.ID,R.HIS,YERROR)

HIS.ID will be returned with highest history number

Please Log in or Create an account to join the conversation.

  • jpb
  • jpb's Avatar
  • Offline
  • Moderator
  • Moderator
  • TAFj-R20 - 'unix'
More
12 years 1 week ago #11046 by jpb
Replied by jpb on topic Re:Hi
Small test to verify functionality, no problem to reprint . . .
PROGRAM TEST.DEAL.SLIP.REPRINT

    $INSERT I_COMMON
    $INSERT I_EQUATE
    $INSERT I_RC.COMMON
    $INSERT I_GTS.COMMON
    $INSERT I_F.TELLER

    CRT @(-1)
    INPUT TRANSACTION.ID

    ID.NEW = TRANSACTION.ID
    PGM.VERSION = ','
    APPLICATION = "TELLER"
    VER.ID = APPLICATION:","

    HIS.ID = ID.NEW
    FN.TT.HIS = 'F.TELLER$HIS'
    F.TT.HIS = ''
    CALL OPF(FN.TT.HIS,F.TT.HIS)
    R.HIS = ''
    YERROR = ''
    CALL EB.READ.HISTORY.REC(F.TT.HIS,HIS.ID,R.HIS,YERROR)

    MATPARSE R.NEW FROM R.HIS

    BEGIN CASE
    CASE R.HIS<TT.TE.TRANSACTION.CODE> = "XX"
        D.SLIP.ID = 'xxxxxxxxxxxxxxxx'
    CASE R.HIS<TT.TE.TRANSACTION.CODE> = "XX"
        D.SLIP.ID = 'xxxxxxxxxxxxxxxx'
    END CASE

    OFS$DEAL.SLIP.PRINTING = 1
    CALL PRODUCE.DEAL.SLIP(D.SLIP.ID)

    STOP
END
The following user(s) said Thank You: OPEL1

Please Log in or Create an account to join the conversation.

  • jpb
  • jpb's Avatar
  • Offline
  • Moderator
  • Moderator
  • TAFj-R20 - 'unix'
More
12 years 6 days ago #11136 by jpb
Replied by jpb on topic Re:Hi
Do you have $INSERT I_F.TELLER ??

Crosscheck spelling with the I_F in your GLOBUS.BP / T24.BP

Please Log in or Create an account to join the conversation.

  • jpb
  • jpb's Avatar
  • Offline
  • Moderator
  • Moderator
  • TAFj-R20 - 'unix'
More
12 years 1 day ago #11217 by jpb
Replied by jpb on topic Re:Hi
What is the intention of this line ?

Please Log in or Create an account to join the conversation.

More
12 years 14 hours ago #11222 by durai611
Replied by durai611 on topic Re:Hi
CASE TXN.CODE = "24"
D.SLIP.ID = 'XXXXXXXXX' ;* working fine

CASE TXN.CODE = "130"
D.SLIP.ID = 'xxxxxxxxxxxx' AND D.SLIP.ID = 'xxxxxxxxxx' ;*not working

In the second case what you are trying to do?

Do you want to generate two deal slips of different format for the same transaction code?

Then pass it as

D.SLIP.ID<1> = 'xxxxxxxxxxxx'
D.SLIP.ID<2> = 'xxxxxxxxxx'
The following user(s) said Thank You: OPEL1

Please Log in or Create an account to join the conversation.

More
8 years 9 months ago #17670 by vijaygubbi
Replied by vijaygubbi on topic deal slip reprint
Hi All,

Can any one suggest me. How to control poping up for (DEAL SLIP).

In my scenario i don't needed popup for generating deal slip.

Am generating deal slip through "PRODUCE.DEAL.SLIP". For this scenario am getting popup preview of deal slip.
I want to restrict this popup . Can any one help me out on this.

Please Log in or Create an account to join the conversation.

Time to create page: 0.173 seconds