UXDE dot Net Wordpress Themes

Posts Selected From the Category "Lawson Talent Management"

Add Attachment Capability to Forms in Landmark

in Landmark, Lawson, Lawson Talent Management / No Comments

Within the Landmark code it is very easy to add attachment functionality to different areas of the application. In this example we are adding attachments to the Session page within Lawson Talent Management.

Why was this done?

Customer wanted file attachment capability on Session

Where was this done?

Within the Persistent Fields of Session (bl) and Forms section of Session (ui).

 

Session.busclass (bl)

 Persistent Fields
...
 //SessionAttachment is the name we are giving the attachment field
 SessionAttachment is an Attachment

 

Session.busclass (ui)

Within the user interface file locate where you would like the attachment to display, in this case we are using the SessionContextForm.

//FORMS
 SessionContextForm is a Form
// Form used to define the Session
 ...
 ShortDescription
 //add field for attachment
 SessionAttachment.File
 label is "SessionAttachment"
 single column
 Description

Force an Employee to have a certain value before an Action occurs

in Landmark, Lawson Talent Management / No Comments

Why was this done?

Customer wanted to restrict an action until criteria was met.

Where was this done?

Within the Action/Parameter Rules against the Employee.busclass (bl).

Special Notes

This was added to the Name rule to make sure it kicked off near the front.  Field was also added to the UI busclass.

 

 		RehireResource is an Instance RequestAction
			request action process is RehireResource

...

			Parameter Rules
...
				Name
					initial value is Employee.Name
					required

					//mod to force EligleForRehire true on rehire action
					constraint(Employee.EligibleForRehire)
						"EmployeeMustBeEligibleForRehire"