Skip to content

Commit 07fe29e

Browse files
committed
refactor: additional modules guides
1 parent bf83a03 commit 07fe29e

File tree

2 files changed

+103
-138
lines changed

2 files changed

+103
-138
lines changed
Lines changed: 42 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1,122 +1,110 @@
11
---
22
title: Serial No Module
3-
description: A guide about serial no. module for SQL Account
3+
description: A guide about serial no module for SQL Account
44
slug: /additional-module/serial-no
55
tags: ["SQL Account", "Additional Module"]
66
---
77

88
## Instruction
99

10-
1. Please go to **Stock** | **Maintain Stock Item** | **Edit** | Checked **Serial No.** | **Save**
10+
1. Navigate **Stock** > **Maintain Stock Item** > **Edit**, checked **Serial No.** > **Save**.
1111

1212
![1](../../static/img/additional-module/serial-no/1.png)
1313

14-
2. **Purchase** | **Goods Received Note** | **New** |
14+
2. Next, go to **Purchase** > **Goods Received Note** > **New**.
1515

1616
:::info
1717

18-
There have **3 methods** to apply serial no :
18+
There are **3 methods** to apply serial no:
1919

2020
:::
2121

22-
> ### Method 1 : Manually Enter
22+
### Method 1: Manually Enter
2323

24-
1. Click on the **Qty** column
24+
1. Click on the **Qty** column.
2525

26-
2. Click on "▼" symbol
26+
2. Click on "▼" symbol.
2727

28-
3. Click on "+" (Green Icon)
28+
3. Click on "+" (Green Icon).
2929

30-
4. Manually Enter at Empty Box
30+
4. Input manually at the empty box.
3131

3232
![2](../../static/img/additional-module/serial-no/2.png)
3333

34-
> ### Method 2 : Import from Notepad / Word
34+
### Method 2: Import from Notepad / Word
3535

36-
1. Enter the Serial No at the notepad.
36+
1. Prepare the **serial no** you wish to import in a notepad, save it.
3737

3838
![3](../../static/img/additional-module/serial-no/3.png)
3939

40-
2. Click Import
40+
2. Click **Import**.
4141

4242
![4](../../static/img/additional-module/serial-no/4.png)
4343

44-
3. Select Notepad where you have saved to .
44+
3. Select the notepad file you had just created.
4545

4646
![5](../../static/img/additional-module/serial-no/5.png)
4747

48-
4. Click Ok
48+
4. When completed, a dialog with status "_Done_" will pop, click Ok and you will be all set.
4949

5050
![6](../../static/img/additional-module/serial-no/6.png)
5151

52-
> ### Method 3 : Generator
52+
### Method 3: Generator
5353

54-
1. Click on Generator
54+
1. Click on **Generator**.
5555

5656
![7](../../static/img/additional-module/serial-no/7.png)
5757

58-
2. Format = Serial No Format
59-
60-
Start From = What number you wish to start from
61-
62-
Count = How many units to generate
63-
6458
![8](../../static/img/additional-module/serial-no/8.png)
6559

66-
3. Here the output
60+
| Field | Description |
61+
| ---------- | --------------------------------- |
62+
| Format | Serial No Format |
63+
| Start From | The number you wish to start from |
64+
| Count | How many units to generate |
65+
66+
2. Sample output.
6767

6868
![9](../../static/img/additional-module/serial-no/9.png)
6969

70-
3. In Delivery Order
70+
3. In **Delivery Order**
7171

72-
1. Sales | Delivery Order | Click Add
72+
1. Go to **Sales** > **Delivery Order**, and click _Add_
7373

7474
![10](../../static/img/additional-module/serial-no/10.png)
7575

76-
\+ (Green Color) Same method as Method 1
76+
In this form, you can find a "**+**" (Green Icon), it's functionality is similar to [Method 1](#method-1-manually-enter).
7777

78-
Import same method as Method 2
78+
For "**Import**", it's functionality is similar to [Method 2](#method-2-import-from-notepad--word).
7979

80-
2. Tick Serial No | Press Ok
80+
2. Select and tick the serial no, press Ok.
8181

8282
![11](../../static/img/additional-module/serial-no/11.png)
8383

84-
:::info
85-
86-
Noted : Stock Adjustment does not support Serial No. May using Stock Received and Stock Issue to replace .
87-
84+
:::info[Note]
85+
Stock Adjustment does not support serial no; consider using Stock Received and Stock Issue as alternatives.
8886
:::
8987

9088
### Serial No Report
9189

92-
1. Print Stock Physical Worksheet – Will show all Serial that haven't been issued out.
93-
94-
2. Print Stock Serial No Conflict
95-
96-
1. To check Serial No. have been issued out but there is no receiving information.
97-
98-
2. To check duplicate Serial No. received at the same location/ batch for the same item.
99-
100-
3. Print Stock Outstanding Serial No
101-
102-
1. For those documents Issued or Received that do no apply Serial No.
103-
104-
4. Inquiry | Print Serial No Inquiry
105-
106-
1. Check serial no. movement.
90+
| Report | Functionality | Way to Access |
91+
| --------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------- |
92+
| Stock Physical Worksheet | Show all serial no that have not been issued | Print Stock Physical Worksheet |
93+
| Stock Serial No Conflict | - Check serial no which have been issued but no receiving information<br /> - Check duplicate serial no received at the same location/batch for the same item | Print Stock Serial No Conflict |
94+
| Stock Outstanding Serial No | For documents that are issued or received but do not have a serial no | Print Stock Outstanding Serial No |
95+
| Serial No Inquiry | Check serial no movement | Inquiry > Serial No Inquiry |
10796

10897
### Access Right for Serial No
10998

11099
Group Stock
111100

112101
1. Always match Qty with Serial No.
113102

114-
* Checked mean Serial No. must match Qty key in. Eg : 2 Qty = 2 Serial No.
115-
116-
* If this right is checked, Print Outstanding Serial Numbers will yield no result.
117-
118-
2. Allow Non-Existent Serial No
103+
- Enable this right to enforce that the **serial no** matches the **qty**.
104+
- For example, 2 qty = 2 serial no.
105+
- When this right is enabled, _Print Outstanding Serial Numbers_ will yield no result.
119106

120-
* Checked mean for those Serial No issued out, allow the input of non-existent Serial No.
107+
2. Allow Non-Existent Serial No.
121108

122-
* If this right is unchecked, Print Stock Serial No Conflict will no result.
109+
- Enable this right to allow **non-existent serial no** for issued serial no.
110+
- When this right is enabled, _Print Stock Serial No Conflict_ will yield no result.

docs/additional-module/sql-view.md

Lines changed: 61 additions & 84 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,23 @@ tags: ["SQL Account", "Additional Module"]
77

88
## Branch Control Module
99

10+
:::info
11+
This module can be applied to Project, Agent, Area, Location, Stock Group, Stock Item, Payment Method, Account Code
12+
:::
13+
1014
![branch-control-module](../../static/img/additional-module/sql-view/branch-control-module.png)
1115

1216
**SQL View (Branch Control)** is used to:
1317

14-
1. Restrict users to view or edit only the data belonging to their assigned branch
18+
1. Restrict users to view or edit only the data belonging to their assigned branch.
1519

16-
2. Protect data privacy between branches
20+
2. Protect data privacy between branches.
1721

18-
3. Prevent users from accidentally selecting or modifying records from other branches
22+
3. Prevent users from accidentally selecting or modifying records from other branches.
1923

20-
## Scenario Example
24+
## Scenario
2125

22-
Company has 3 branches:
26+
Assume a company having 3 branches:
2327

2428
![scenario-example-company](../../static/img/additional-module/sql-view/scenario-example-company.png)
2529

@@ -28,153 +32,126 @@ Example users:
2832
![scenario-example-users](../../static/img/additional-module/sql-view/scenario-example-users.png)
2933

3034
:::info
31-
3235
Project from other branches will be auto-filtered, preventing accidental selection of unauthorized or irrelevant data.
33-
3436
:::
3537

3638
## How to Set Branch Control Using SQL View
3739

3840
### A. Project Filtering
3941

40-
#### A1. Single Project Code (e.g., PEN Branch – P1)
42+
#### A1. Single Project Code (e.g., P1)
4143

42-
1. **Tools** | **DIY** | **Maintain DIY**
44+
1. Navigate to **Tools** > **DIY**, click on **Maintain DIY**.
4345

4446
![single-project-code-1](../../static/img/additional-module/sql-view/single-project-code-1.png)
4547

46-
2. **View Template** | Right-click **Project** | **New View Template**
48+
2. Next, go to **View Template**, right click on **Project** > **New View Template**.
4749

4850
![single-project-code-2](../../static/img/additional-module/sql-view/single-project-code-2.png)
4951

50-
3. Click **New**
52+
3. Click on **New** button.
5153

5254
![single-project-code-3](../../static/img/additional-module/sql-view/single-project-code-3.png)
5355

54-
4. Set the Filter Condition
56+
4. Set the filter conditions.
5557

56-
1. **Description**: Enter a name for this template
57-
58-
2. **Code**: Select Project Code
59-
60-
3. **Condition**: Equal
61-
62-
4. **Value**: Enter the project code (e.g., P1)
58+
| Field | Description |
59+
| ----------- | --------------------------------- |
60+
| Description | Enter a name for this template |
61+
| Code | Select Project Code |
62+
| Condition | Equal |
63+
| Value | Enter the project code (e.g., P1) |
6364

6465
![single-project-code-4](../../static/img/additional-module/sql-view/single-project-code-4.png)
6566

66-
5. Select the new template form the list
67+
5. Select the new template from the list.
6768

6869
![single-project-code-5](../../static/img/additional-module/sql-view/single-project-code-5.png)
6970

70-
6. Right-click **Project** | Select **User View**
71+
6. Right-click on **Project**, select **User View**.
7172

7273
![single-project-code-6](../../static/img/additional-module/sql-view/single-project-code-6.png)
7374

74-
7. Tick the user
75+
7. Select the users to which you wish to apply the rules.
7576

7677
![single-project-code-7](../../static/img/additional-module/sql-view/single-project-code-7.png)
7778

78-
#### A2. Multiple Project Codes(e.g., KL + SEL = P1 & P2)
79-
80-
1. Set the Filter Condition
79+
#### A2. Multiple Project Codes (e.g., KL + SEL = P1 & P2)
8180

82-
1. Set Condition: is any of
81+
1. Set the filter condition.
8382

84-
2. Add project codes (P1, P2)
83+
> Click on "+" button if you wish to add more codes
8584
86-
3. Click + if you need more codes
85+
| Field | Description |
86+
| ----------- | ------------------------------ |
87+
| Description | Enter a name for this template |
88+
| Code | Select Project Code |
89+
| Condition | is any of |
90+
| Value | Enter project codes (P1, P2) |
8791

8892
![multiple-project-codes](../../static/img/additional-module/sql-view/multiple-project-codes.png)
8993

90-
**Results:**
94+
**Sample result:**
9195

92-
User can select both P1 and P2 only.
96+
After apply, the user can select P1 and P2 only, not other branches.
9397

9498
![result-multiple-project-codes](../../static/img/additional-module/sql-view/result-multiple-project-codes.png)
9599

96100
### B. Agent Filtering
97101

98-
**Scenario 1: Agent can only see their own documents**
102+
#### Scenario 1: Agent can only see their own documents
99103

100-
For Agent, if login user same as agent code, you can follow below step in the link on (Step 2) to get the ready view template and load side.
104+
> For Agent, if the login user same as agent code, retrieve the ready view template from this [guide](../integration/sql-mobile-connect/set-user-view.md) and load them.
101105
102-
https://docs.sql.com.my/sqlacc/sql-mobile-connect/set-user-view
106+
If no ready templates available, create one:
103107

104-
If not available, follow these manual steps:
108+
1. Create a new view template by following **step 1 and 2** in [Project Filtering](#a-project-filtering) guide.
105109

106-
1. May follow **[Project Filtering](#a-project-filtering)** part Step1 and Step2 to create new view template
110+
2. Select the Agent
107111

108-
2. Choose Agent
112+
> CurrentUser = login user
109113
110-
1. Select ‘Equals’
111-
112-
2. Point the dropdown list
113-
114-
3. Select the **current user**. \*current user = login user
114+
| Field | Description |
115+
| ----------- | ------------------------------ |
116+
| Description | Enter a name for this template |
117+
| Code | Select Project Code |
118+
| Condition | Equals |
119+
| Value | Select CurrentUser |
115120

116121
![agent-filtering-scenario-1](../../static/img/additional-module/sql-view/agent-filtering-scenario-1.png)
117122

118-
**Results:**
123+
**Sample result:**
119124

120-
When Yap opens any document, the Agent field will only show her own agent code
125+
When Yap opens any document, the **Agent** field will only show her own agent code.
121126

122127
![result-agent-filtering-scenario-1](../../static/img/additional-module/sql-view/result-agent-filtering-scenario-1.png)
123128

124-
**Scenario 2: Assign a user to a specific Agent Code**
129+
#### Scenario 2: Assign a user to a specific Agent Code
125130

126-
Type the Agent Code directly into the filter value
131+
In the template editor, assign **Agent Code** on the value field.
127132

128133
![agent-filtering-scenario-2](../../static/img/additional-module/sql-view/agent-filtering-scenario-2.png)
129134

130-
**Results:**
135+
**Sample result:**
131136

132137
User will only see the assigned agent (e.g., **Sales**)
133138

134139
![result-agent-filtering-scenario-2](../../static/img/additional-module/sql-view/result-agent-filtering-scenario-2.png)
135140

136-
## Other Modules Using the Same Steps
137-
138-
The same View Template steps apply to:
139-
140-
- Area
141-
142-
- Location
143-
144-
- Stock Group
145-
146-
- Stock Item
147-
148-
- Payment Method
149-
150-
- Account Code
151-
152-
## How SQL View Affects the System
153-
154-
**View Sales and Purchase Price History**
155-
156-
If an SQL View is applied, the Sales Price History will only display values that pass the filter. Any values not permitted by the view will be excluded.
157-
158-
**View Available Stock Balance**
159-
160-
If an SQL View is applied for location, the View Available Stock Balance will only display the Total Qty belong to the location in Stock Card Qty, Qty in DO, Qty in PO and Available Qty.
161-
162-
Same as each Location Balance only refer to the location assigned.
163-
164-
**Sales Invoice Transfer Dialog**
165-
166-
When we transfer from Sales Order, if an SQL View is applied, the dialog will only display values that pass the filter. Any values not permitted by the view will be excluded.
167-
168-
**All Report Listing**
169-
170-
When SQL Views are used to restrict Agent, the Agent dropdown in reports will only show values allowed by the view. Same applies to Project, Location, Stock Item and Area etc.
171-
172-
![report-listing](../../static/img/additional-module/sql-view/report-listing.png)
141+
## How SQL View Affects the system
173142

174143
:::important
175144

176145
- **ADMIN** user is a superuser. Even if SQL View is applied, ADMIN can still view everything.
177-
178146
- SQL View does not support Stock Transfer documents. Locking can only be applied via the DIY Script module.
179147

180148
:::
149+
150+
|Action|Description|
151+
|--|--|
152+
|View Sales and Purchase Price History|the Sales Price History will only display values that pass the filter if a view is applied. Any values not permitted by the view will be excluded.|
153+
|View Available Stock Balance|If a **location view** is applied, the View Available Stock Balance will only display the Total Qty belong to the location in Stock Card Qty, Qty in DO, Qty in PO and Available Qty. Each Location Balance only refer to the location assigned|
154+
|Sales Invoice Transfer Dialog|When we transfer from Sales Order, if a view is applied, the dialog will only display values that pass the filter. Any values not permitted by the view will be excluded.|
155+
|All Report Listing|When SQL Views are used to restrict Agent, the Agent dropdown in reports will only show values allowed by the view. Same applies to Project, Location, Stock Item and Area etc.|
156+
157+
![report-listing](../../static/img/additional-module/sql-view/report-listing.png)

0 commit comments

Comments
 (0)