Welcome!

This community is for professionals and enthusiasts of the Genio platform.
Share your questions and challenges, and help your partners!

1

2
Maksym Hrytsko
Activé 21/11/2019 12:23

If it's just about customizing the value of a specific column in the list, you can use manwin 'CUSTOM_COLUMN'

Exemple:




1
Tiago Xavier
Activé 21/11/2019 12:28

This default in numeric fields are defined on constraints in your SGBD (eg. SQL Server).

The default constraint will put 0 on database, without that will be save with "NULL".


So for do that you will need to remove the constraint or redefine that with the value that you need.

Note: Always when you rebuilding the database schema or install a new version of your software the constraint will be rebuilt and you will have to remove that.




0
João Custódio
Activé 21/11/2019 15:45

Hey Maksym, 

I used your code but never changed. Did I make something wrong?


  • Signaler

You are missing the parameters, in Maksym's example the parameter is: MENU_341_ARTIG_EXISTENC.

Your's can be different though, you need to check in the source file what's correct parameter.

António M.
le 21/11/2019 16:00

In addition to missing the parameter.

You don't need to put '// USE /[MANUAL ...]/' in manwin's body. But if you want to, is missing a line break before 'column.Expression ...' otherwise all code will be commented.

Maksym Hrytsko
le 21/11/2019 16:26

And change please the 'p.ValExistenc' to your field 'p.ValPrazo'.

Maksym Hrytsko
le 21/11/2019 16:52

Keep Informed

About the Community

This platform is for beginners and experts willing to share their Genio knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers. Read Guidelines

Question tools

14 follower(s)

Stats

Asked: 21/11/2019 11:52
Seen: 1916 times
Last updated: 29/11/2019 12:10