Skip to main content
Question

Custom Field Default value stopped populating for new records

  • Jun 16, 2022 1:40 PM UTC
  • 13 replies
  • 597 views

Forum|alt.badge.img+12

My Default value for my custom field (check box) has stopped populating for new records.

My custom field:

  • Persistent
  • Boolean Value
    • Enum (TRUE or FALSE boolean)
  • I set the Default Value to FALSE 

For every new record that was created, my custom field had the check box default to FALSE, but it just recently it stopped working.


Anybody having the same issue? We did not do any major updates or changes to to the environment or the custom field. 

13 replies

Charith Epitawatta
Ultimate Hero (Employee)
Forum|alt.badge.img+31

Hi @jamie.malangyaon,

Did you make any changes to the custom field or the Logical Unit recently? Please see if the LU shows as synchronized. You can also try unpublishing and the republishing the LU to see if that make any difference. Synchronizing/republishing will refresh the Custom Objects cache as well. 

Hope this helps!


Forum|alt.badge.img+12

@Charith Epitawatta the LUs are synced and I recently created another custom field check box with a FALSE default but when I get users to test, it still defaults to NULL. I had to create an event that triggers when a new BO has been created and if the custom check box is null, set it to FALSE. The event works but I would imagine it will be a hassle to keep creating these events.


Forum|alt.badge.img+4
  • Do Gooder (Partner)
  • Sep 26, 2023 6:32 AM UTC

@Charith Epitawatta @jamie.malangyaon I experienced a similar issue with CF’s set to default FALSE but the values are set to NULL for new records. Is this a reported bug by any chance? I’m working in a apps10 UPD 16 environment. 

 

The CF has been created in 2021 

 

But the customer orders I mentioned are created recently.

 

 

Regards,

/Heshan


HSELEWU
Sidekick (Customer)
  • Sidekick (Customer)
  • Nov 15, 2023 12:20 PM UTC

Hi all!

We also have the same issue.
Does anybody already have a solution?

Regards

Lena


Forum|alt.badge.img+11
  • Hero (Customer)
  • Nov 16, 2023 9:31 AM UTC

Hello, what’s the non db field value?


hhy38
Superhero (Customer)
Forum|alt.badge.img+16
  • Superhero (Customer)
  • Nov 16, 2023 1:17 PM UTC

Hi @jamie.malangyaon 

 

Records which is before Custom Field are going to be Null. It is very normal. To fix this problem you can write a simple script for null records.


HSELEWU
Sidekick (Customer)
  • Sidekick (Customer)
  • Nov 17, 2023 9:03 AM UTC

Hi @jamie.malangyaon 

 

Records which is before Custom Field are going to be Null. It is very normal. To fix this problem you can write a simple script for null records.

Hi @hhy38,

 

the issue appears when we create a new record, although the standard is set False.

regards,

Lena


Forum|alt.badge.img+4
  • Do Gooder (Partner)
  • Oct 28, 2024 12:09 PM UTC

Hi,

Unfortunately In IEE the default values are only fetched if the record is manually created in the client by pressing + or F5. Make sure to create a custom event to insert default values to custom fields.


Forum|alt.badge.img+5
  • Sidekick (Partner)
  • Apr 17, 2025 3:10 AM UTC

Hi,

Unfortunately In IEE the default values are only fetched if the record is manually created in the client by pressing + or F5. Make sure to create a custom event to insert default values to custom fields.

Hello ​@Vinoy Heshan 
Quick question.
If the field is not added by the user (Custom Field) the value is not getting updated in IEE.
Is this the normal behavior?
Thanks.
Aravinda


Forum|alt.badge.img+4
  • Do Gooder (Partner)
  • Apr 17, 2025 4:17 AM UTC

Hi ​@AravindaD,

Assuming you are trying to update the field using an event, No it is not normal behavior. The field should be updated regardless if the user has added to IEE or not. 

/Heshan


Forum|alt.badge.img+5
  • Sidekick (Partner)
  • Apr 17, 2025 4:21 AM UTC

Hi ​@Vinoy Heshan 
Thanks for the reply.
I am trying to identify lines added from the IEE.
Therefore, I am not using any event.
I am looking for a way to identify when a new line is added from a specific screen, regardless of whether the user has added the related custom field to their view or not.

Regards.
Aravinda


Forum|alt.badge.img+4
  • Do Gooder (Partner)
  • Apr 17, 2025 4:38 AM UTC

​@AravindaD as mentioned in the thread, there is some bug with CF default values, so I dont recommend you to depend on CF default values for a solution. You can write a simple custom event to update a CF when a new record is created. That is more of a concrete solution.

 


Forum|alt.badge.img+5
  • Sidekick (Partner)
  • Apr 17, 2025 4:44 AM UTC

Thanks ​@Vinoy Heshan,
I will look into the possible other options.
Appreciate your reply.
Regards.
Aravinda