Installation and Setup
>
Customizing ServiceMax
>
Custom JavaScript Snippets Support
> Sample Code Snippets
Sample Code Snippets
The following Sample Code Snippets are illustrated for your reference.
•
Scenario 1: Validating Datetime Field for Overlapping Time Entries
•
Scenario 1A: Display error message in the respective fields on the child section
•
Scenario 2: To set/ update the Start DateTime entry using the End DateTime of the previous line
•
Scenario 3: To set/ update the End DateTime entry using the Start DateTime
•
Scenario 4: To Update the Start DateTime/ End DateTime of the Header Record using the child record DateTime values
•
Scenario 5: Access Information About Attachments for a Record
•
Scenario 6: Get User Details and Device Details
Was this helpful?
This site works best with JavaScript enabled