Testing steps

After creating a script, switch on debug mode to test it. When done testing, debug mode can be switched off. .

  1. Create a new custom script with these parameters:
    Script name
    Custom Processor Sample
    Description
    Custom Processor Sample
    Script type
    employee-import-processor
  2. Copy and paste the Employee Import Processor script.
  3. Navigate to Maintenance > System Administration > Interfaces > Interface Layouts.
  4. For the EMPLOYEE INTERFACE layout, click Edit.
    1. Add the new script you created under Interface Processors.
    2. Reorder the processors.
      Note: Scripts that change context data must be performed before CORE PROCESSOR. To avoid issues while changing the order of execution, you should for example, first assign 3 to Execution Order to core processor and then individually set the correct values.
  5. Navigate to Maintenance > System Administration > Job Scheduler and run the Employee Import/Interface job.
    Sample CSV import file:
    01/01/2021,1/1/2024,90000,Kurek,Adam,1/1/2020,1/1/2020,1/1/3000,A,123457,1/1/1995,,,,,,,,,akurek,,,,,,,,,,CASHIER,,,,P1,
  6. Confirm that the import was successful and that the values from the script were set correctly.