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

Application creation failed

  • artur50000
  • Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 5 months ago #22550 by artur50000
Application creation failed was created by artur50000
Hi, everyone. I tried to create application in design studio using template. I created main subroutine, then subroutine with fields. Then I registered my app through EB.DEV.HELPER. But when I tried to see my app in T24 typing its name in command line and entering new name for a record I have got only blank page. What I did wrong?

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

  • VK
  • VK's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Globus:G9-G13|TAFC:R05-R23|TAFJ:R19,R23,R24:test
More
5 years 5 months ago #22553 by VK
Replied by VK on topic Application creation failed
Hi

are you under TAFC or TAFJ?

some screenshots would help as well.

Cheers
VK

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
5 years 5 months ago #22556 by silvergem
Replied by silvergem on topic Application creation failed
you can also look on creating using the applicaiton eb.table.definition and eb.table.procedures

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

  • VK
  • VK's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Globus:G9-G13|TAFC:R05-R23|TAFJ:R19,R23,R24:test
More
5 years 5 months ago #22564 by VK
Replied by VK on topic Application creation failed
Hi

> main subroutine,

Post the contents of ".FIELDS" routine here, I have one idea...

Cheers
VK

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

  • artur50000
  • Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 5 months ago #22578 by artur50000
Replied by artur50000 on topic Application creation failed
I m working in TAFJ
.
$PACKAGE XX.LOCAL1
$INSERT I_COMMON
$INSERT I_EQUATE
$INSERT I_Table
* </region>
*
Table.name = 'EB.INSURANCE' ;* Full application name including product prefix
Table.title = 'EB INSURANCE' ;* Screen title
Table.stereotype = 'H' ;* H, U, L, W or T
Table.product = 'EB' ;* Must be on EB.PRODUCT
Table.subProduct = '' ;* Must be on EB.SUB.PRODUCT
Table.classification = 'FIN' ;* As per FILE.CONTROL
Table.systemClearFile = 'Y' ;* As per FILE.CONTROL
Table.relatedFiles = '' ;* As per FILE.CONTROL
Table.isPostClosingFile = '' ;* As per FILE.CONTROL
Table.equatePrefix = 'EB.IN' ;* Use to create I_F.EB.LOG.PARAMETER
*
Table.idPrefix = 'IN' ;* Used by EB.FORMAT.ID if set
Table.blockedFunctions = '' ;* Space delimeted list of blocked functions
Table.trigger = '' ;* Trigger field used for OPERATION style fields
*

RETURN
END

SUBROUTINE EB.INSURANCE.FIELDS
*
*<doc>
* Template for field definitions routine EB.INSURANCE.FIELDS
*
* @author This email address is being protected from spambots. You need JavaScript enabled to view it.
* @stereotype fields template
* @uses Table
* @public Table Creation
* @package infra.eb
* </doc>
*
* Modification History :
*
* 19/10/07 - EN_10003543
* New Template changes
*
* 14/11/07 - BG_100015736
* Exclude routines that are not released
*
*** <region name= Header>
*** <desc>Inserts and control logic</desc>
$PACKAGE XX.LOCAL1
$INSERT I_COMMON
$INSERT I_EQUATE
$INSERT I_DataTypes
*** </region>
*
CALL Table.defineId("INSURANCE.ID", T24_String) ;* Define Table id
*
CALL Table.addField('XX.LL.SHORT.DES', T24_String, '', '') ;* Add a new fields
CALL Table.addField('CUSTOMER.ID', T24_String, '', '')

CALL Field.setCheckFile('CUSTOMER') ;* Use DEFAULT.ENRICH from SS or just field 1

CALL Table.addField('TERM', T24_String, '', '')
CALL Field.setDefault(10)

CALL Table.addField('INSURED.AMT', T24_String, '', '')
CALL Table.addField('XX.BEN.NAME', T24_String, '', '')
CALL Table.addField('XX-XX<BEN.BEN.ADDRESS', T24_String, '', '')
CALL Table.addField('XX-XX>BEN.PHONE', T24_String, '', '')



*
CALL Table.setAuditPosition ;* Poputale audit information
*
RETURN
*
END

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

  • VK
  • VK's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Globus:G9-G13|TAFC:R05-R23|TAFJ:R19,R23,R24:test
More
5 years 5 months ago #22580 by VK
Replied by VK on topic Application creation failed
Hi
try to amend field 'XX.BEN.NAME' to 'XX<BEN.NAME'. You are trying to open an association from level 2 in the next line but it looks wrong.

Cheers
VK

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

  • artur50000
  • Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 5 months ago #22582 by artur50000
Replied by artur50000 on topic Application creation failed
I did as you advised but nothing changed

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

  • VK
  • VK's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Globus:G9-G13|TAFC:R05-R23|TAFJ:R19,R23,R24:test
More
5 years 5 months ago #22585 by VK
Replied by VK on topic Application creation failed
Hi
Hopefully recompiled the source? :))

Try to input some record using JED (or whatever is there in TAFJ) and then open it in the front end.. Will you see anything?

Also, what exactly you mean under "empty screen"? Totally empty, without even field names?

Cheers
VK

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

  • artur50000
  • Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 5 months ago #22588 by artur50000
Replied by artur50000 on topic Application creation failed
there are no any fields.
Besides, there was the following error in jboss:
ERROR [stderr] (Thread-2 (ActiveMQ-client-global-threads)) Cannot find 'EB.INSURANCE' (class : 'com.temenos.t24_cl)
.
Perhaps, there are no any records in database?

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

  • VK
  • VK's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Globus:G9-G13|TAFC:R05-R23|TAFJ:R19,R23,R24:test
More
5 years 5 months ago #22590 by VK
Replied by VK on topic Application creation failed
Hi
if your class file is not found - something is wrong in TAFJ setup. Ask Temenos support about that.

Also, I would not recommend to use table name EB.something in local developments - you can easily clash with a core one - now on after an upgrade...

Cheers
VK

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

  • VK
  • VK's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Globus:G9-G13|TAFC:R05-R23|TAFJ:R19,R23,R24:test
More
5 years 5 months ago #22594 by VK
Replied by VK on topic Application creation failed
I'm not very strong in TAFJ but I believe the first thing to check is CLASSPATH environment variable.

Cheers
VK

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

  • artur50000
  • Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 5 months ago #22601 by artur50000
Replied by artur50000 on topic Application creation failed
Hi, all!
thank you for attention.
Problem was in the lack of link to jar file with methods of my routine. I pointed to it in JBOSS xml T24 module file, restarted JBOSS and it worked.

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

More
5 years 5 months ago #22604 by kripesh
Replied by kripesh on topic Application creation failed
For which Release of T24 is it ? The full code has to be changed differently for releases like R18 and R19.

Have a great day !

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

More
5 years 5 months ago #22605 by kripesh
Replied by kripesh on topic Application creation failed
All your $INSERT has to be removed and has to be changed to $USING
$USING EB.SystemTables
$USING EB.API
$USING EB.Template
$USING EB.DataAccess

Something like the one shown above should be part of your Template Programming.

Have a great day !

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

More
5 years 5 months ago #22606 by kripesh
Replied by kripesh on topic Application creation failed
You should be having code something like this for example in your Template

EB.Template.TableAddfield("DESCRIPTION", EB.Template.T24String, "", "")
EB.Template.TableAddfield("XX<ACCOUNT.TYPE", EB.Template.T24String, "", "")
EB.Template.TableAddfield("XX>PRODUCT.NAME", EB.Template.T24String, "", "")
EB.Template.TableAddfield("RESERVED.5", EB.Template.T24String, EB.Template.FieldNoInput,"")
EB.Template.TableAddfield("RESERVED.4", EB.Template.T24String, EB.Template.FieldNoInput,"")
EB.Template.TableAddfield("RESERVED.3", EB.Template.T24String, EB.Template.FieldNoInput,"")
EB.Template.TableAddfield("RESERVED.2", EB.Template.T24String, EB.Template.FieldNoInput,"")
EB.Template.TableAddfield("RESERVED.1", EB.Template.T24String, EB.Template.FieldNoInput,"")
EB.Template.TableSetauditposition()

Regards,
Kripesh

Have a great day !

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

  • artur50000
  • Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 4 months ago #22661 by artur50000
Replied by artur50000 on topic Application creation failed
Thank you for your answer! Do you have any documentation on new rules of coding for T24? Perhaps you have docs how to code in java for T24?

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

Time to create page: 0.050 seconds