Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

185
Views
Fail to evaluate script

Fail to evaluate script: {,”name”:”MODULE_DOES_NOT_EXIST”,”message”:”Module does not exist: /lodash.min.js”,”stack”:[]}

/**
 * @NScriptType UserEventScript
 * @NApiVersion 2.0
 */
define([‘N/file’, ‘N/render’, ‘N/ui/serverWidget’, ‘N/search’, ‘SuiteScripts/lodash.min’],

    /**
     * @param {file} file
     * @param {render} render
     * @param {search} search
     * @param {serverWidget} serverWidget
     */
    function(file, render, serverWidget, search, _) {
        return {

            beforeLoad: function(context) {
                var item = context.newRecord;
                var form = context.form;
                var managerTemplate = file.load({
                    id: ‘SuiteScripts/template/photomanager.html’
                });
                var managerFld = form.addField({
                    id: ‘custpage_sdr_photo_manager’,
                    type: serverWidget.FieldType.INLINEHTML,
                    label: ‘Photo Selection’,
                    container: ‘store’
                });
                form.insertField({
                    field: managerFld,
                    nextfield: ‘storedisplayimage’
                });
                var compiled = _.template(managerTemplate.getContents());

                managerFld.defaultValue = compiled();
            }
        };
    });
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!