# Populating a field in a Kinetic app

**URL:** <https://www.epiusers.help/t/populating-a-field-in-a-kinetic-app/89541>\
**Category:** Kinetic ERP\
**Tags:** customization\
**Created:** [April 18, 2022, 4:33pm UTC](https://www.epiusers.help/t/populating-a-field-in-a-kinetic-app/89541 "2022-04-18T16:33:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![TyrusRechs](https://www.epiusers.help/user_avatar/www.epiusers.help/tyrusrechs/32/36258_2.png) [@TyrusRechs](https://www.epiusers.help/u/TyrusRechs)\
**Post date:** [April 18, 2022, 4:33pm UTC](https://www.epiusers.help/t/populating-a-field-in-a-kinetic-app/89541/1 "2022-04-18T16:33:39Z")

</div>

So I’m using an auto code function to create new part numbers. When you click one of these buttons, the event creates a new part number for you and it works great.

 ![image](https://www.epiusers.help/uploads/default/original/3X/9/f/9fe8d4275663e5f0e5c5a313c7fcc4b75bd55478.png)

The only thing I can’t figure out how to do is fill the PartNum field with that generated part number. The box stays empty until you hit save, which makes perfect sense because you don’t type anything in there. You can see what part number you’re going to get in the header, but I can see that box staying empty until you hit save getting confusing for users.

 ![image](https://www.epiusers.help/uploads/default/original/3X/7/2/724c048535ae54d5121be9f2e670411730e052bf.png)

Anyone have any guidance or ideas? I’m stumped. And I’m also not good at app studio at all so if you have a suggestion, please explain it like you’re speaking to a child 😊

---

<div class="post-metadata">

**Author:** ![hmwillett](https://www.epiusers.help/user_avatar/www.epiusers.help/hmwillett/32/93207_2.png) [@hmwillett](https://www.epiusers.help/u/hmwillett)\
**Post date:** [April 18, 2022, 4:42pm UTC](https://www.epiusers.help/t/populating-a-field-in-a-kinetic-app/89541/2 "2022-04-18T16:42:10Z")

</div>

To populate the field, you would just need to use the **row-update** widget to populate KeyFields.PartNum.

 ![image](https://www.epiusers.help/uploads/default/original/3X/5/8/58e49ae15a64fb5e65e2fa10c658ef7e52036396.png)

Depending on where you saved your function return result, your value you may look something like this:

```auto
"{actionResult.FunctionReturnColName}"

```

---

<div class="post-metadata">

**Author:** ![TyrusRechs](https://www.epiusers.help/user_avatar/www.epiusers.help/tyrusrechs/32/36258_2.png) [@TyrusRechs](https://www.epiusers.help/u/TyrusRechs)\
**Post date:** [April 18, 2022, 4:50pm UTC](https://www.epiusers.help/t/populating-a-field-in-a-kinetic-app/89541/3 "2022-04-18T16:50:09Z")

</div>

Damn, Hannah. You are ridiculously good at this stuff. Thank you so much!!  
It works perfectly now 🙂  
 ![image](https://www.epiusers.help/uploads/default/original/3X/4/8/48e792c6e35a820005d2f8eb832c1a694bcf6054.png)

---

<div class="post-metadata">

**Author:** ![hmwillett](https://www.epiusers.help/user_avatar/www.epiusers.help/hmwillett/32/93207_2.png) [@hmwillett](https://www.epiusers.help/u/hmwillett)\
**Post date:** [April 18, 2022, 4:50pm UTC](https://www.epiusers.help/t/populating-a-field-in-a-kinetic-app/89541/4 "2022-04-18T16:50:30Z")

</div>

I suffer so others may prosper. 🤣
