# User Modules

P4W provides a tool to create custom user interface called module. Modules will control what can or cannot be seen and accessed by a particular user (e.g., menus, options, and fields). The use of modules helps to streamline day-to-day operations, minimizes security threats, and prevents accidental system disruption from users.

## Create New Module

To create a new module navigate to Setup > System > Modules and click 'New' button in the top right corner of the window.&#x20;

![](https://4069128715-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5fCRH6psoWyRQyD8J9vh%2Fuploads%2FK0cMMcjERwOmcfJTmT6M%2Fuser_module_!.png?alt=media\&token=73cd2664-93e7-4dfb-a69f-6a2a14d2a6b5)

Fill out he module details. Notice that 'Name' field is mandatory. Press 'Submit' to continue.

![](https://4069128715-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5fCRH6psoWyRQyD8J9vh%2Fuploads%2FvyfNUdhM0DmhtDan88Px%2Fuser_module_2.png?alt=media\&token=89e28961-c724-429e-9f1c-fdb551a0e789)

## Edit Existing Modules

To configure your new module select it from the modules list as shown below.

![](https://4069128715-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5fCRH6psoWyRQyD8J9vh%2Fuploads%2F4VmRFkrXlgYedN3q2MM5%2Fuser_module_3.png?alt=media\&token=d391972e-b3bc-448c-8cf8-5bb107576f69)

From the module window select 'Menu builder' tab.&#x20;

![](https://4069128715-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5fCRH6psoWyRQyD8J9vh%2Fuploads%2FyLxBVfatafNv5s0fyUO5%2Fuser_module_4.png?alt=media\&token=83bbe7bb-2a7a-47a7-a0a6-ad5752b18b82)

From this page you can drag-and-drop (from left-to-right) the various sections and sub-sections you wish to add to a specific module. Modules are completely custom, you can add an entire section or just specific parts at a time.

![](https://4069128715-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5fCRH6psoWyRQyD8J9vh%2Fuploads%2FTwzF504ngRDYy3lShAkZ%2Fuser_module_5.png?alt=media\&token=b9074db2-a5de-4a8b-a12b-3d49d0ae5698)

You can also add a section and then delete whatever sub-subsections you want to restrict just by pressing delete button as shown below.

![](https://4069128715-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5fCRH6psoWyRQyD8J9vh%2Fuploads%2Fqm5ImWFlHLKOxLWFvLF1%2Fuser_module_6.png?alt=media\&token=4d7a2d5e-6d12-484b-b9ae-3f3b94c23716)

{% hint style="info" %}
Notice: While 'Receiving' section is still selected for this module, it is now missing 'Un-receive Po' and 'Non-Po receiving.
{% endhint %}

To save your progress click 'Update' button in the top right corner. Changes do not save automatically.&#x20;

![](https://4069128715-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5fCRH6psoWyRQyD8J9vh%2Fuploads%2FfuBQpEATO06hgfYL4QVD%2Fuser_module_7.png?alt=media\&token=b0ba3c9e-44a1-428a-b6fe-e6a373ca482f)

## Modules Example

### Web Browser

Here are some examples of how modules can create custom user interface. Figure 'A' is a default administrator profile that includes all the functionalities of P4W system. Figure 'B' is a custom user module - 'Manager' that only displays required sections.

#### Administrator User Interface

![Figure A](https://4069128715-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5fCRH6psoWyRQyD8J9vh%2Fuploads%2FpRFVb9WEKCIc3zSZun4G%2Fuser_module_9.png?alt=media\&token=b0f3304f-dabd-48f6-ac7c-25bee3a7cbb6)

#### Manager Custom User Interface&#x20;

![Figure B](https://4069128715-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5fCRH6psoWyRQyD8J9vh%2Fuploads%2F0CB1PBm6NcZStSHGoI7o%2Fuser_module_8.png?alt=media\&token=adbb6351-0540-4a34-9f77-adbeb7f45558)

### Handheld Device

Here are the handheld version of administrator profile (figure 'A') and a custom user module - 'Receiver' (figure 'B').&#x20;

#### Administrator User Interface

![Figure A](https://4069128715-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5fCRH6psoWyRQyD8J9vh%2Fuploads%2Ffc74TlEKbdz1PPNJu4vl%2Fhh_admin_view.png?alt=media\&token=3a808b99-35f0-4df6-a95c-735aadc89363)

#### Receiver Custom User Interface

![Figure B](https://4069128715-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5fCRH6psoWyRQyD8J9vh%2Fuploads%2FtQ336L68uChAz3SM51SP%2Fhh_receive_view.png?alt=media\&token=ac93e09a-39ae-4d1f-8ca4-931ac5e9ad8f)

## Deleting User Module

To delete existing user module navigate to Setup > System > Modules and click 'Delete' button from the 'Action' column as shown below.

![](https://4069128715-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5fCRH6psoWyRQyD8J9vh%2Fuploads%2FJ4tg7rRYehm1PBnpV2IO%2Fuser_module_delete.png?alt=media\&token=0b4bbace-d00f-4b25-9da7-5158e31f88c8)
