Settings (Codes)

Overview

The Codes section allows administrators to configure the format used for generating unique codes across different modules of the application. These codes help identify records such as Orders, Form Responses, Script Responses, and TryOn Sessions in a consistent and organized manner.

Navigate to Settings → Codes to configure code generation settings.


Code Configuration

Administrators can configure the following settings:

Each module can have its own unique prefix and digit length to generate easily identifiable codes.


Timezone

Select the appropriate Timezone for the application.

The selected timezone is used while generating date and time-based codes.


Default Code

The Default Code configuration is used for general-purpose code generation.

Configure:

Example Pattern:

[PREFIX]/[YYYY]/[MM]/[DD]/NNNN

Example Output:

DEF/2026/07/23/0001

Order Code

Configure the code format for customer orders.

Fields:

Example Output:

ORD/2026/07/23/0001

Form Response Code

Used to generate unique identifiers for submitted forms.

Fields:

Example Output:

FORM/2026/07/23/0001

Script Response Code

Used to generate unique codes whenever a script response is recorded.

Fields:

Example Output:

RESP/2026/07/23/0001

TryOn User Code

Generates a unique identifier for each TryOn user.

Fields:

Example Output:

TRYUSER/2026/07/23/0001

TryOn Session Code

Generates a unique code for every TryOn session.

Fields:

Example Output:

TRYON/2026/07/23/0001

Pattern Placeholders

The following placeholders can be used while creating custom code patterns.

Placeholder Description Example
[PREFIX] Uses the configured prefix for the selected module. ORD
[YYYY] Four-digit year. 2026
[MM] Two-digit month. 07
[DD] Two-digit day. 23
[H] Two-digit hour (24-hour format). 14
[M] Two-digit minute. 35
[S] Two-digit second. 48

Manage Code Settings

Administrators can:


Best Practices


Important:
Every module can have its own Prefix, Pattern, and Digit Length. The application automatically generates unique codes based on these settings, ensuring that records such as Orders, Form Responses, Script Responses, and TryOn Sessions remain unique and easy to identify.


Revision #2
Created 2026-07-13 05:07:22 UTC by Akshit Jain
Updated 2026-07-23 10:48:42 UTC by Akshit Jain