Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Task Management / Trigger Setup / System Triggers [TIL005]

Tasks are generated using a VBScript. An event fires the trigger, and the trigger, in turn, calls a VBScript, which returns the information about the tasks.

The two standard tasks shipped with the module must only be linked with the required Task Script as explained in Setup and Configurationto start using the module. However, users can edit these Scripts as well.

Info

Note: You must have copied it over from the Sample folder to the Trigger folder first.

For more information – refer to How to customize pop-up prompt using VBScript

Info

VBScripts .

If you don’t like reading, you can watch the video.

Panel
panelIconId1f3a5
panelIcon:movie_camera:
panelIconText🎥
bgColor#DEEBFF

DATASCOPE WMS - Task Management

001_Premium_TASK_MANAGEMENT_product_UG - v0.3.pdf

Try it!

To edit a task script that has been linked to a System Trigger.

Info

Note: If this screen is not visible, you might not have permission to see or use it. To update the permissions to edit VBScripts, you must go to the Ribbon bar , and browse to Settings / Permissions. Select the Group Permissions TAB and locate the ADMIN group from the Group drop-down. Ensure the user have has the following two permissions. MAY_EDIT_TASKVBSCRIPTING and MAY_EDIT_VBSCRIPTING

  • Select the Edit VB Script link below the Scrip File drop-down.

  • The VB Script Editor screen will open. This is where you can customize the existing VBScript for the selected Task.

Info

The script under the Sample folder is the base script for this Trigger and is shipped with the Task Management module when you purchase the module.

  • Select Save

As the Task Linked was enabled the Task Enabled column will be checked next to the applicable System Trigger.

Overview of the basic VBScript for the Task_POReceiptFinalize Trigger and how to make changes

  • It is a basic VB Script that does an Echo. It contains information that we supply and then gets used to generate the task. It’s a basic data mapping.

WScript.Echo "<Field TaskCode='PUTASTD' Area='A1' Zone='Z1' TrnSource='"&PurchaseOrder &"' />"
'End Function
    WScript.Echo "<Field TaskCode='PUTASTD' Area='PICK' Zone='PICK' AssignedTo='' Instruction='' Priority='' StandardTime='' UserField='' MHE='' TrnSource='" + WScript.Arguments.Item(1) + "' />"

  • The first section of the script refers to the TaskCode. If you created a new Custom Task, in the Task Master Listing screen, you could replace this code with the Custom Task code if you created a new Custom Task, visible in the first column in the Task Master Listing data grid.

  • The Warehouse can also be updated or left blank.

  • Same for the Area, Zone, AssignedTo

  • You can also update the Instruction, Priority, StandardTime, UserField, MHE, as well as TrnSource

  • All these parameters are also visible on the Task Review screen.

  • Once you have made your required customizations, you can select Save and Close