× Discuss on Template programming, jBASE programming, Enquiries, No-File enquiry, Enquiry routines, Version, Version routines, Menus, Abbriviations, Creating local reference fields, Fast path enquiries, Creating charts and graphs, Generating Reports, Deal slips, Straight through processing, Multi Company and Multi Book setup, Tabbed screens, Composite Screens, T24 API, etc...

Enquiry customisation

  • richard
  • richard's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 130
  • Karma: 1
  • Thank you received: 1

richard created the topic: Enquiry customisation

Hi All,

I have a requirement to launch enquiry with few details of BIC & Beneficairy

I am providing a dropdown with list of countries on first screen (a kind of version)
When user selects a specific country from the list I need to provide a list of Selection fields around 6 fields for the enquiry(Base file DE.BIC)
In which one among the selection field is COUNTRY which has to be defaulted from the first screen user selected.
How can we do this?

Based on the selection of Country I need to change one selection field lable from IBAN to IFSC can we do this, if so how?

Thanks in advance

Awaiting reply

Best Regards,

Think green – keep this on the screen
#21572

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

  • VK
  • VK's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • R13|TAFC|jBASE|windoze
  • Posts: 573
  • Thank you received: 85

VK replied the topic: Enquiry customisation

Hi
2 steps of selection isn't a regular thing for T24. Is it absolutely mandatory to do it? If yes, I afraid you'll have to create a local "W" application where user selection would be arranged inside application record. Upon commit you'll have to do something like:
dyn_array<1> = 'USER'
dyn_array<2,1> = 'USER.NAME'
dyn_array<3,1> = 'LK'
dyn_array<4,1,1> = 'C...'
CALL ENQUIRY.DISPLAY(dyn_array)

But IMO sometimes a developer should answer "no, use the standard interface"...

Cheers
VK
#21575

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

  • Posts: 3
  • Thank you received: 0

6922 replied the topic: Enquiry customisation

Set the current variable in the first version and use the same in the second enquiry fixed selection. For the label you can use / option
#21580

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

  • Posts: 2
  • Thank you received: 0

ghulamraza replied the topic: Enquiry customisation

Hi

Using CALL ENQUIRY.DISPLAY P function in attached subroutine where i am running ENQ MG.FUTURE.BALANCES by giving multiple MGs to save its bulk output.

Routine currently saving its output in TXT format in &HOLD.CONTROL& with system generated ID and Report Banner. From where it is very difficult to locate my generated MG Schedule Reports along with other reports.

How can i:

1- Save in PDF format
2- At location other than &HOLD.CONTROL&
3- Exclude Report Banner from output result
4- Report generated IDs of my choice like MG ID.

Regards

SUBROUTINE PK.M.CREATE.ENQ.RSULT.FILE

$INSERT I_COMMON
$INSERT I_EQUATE
$INSERT I_ENQUIRY.COMMON


Y.SELECTION = ''
Y.SELECTION<-1> = 'MG1705900023'
Y.SELECTION<-1> = 'MG1705900024'

Y.TOTAL.SELECTION = DCOUNT(Y.SELECTION,@FM)

FOR I = 1 TO Y.TOTAL.SELECTION

Y.SLC = Y.SELECTION<I>
dyn_array = ''
dyn_array<1> = 'PK.E.MG.FUTURE.BULK' ;* Enquiry Name
dyn_array<2,1> = '@ID' ;* Enquiry Selection Field
dyn_array<3,1> = 'EQ' ;* Enquiry Operand
dyn_array<4,1,1> = Y.SLC ;* Enquiry Data
dyn_array<10> = 'P' ;* Enquiry Display Mode


CALL ENQUIRY.DISPLAY(dyn_array)

NEXT I

RETURN
END
#21720

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

  • VK
  • VK's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • R13|TAFC|jBASE|windoze
  • Posts: 573
  • Thank you received: 85

VK replied the topic: Enquiry customisation

Hi
Firstly, in HOLD.CONTROL app you have report information and the report itself is created in &HOLD& subfolder of bnk.data/eb.

For your question - you can created a special PRINTER.ID record where an external program can be launched (converting text to pdf etc). You can pass report ID to this program like:
     PRINTER.NAME...... SAVE.TO.PDF
 ------------------------------------------------------------------------------
   1 PRIME.PRINTER.ID.. HOLD
   2 DESCRIPTION....... Saving output
   3 PRINTER.TYPE......
   4. 1. 1 COMMAND..... My.PROGRAM &HOLD.CONTROL>@ID&
   5 RESERVE1..........
   6 RESERVE2..........
...

Cheers
VK
#21721

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

  • Posts: 2
  • Thank you received: 0

ghulamraza replied the topic: Enquiry customisation

Thanks VK...

Can any body help me out in providing required program (generating PDF output file) to attach with PRINTER.ID Command field.

Will SAVE.PDF program work??

Prime Printer Id HOLD
Description Saving PDF Output
Command.1.1 SAVE.PDF &HOLD.CONTROL>@ID&
Curr No 1
#21727

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

Time to create page: 0.247 seconds