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
On 11/21/19, 12:23 PM

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
On 11/21/19, 12:28 PM

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
On 11/21/19, 3:45 PM

Hey Maksym, 

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


  • Flag

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.
on 11/21/19, 4:00 PM

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
on 11/21/19, 4:26 PM

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

Maksym Hrytsko
on 11/21/19, 4:52 PM

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: 11/21/19, 11:52 AM
Seen: 1602 times
Last updated: 11/29/19, 12:10 PM