Company: Link Technologies
Case No: L08686. Project: 08.20: LinkSOFT Version 8.2
Logged By: Vineet (Link Business Solutions) on 18 Jul 2017 03:59PM
Priority: High
Product: Point of Sale
Group: Enhancement
Time Taken: 75.00 (Weight: 75.00)
Version: 8.290.0115
Assigned To: Sanjay (Link Technologies)
Circulation: Alvis, Development, Rashna, Sanjay, Vineet
Resolve By: Wednesday, 19 July 2017 12:00 AM [2465 days since logged date]
Status: Closed
Subject: General improvements to replication
Summary:    

Improvements to replication management.

Definitions:

  1. Configured Locations on head office define, which branches head office needs to send data to.
  2. GREEN - Development completed or existing functionality

1. Objectives:

  1. Reduce the number of rules and simplify data transfer logic. (Current processes is very complex and not financially sustainable)
  2. Shift is created for a user/location combination. (Required so that a user can move between locations and create a new shift for reconciliation purposes)
  3. All account customer sales is sent to all branch (We expect credit sales volume to be minimum and this allows receipts at any location). 13/09/2017 Agreed to leave this as it is, since it is managed via configured locations.
  4. Branch will send all transactions to head office only.

2. Replication Notes:

  1. POSCASH is an issue because of the high volume sales. 
    1. POSCASH sales only flows from BRANCH to HQ
    2. Sales done on location A on behalf of Location B will flow from Location A to HQ then from HQ to Location B
  2. Inventory Management
    1. Item properties flows to all configured locations
    2. Transfer, adjustments, stocktake, purchase order flow to configured locations
  3. Credit sale flow from head office to all branches. "Configured locations" are not used for this scenario.13/09/2017 Agreed to leave this as it is, since it is managed via configured locations.
  4. On POS server configuration, we define which locations are available in each branch. This information is sent from HQ to BRANCH and is used to restrict BRANCH/LOCATION access. 13/09/2017 we cannot block locations at branch level as we allow inter branch transfers which may not be part of configured locations.

3. Additional changes:

  1. Remove field LBS_Inventory.AllowNegative from Table and Replication - unused field however significant amount of change to upload template and replication scripts is needed to remove this field

4. Replication Configuration Rules:

  1. We know replication is configured in branch if there is an active entry in "server connections" 
  2. We can identify branch when there is 1 server connection and connection type is "child" or "stand-alone"
  3. We can identify server by having all connection types as "Parent"
  4. If replication is configured, a branch should be permitted to use the configured locations in servers only
Audit Notes:
01 Aug 201711:28AM Comment 1 by Alvis (Link Technologies) Case 8686 added to project 8.16
18 Aug 201703:52PM Comment 2 by Alvis (Link Technologies) Case 8686 removed from project 8.17
18 Aug 201703:52PM Comment 3 by Alvis (Link Technologies) Case 8686 added to project 8.18
11 Sep 201710:48AM Comment 4 by Alvis (Link Technologies) Assigned To: Sanjay (Link Technologies) Followup Date: 11-09-2017 10:48 AM

Improvements to replication management.

Definitions:

  1. Configured Locations on head office define, which branches head office needs to send data to.

1. Objectives:

  1. Reduce the number of rules and simplify data transfer logic. (Current processes is very complex and not financially sustainable)
  2. Shift is created for a user/location combination. (Required so that a user can move between locations and create a new shift for reconciliation purposes)
  3. All account customer sales is sent to all branch (We expect credit sales volume to be minimum and this allows receipts at any location)
  4. Branch will send all transactions to head office only.

2. Replication Notes:

  1. POSCASH is an issue because of the high volume sales. 
    1. POSCASH sales only flows from BRANCH to HQ
    2. Sales done on location A on behalf of Location B will flow from Location A to HQ then from HQ to Location B
  2. Inventory Management
    1. Item properties flows to all configured locations
    2. Transfer, adjustments, stocktake, purchase order flow to configured locations
  3. Credit sale flow from head office to all branches. "Configured locations" are not used for this scenario.
  4. On POS server configuration, we define which locations are available in each branch. This information is sent from HQ to BRANCH and is used to restrict BRANCH/LOCATION access.

3. Additional changes:

  1. Remove field LBS_Inventory.AllowNegative from Table and Replication

4. Concerns and issues:


13 Sep 201710:53AM Comment 5 by Sanjay (Link Technologies) Assigned To: Development Followup Date: 13-09-2017 10:53 AM Time Taken: 24.00

Completed the following:

  1. Consolidated rules for "Configured location"
  2. Consolidated rules for closed transactions
  3. Removed VOID, VOID_BY, VOID_DATE columns from rules table as this is unused
  4. Shift changes to create by User/Location combination
  5. Refactored shift procedures
  6. Applied rules changes to compare data process

Next Step:

  1. Package 8.18
  2. Setup replication for HQ and 2 branches
  3. Validate above changes
  4. Review diagnostics and provide user ability to trace and resolve replication issues.

19 Sep 201711:33AM Comment 6 by Sanjay (Link Technologies) Assigned To: Development Followup Date: 19-09-2017 11:33 AM Time Taken: 32.00

THe following changes have been made:

  1. Added the ability to create BRANCH Database from Headoffice
  2. Simplified replication rules
  3. Corrected server, connections and topology entries
  4. Added columns to view server status for Failed and Queue items
  5. Improved Server Status view
Process of replication configuration is:
1. Setup HQ Database
2. Configure replication on Head office using POS WEB
- Create Locations
- Create Servers for Head office and Branch
3. Create branch Database using POS-WEB "Create Branch Database" option
4. Copy Branch DB to Branch and Restore
5. Make Branch connection Active
6. Review Replication Rules
7. Run Compare Data

26 Sep 201706:13AM Comment 7 by Rashna (Edge Business Solutions) Assigned To: Sanjay (Link Technologies) Followup Date: 26-09-2017 06:13 AM Time Taken: 8.00

Hi Team, 

The following areas have been tested. See link for test plan.

  • Replication Setup and Configuration.
  • Back Office Transactions
  • Replication Rules - Partially.

Cases have been logged for areas failed.

  1. Case 8831 - Replication Rule R1081 failed
  2. Case 8829 - Mismatch with In Stock and Lot Bin details after Stock Take
  3. Case 8828 - Mismatch with In Stock and Lot Bin details after Transfer. This is with replication setup

We will continue to test further and update case accordingly.


26 Sep 201701:08PM Comment 8 by Rashna (Edge Business Solutions) Assigned To: Alvis (Link Technologies) Followup Date: 26-09-2017 01:08 PM Time Taken: 5.00

Hi Alvis, 

We have tested the cases. Attached is the test plan with details and areas failed.


Case 8832 logged - Compare data under Replication failed

Regards
Rashna



26 Sep 201701:42PM Comment 9 by Sanjay (Link Technologies) Assigned To: Development Followup Date: 26-09-2017 01:42 PM Time Taken: 1.00
All individual cases logged under replication testing has been resolved in beta2.

29 Sep 201701:20PM Comment 10 by Rashna (Edge Business Solutions) Assigned To: Rashna (Edge Business Solutions) Followup Date: 29-09-2017 01:20 PM Time Taken: 3.00

Hi Alvis, 

This case has been tested in QA1 with 818 BETA 2.

The individual cases logged have been tested accordingly.

Regards
Rashna


05 Oct 201710:10AM Comment 11 by Rashna (Edge Business Solutions) Assigned To: Sanjay (Link Technologies) Followup Date: 05-10-2017 10:10 AM Time Taken: 2.00

Documentation Completed.

Documentation updated under POS- Web 

Replication -- Servers

Replication -- Server Connections

Replication -- Rules 




09 Oct 201908:14AM Comment 12 by Sanjay (Link Technologies) Quality control status: Pass. QC Not required - This case was created before quality check was implemented in version 11 on 30/06/2019
Attachments:
General Documents - Case: 8686:Case8686TestPlan.xlsx
If you have any queries regarding this support incident, please email admin@linktechnologies.com.au and include the Case No: L08686 in the subject line of all emails regarding this issue.

Document size: 8.6 KB
For call complaints, please contact the Managing Director of the company using this form