×
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
-
Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 134
- Thank you received: 1
7 years 6 months ago #21572
by richard
Best Regards,
Think green – keep this on the screen
Enquiry customisation was created by richard
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
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
Please Log in or Create an account to join the conversation.
- VK
-
- Offline
- Platinum Member
-
- Globus:G9-G13|TAFC:R05-R23|TAFJ:R19,R23,R24:test
Less
More
- Posts: 1209
- Thank you received: 158
7 years 6 months ago #21575
by VK
Cheers
VK
Replied by VK on 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:
But IMO sometimes a developer should answer "no, use the standard interface"...
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
Please Log in or Create an account to join the conversation.
- 6922
- Offline
- New Member
-
Less
More
- Posts: 3
- Thank you received: 0
7 years 6 months ago #21580
by 6922
Replied by 6922 on 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
Please Log in or Create an account to join the conversation.
- ghulamraza
- Offline
- New Member
-
Less
More
- Posts: 3
- Thank you received: 0
7 years 2 months ago #21720
by ghulamraza
Replied by ghulamraza on 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
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
Please Log in or Create an account to join the conversation.
- VK
-
- Offline
- Platinum Member
-
- Globus:G9-G13|TAFC:R05-R23|TAFJ:R19,R23,R24:test
Less
More
- Posts: 1209
- Thank you received: 158
7 years 2 months ago #21721
by VK
Cheers
VK
Replied by VK on 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:
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
Please Log in or Create an account to join the conversation.
- ghulamraza
- Offline
- New Member
-
Less
More
- Posts: 3
- Thank you received: 0
7 years 2 months ago #21727
by ghulamraza
Replied by ghulamraza on 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
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
Please Log in or Create an account to join the conversation.
Time to create page: 0.031 seconds