I need to copy the contents of (ExperienceDate1) field to (NewExperienceDate) field if the WorkAssignment value equals 1.
Where/how do I go about doing that? Thank you
BusinessClass: WorkAssignment Form: WorkAssignmentDetail
This bit of LPL would do it.
if (WorkAssignment = 1) NewExperienceDate = ExperienceDate1
You could put that in the entrance or exit rules of an action configuration for the respective create/update actions. Or as a new instance action (or set action) that you write & then run periodically as needed.
Or on the form itself, you could first use config console to define a condition that returns true when WorkAssignment=1 and then add a "when value changed" to ExperienceDate1 and assign NewExperienceDate = ExperienceDate1 when that new condition is true.
(See page 84 of the current [April 2025] LPL guide.)
Thank you the reply and suggestion , I have looked into the Create/Update actions. I just did not see anything related to the WorkAssignmentDetail form …but will take a deeper look.
Thank you , a few options to look into.
Cleverly, per your suggestion, I've tried a User Action with Entrance rules and reference it on the WorkAssignmentDetail form under Actions and see no change at all .
I've also tried an Action Configuration override and got same issue
What am I doing wrong?
Thanks
A derived field and a Boolean derived field were used to get around the issue
It would seem on this form you could add:
ExperienceDate1 when value changed NewExperienceDate = ExperienceDate1 when (WorkAssignmentIsOneCondition)
This would require ExperienceDate1 to actually be entered or changed on the form to work.
Grr. My indentation wasn't maintained in my post. I'm asking the Community folks if an "insert code" option could be made available.