ITEM FULFILMENT RESTRICTION FOR EMPLOYEE LOCATION

ITEM FULFILMENT RESTRICTION FOR EMPLOYEE LOCATION

Proposal Summary

We will restrict the item fulfillment creation on saving item fulfillment records.

Requirements 

“We would like to limit each warehouse location so that they are only able to fulfill lines that are assigned to that location”.

To restrict the item fulfillment creation, if the current employee location and item fulfillment location have mismatch. We will not allow you to create an item fulfillment record if the location mismatch occurs. In such cases, we will throw a user error for acknowledgement of the users.

Our Solution

  • We will fetch the current employee’s location and item fulfillment’s location information on the item fulfillment record before submit using a user event script.
  • After fetching the location details. We will check if both locations are equal.
  • If locations are equal we allow to create item fulfilment records.
  • If locations are not matched we are not allowed to create item fulfillment.
  • When restricting item fulfillment we throw an user error for acknowledgement of the user.
  • The message is “the location is mismatch of user and item fulfillment”

Assumptions

  • If the employee record’s location field is empty. The user event script will restrict the item fulfillment creation.
  • We are considering the first item line location of the item fulfillment record as item fulfilment location.

Leave a comment

Your email address will not be published. Required fields are marked *