Function for Time & Expense Entry

I have created a function to create a new time & expense entry, the function works but leaves the new record as ‘Entered’, we are set up for auto-approvals, am I missing something at the end to complete the approval (trace log shows Submit for approval as the last BO)

Assuming this is a Pre-Processing directive? I’m wondering if you did you record creation in Pre-Processing and then enable a Post-Processing to set it to approved?

Hi David,

It’s a function I am creating in Kinetic so that I can use it externally rather than a directive

Are you setting RowMod on the new row to “U” after you call Labor Update? I believe you need to set the RowMod again after the update so that SubmitForApproval knows which row to submit.

1 Like

Ahh no, I will try that thank you