× 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...

Java Programming

  • pblnkalyan
  • Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 10 months ago #22799 by pblnkalyan
Java Programming was created by pblnkalyan
How do we use the class files under the package "com.temenos.t24" ?

I can see there are some core function like below available under this package:
Cdd
Cdt
StoreEndError
etc...

i tried to use them, but under each class file there are a number of functions. it is difficult to identify the correct function that we use under infobasic.

Wold be helpful if someone could provide any documentation if available.

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

More
4 years 8 months ago #23000 by gmaroko
Replied by gmaroko on topic Java Programming
Hi
Is CALLJ what you're looking for?

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

More
4 years 5 months ago #23144 by zouzou
Replied by zouzou on topic Java Programming
hi
i am using java progamming and i ama trying to set a default value in a application field using validateRecord() method ;
i'm using .setvalue() and .setMnemonic("ABCD") my example is on mnemonic field but not working , Mnemonic field not changing

@Override
public TValidationResponse validateRecord(String application, String currentRecordId, TStructure currentRecord,
TStructure unauthorisedRecord, TStructure liveRecord, TransactionContext transactionContext) {

AccountRecord acc=new AccountRecord(currentRecord);
//NOT WORKING
TField f1=acc.getMnemonic();
f1.setValue("ABC");

transactionContext.toStructure();
}

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

More
4 years 5 months ago #23145 by zouzou
Replied by zouzou on topic Java Programming
any idea about my problem?

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

  • silvergem
  • silvergem's Avatar
  • Offline
  • Elite Member
  • Elite Member
  • TAFC|R12/R13, TAFJ|R20
More
4 years 5 months ago #23146 by silvergem
Replied by silvergem on topic Java Programming
What release of t24 u have?

Also there is a java documentation posted on TCSP site

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

More
4 years 5 months ago #23147 by zouzou
Replied by zouzou on topic Java Programming
R20 and can you send url please?

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

More
4 years 5 months ago #23148 by zouzou
Replied by zouzou on topic Java Programming
R20 and can you send url please?

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

More
4 years 5 months ago #23149 by zouzou
Replied by zouzou on topic Java Programming
R20 and can you send url please?

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

More
4 years 5 months ago #23151 by zouzou
Replied by zouzou on topic Java Programming
do you have any idea about this problem? any solution any method

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

  • silvergem
  • silvergem's Avatar
  • Offline
  • Elite Member
  • Elite Member
  • TAFC|R12/R13, TAFJ|R20
More
4 years 5 months ago #23152 by silvergem
The following user(s) said Thank You: zouzou

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

  • silvergem
  • silvergem's Avatar
  • Offline
  • Elite Member
  • Elite Member
  • TAFC|R12/R13, TAFJ|R20
More
4 years 5 months ago #23153 by silvergem
Replied by silvergem on topic Java Programming
I'm not familiar on Java API of temenos on T24 since our release was only R12, JAVA API is only limited and normally we need to call this via jbase sung a function. On R20 you can use entirely call the java class by declaring on EB.API Application.
You may refer to T24 Documentation posted on TCSP Site for more info

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

More
4 years 5 months ago #23154 by zouzou
Replied by zouzou on topic Java Programming
i can not access this site i need to be a user any other references?

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

  • silvergem
  • silvergem's Avatar
  • Offline
  • Elite Member
  • Elite Member
  • TAFC|R12/R13, TAFJ|R20
More
4 years 5 months ago #23155 by silvergem
Replied by silvergem on topic Java Programming
The site is exclusive for Temenos Partners and Customers (Bank) only. You should request your access on your superior

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

More
4 years 5 months ago #23156 by zouzou
Replied by zouzou on topic Java Programming
okay thank you.
if you know someone can help please tell me!

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

  • silvergem
  • silvergem's Avatar
  • Offline
  • Elite Member
  • Elite Member
  • TAFC|R12/R13, TAFJ|R20
More
4 years 5 months ago #23157 by silvergem
Replied by silvergem on topic Java Programming
Did you restart the jboss/weblogic after you update the code?

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

More
4 years 5 months ago #23158 by zouzou
Replied by zouzou on topic Java Programming
yes every time i restart my jboss when i set a new update.
in fact my setvalue() method is working but she is not returning value to mnemonic field .

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

  • silvergem
  • silvergem's Avatar
  • Offline
  • Elite Member
  • Elite Member
  • TAFC|R12/R13, TAFJ|R20
More
4 years 5 months ago - 4 years 5 months ago #23159 by silvergem
Replied by silvergem on topic Java Programming
public void defaultFieldValues(String application, String recordId,
TStructure record, TStructure lastLiveRecord) {
FundsTransferRecord ft = new
FundsTransferRecord(record);
Session session = new
Session(this);
if
(session.getUserDispoOffice
r().compareTo("") == 0) {
throw new
T24CoreException("","EBDOFF.REQUIRED");
} else {
if (ft.getTransactionType().getValue() == "") {
ft.setTransactionType("AC");
}
if (ft.getDebitCurrency().getValue() == "") {
TField localCurrency =
session.getCompanyRecord().getLocalCurrency();
ft.setDebitCurrency(localCurrency.getValue());
}
record.set(ft.toStructure());
}
}

Based on the documentation there different way to set the value similar to R.NEW on TAFC/Jbase.
try to use
f1.("ABC")
or
acc.setMnemonic(ABC"))
Last edit: 4 years 5 months ago by silvergem.

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

More
4 years 5 months ago #23160 by zouzou
Replied by zouzou on topic Java Programming
okay i will try all the ways .
my main problem is that setvalue works using defaultFieldValues method like the one you sent this method work on check rec routine
but i'm trying to set values in a input routine using validateRecord method and setvalue() is not working in this type of method

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

  • silvergem
  • silvergem's Avatar
  • Offline
  • Elite Member
  • Elite Member
  • TAFC|R12/R13, TAFJ|R20
More
4 years 5 months ago #23161 by silvergem
Replied by silvergem on topic Java Programming
There is no setvalues in the sample code provided by temenos. Normally you set values on Validation routine and you set error/override on Input routine, try to move this to validation class. I have similar problem on teller application related to defaulting the exchange rate value which only works on validation routine only

Also validation only works when there is hot field/hot validate or you click the validate button.

ON user guide, he use defaultFieldValues class to set value not on TValidationResponse class

You can check the full user guide here
The following user(s) said Thank You: zouzou

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

More
4 years 5 months ago #23162 by zouzou
Replied by zouzou on topic Java Programming
very helpful document thank you! i will try all different method
how can i keep in touch with you ?

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

Time to create page: 0.064 seconds