Skip to main content

Hello,

We are migrating our internal tools from Uniface 9.7 to 10. Somes tools needs to access to TPLACTUAL value.

In migration doc is mentioned that TPLACTUAL and TPLACTUAL2 are replaced by container UDESCRIPTIONS and trigger are repalaced by USCRIPT.

How can we access to UDESCRIPTIONS or USCRIPT (they are not real fields in the repository but "container").

For  example after reading UFORM we have to search for a specific code for example "toto=10.5" in UDESCRIPTIONS) in order to display it or to change "toto=11.5".

So is there a solutions ?

Thanks for helping us 🙂

Hello,

We are migrating our internal tools from Uniface 9.7 to 10. Somes tools needs to access to TPLACTUAL value.

In migration doc is mentioned that TPLACTUAL and TPLACTUAL2 are replaced by container UDESCRIPTIONS and trigger are repalaced by USCRIPT.

How can we access to UDESCRIPTIONS or USCRIPT (they are not real fields in the repository but "container").

For  example after reading UFORM we have to search for a specific code for example "toto=10.5" in UDESCRIPTIONS) in order to display it or to change "toto=11.5".

So is there a solutions ?

Thanks for helping us 🙂

The field is called UDECLARATIONS.UFORM.


Hello,

We are migrating our internal tools from Uniface 9.7 to 10. Somes tools needs to access to TPLACTUAL value.

In migration doc is mentioned that TPLACTUAL and TPLACTUAL2 are replaced by container UDESCRIPTIONS and trigger are repalaced by USCRIPT.

How can we access to UDESCRIPTIONS or USCRIPT (they are not real fields in the repository but "container").

For  example after reading UFORM we have to search for a specific code for example "toto=10.5" in UDESCRIPTIONS) in order to display it or to change "toto=11.5".

So is there a solutions ?

Thanks for helping us 🙂

Hello Jonke,

It doesn't seem to work, I get compil warning :

and the application is hanging i will have to kill it.



Hello,

We are migrating our internal tools from Uniface 9.7 to 10. Somes tools needs to access to TPLACTUAL value.

In migration doc is mentioned that TPLACTUAL and TPLACTUAL2 are replaced by container UDESCRIPTIONS and trigger are repalaced by USCRIPT.

How can we access to UDESCRIPTIONS or USCRIPT (they are not real fields in the repository but "container").

For  example after reading UFORM we have to search for a specific code for example "toto=10.5" in UDESCRIPTIONS) in order to display it or to change "toto=11.5".

So is there a solutions ?

Thanks for helping us 🙂

Hello Pascal,


in your Repository (DBMS) in table "UFORM" you should see something like this.


Have you imported the new umeta.xml? Or are you still using the Uniface 9 dict definition?



Hello Pascal,


in your Repository (DBMS) in table "UFORM" you should see something like this.


Have you imported the new umeta.xml? Or are you still using the Uniface 9 dict definition?


Hello Tobias,

Yes have imported the new umeta.xml at the begining of our U10 installation

In Toad i had to add manually the field UCOMMENTS in the data display as it was not automatically displayed...Don't know why, with Oracle SQL Developer this field was displayed.

In the Comment field we have sommething like that :



Hello Pascal,


in your Repository (DBMS) in table "UFORM" you should see something like this.


Have you imported the new umeta.xml? Or are you still using the Uniface 9 dict definition?


Hello Pascal,


you don't have to add the "UCOMMENT" field manually.


Inside your Database the UCOMMENT column is used by Uniface as XML-Container which contains other fields. like UDECLARATIONS, USCRIPT and so on. 


Your DICT definition inside the IDE should have this fields already created, there is no need to manually edit this! 


Could you try to remove the UFORM entity from your component and add it once again. After that try to compile the component one more time. 




Hello Pascal,


in your Repository (DBMS) in table "UFORM" you should see something like this.


Have you imported the new umeta.xml? Or are you still using the Uniface 9 dict definition?


Hello Tobias (I have added UCOMMENTS in the data display view script not in the table 🙂)

There is no UFORM.DICT we have UFROM.DICT_CHANGED and UFORM.MODEL

More over when displaying field from thos 2 entities there is UCOMMENT but no UDESCRIPTIONS or USCRIPT :

 

Why do we not have UFORM.DICT like in your printscreen example ?


Hello Pascal,


in your Repository (DBMS) in table "UFORM" you should see something like this.


Have you imported the new umeta.xml? Or are you still using the Uniface 9 dict definition?


Ok seems your Model for the repository is wrong. 

Maybe UFROM.DICT_CHANGED and UFORM.MODEL comes from your old repository?

Please import the Uniface 10 umeta.xml from the Uniface 10 directory \\uniface\\misc\\umeta.xml.

All Repository tables should have the model "DICT".


Hello Pascal,


in your Repository (DBMS) in table "UFORM" you should see something like this.


Have you imported the new umeta.xml? Or are you still using the Uniface 9 dict definition?


After reimporting  UMETA.xml I get UFORM.DICT with UDESCRIPTPION and USCRIPT.

Thanks Tobias !