Do not fill column Value on temporary table?

41 views
Skip to first unread message

Nicolas Micoud

unread,
Aug 14, 2025, 10:29:01 AMAug 14
to iDempiere
Hi,

I have some reports which are based on java classes (which search data and make inserts using model classes in a temporary table (its name starts with T_) ).
The table has a Value column.

Most of the process are filling it, but one is not.

But, when looking in the table, I see the column if filled anyway.
And I'm not sure if it's a bug or a feature :)

Checking code, PO.saveNew() is excluding M_AttributeInstance and AD_TableAttribute from populating the Value column (see line 3545).
So wondering if temporary tables should not also be excluded.

Something like :

2025-08-14 16_28_13-idempiere_nmd_contrib_trunk - org.adempiere.base_src_org_compiere_model_PO.java .png

wdyt?

I think DocumentNo should behave the same

Thanks,

Nicolas

nb: a workaround would be to force populating the columns by the process

Carlos Antonio Ruiz Gómez

unread,
Aug 14, 2025, 10:54:32 AMAug 14
to iDempiere
I would think is Ok to exclude T_ tables

And as you're doing that another table that must not auto fill Value is the AD_SysConfig

Regards, 

Carlos Ruiz

--
You received this message because you are subscribed to the Google Groups "iDempiere" group.
To unsubscribe from this group and stop receiving emails from it, send an email to idempiere+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/idempiere/81fd1b50-0285-44bf-8011-d8b0c5b14442n%40googlegroups.com.

Nicolas Micoud

unread,
Aug 25, 2025, 8:14:35 AM (12 days ago) Aug 25
to iDempiere
Reply all
Reply to author
Forward
0 new messages