Subject: | POSCASH customer created with incorrect ID in the new month |
Summary: | Issue: When the configuration "Concatenate year/month to POSCASH account code" is set to "Month", the ID for the record is incorrectly created. This causes replication sync issues as the replication requires the ID to be the same value in all the servers. |
Audit Notes: | Edited by alvis on 08/12/20 08:37. Edited by alvis on 13/07/20 11:58. Edited by alvis on 13/07/20 10:26. |
13 Jul 2020 | 10:26AM Comment 1 by Alvis (Link Technologies) Case L12009 added to project 11.4 |
13 Jul 2020 | 10:37AM Comment 2 by Sanjay (Link Technologies) Assigned To: Alvis (Link Technologies) Followup Date: 13-07-2020 04:26 PM Time Taken: 2.00 Notes: Edited by alvis on 13/07/20 12:05. |
| Development work for this case has been completed. The change will be available in version:11.4.0713, 12.0.0713 1. The following changes were made(Include Database object names, Program classes and any other relevant information): - Corrected the customer ID created from procedure "LBS_POS_Customer_Update" to use format "Company-Code". This is required for replication to sync data across servers. The customer ID is used to link the records for synchronization.
2. Affected Areas: - Replication for customer Masterfile
- Time Maintenance -> Customer, Customer Projects, Customer Project Limit
- Union Maintenance -> Rates
- Verify customer projects, limits, Union Rates and time entry are linked after upgrade
3. The issue can be reproduced by: - Setup replication between 2 servers
- Set the configuration "Concatenate Year/Month for POSCASH" to "Month"
- Stop replication process
- Do a cash sale in both servers. The cash sale process will create a customer record in each server.
- Enable the replication process. The event log will show the replication error.
4. Notes: 5. Next Step: System test ---------------------- Development Reference: |
|
13 Jul 2020 | 11:58AM Comment 3 by Alvis (Link Technologies) ETC was changed from 13/07/2020 to 13/07/2020 |
13 Jul 2020 | 01:56PM Comment 4 by Sanjay (Link Technologies) Assigned To: Rashna (Edge Business Solutions) Followup Date: 13-07-2020 07:25 PM Time Taken: 2.00 |
| System test completed |
|
13 Jul 2020 | 04:12PM Comment 5 by Sanjay (Link Technologies) Assigned To: Rashna (Edge Business Solutions) Followup Date: 13-07-2020 10:11 PM Time Taken: 1.00 |
| Hi Rashna, please proceed with UAT before release. |
|
15 Jul 2020 | 12:46PM Comment 6 by Rashna (Edge Business Solutions) Assigned To: Rashna (Edge Business Solutions) Followup Date: 15-07-2020 06:24 PM Time Taken: 2.00 |
| QA Results Tests carried out according to requirements specified on the case header Test Results Summary Table 1 - Summarised list of issues No | Test Description | Pass/Fail | 1 | - Installed version 11.4.507 from the website
- Setup replication between LinkSOFT-HQ and LinkSOFT-B1 databases.
- Set the configuration "Concatenate Year/Month for POSCASH" to "Month" in both databases.
- Stopped the replication process by disabling SQL Agent.
- Performed a cash sale on both servers. The cash sale should create a POSCASH customer for July 2020.
- Enable SQL Agent. Validate the event log for errors.
- Error - Cannot insert duplicate key row in object 'dbo.LBS_POS_Customer_all' with unique index 'UX_LBS_POS_Customer_all_CompanyID_Code'. The duplicate key value is (1001, POSCASH-202007).
- Upgraded the database to version 11.4.713.
- Confirmed that the sales are replicated without errors.
- Perform steps 4 and 5 after the upgrade. The sale should be replicated without errors
| Pass | 2 | - ?Installed version 11.4.507 from the website
- Created below records under Time Maintenance in database LinkSOFT-HQ
- Customer - RPL
- Project - INS
- Activity - Wiring
- Mapped project "INS" to customer "RPL".
- Mapped activity "Wiring" to project "INS".
- Added the Customer, Project, and Activity to union rates for "Union Northern Division"
- Upgraded database to version 11.4.713.
- Validated that the above mappings and links existed after the upgrade
| Pass |
Environment Details - OS version: Windows Server 2012
- Application version: 11.4.713
- Setup: Demo
- Server : 10.0.0.12
- Database: LINKSOFT-HQ and LINKSOFT-B1
Next Step: - Closure
|
|