Project

General

Profile

Actions

roos-fs tasks #312

open

(STORAGE) Spare Parts Import

Added by Vadim Pariev 9 months ago. Updated 5 days ago.

Status:
Closed
Priority:
Normal
Start date:
08/19/2025
Due date:
% Done:

0%

Estimated time:
56:00 h

Description

Use case
We need functionality to import spare parts into the Warehouse without pre-assigned vehicle or service. This is required to preload stock for a customer. Only Name, Serial Number, and Customer are mandatory. Later, parts can be linked to vehicles and services during service tasks (via the Warehouse Picker workflow).

Acceptance criterea:

  • Add Import functionality (CSV/XLSX upload).
  • Only Name, Serial Number, and Customer are mandatory
  • Manual entry allows to enter the same fields as in the import
  • Store parts in Warehouse table with minimal required fields.
  • Ensure spare parts are created with status "In Stock by default".
    IMPORTANT
  • Create a template that will withhold only the columns found in the excel attached
  • Check if the Produc t with the same name exists if yes all items form the imported table are to be in the sub table for this part
  • if this product is not yet listed then the entry in the main table is created and all itmes with the product name are landing in the subtable underneath

Files

Actions #1

Updated by Vadim Pariev 9 months ago

  • Status changed from Backlog to Open
Actions #3

Updated by Vitalii Shevchenko 8 months ago

  • Estimated time set to 56:00 h
Actions #4

Updated by Vitalii Shevchenko 8 months ago

  • Status changed from Open to In progress
Actions #5

Updated by Vadim Pariev 8 months ago · Edited

After the discussion with the customer following infromations and behaviour was found out.
All spare parts are having a unique serial number so there is no need to consider the batches and co. Some spare parts could be reused multiple times hence when they are reimported to the system we need to exchange some of the points.

So here is te expecrted behaviour:

  1. In case the user uploads the spare part that already exist in the system we replace all the data with the same serial number and set the spare part status to in stock
  2. In the future we need to make sure that we are login all the events that are connected with the spare part
Actions #6

Updated by Vadim Pariev 8 months ago

  • Description updated (diff)
Actions #7

Updated by Vitalii Shevchenko 8 months ago

  • Status changed from In progress to In review
Actions #8

Updated by Anton Obolientsev 8 months ago

  • Status changed from In review to Deployed (QA)
Actions #9

Updated by Vadim Pariev 8 months ago · Edited

Result OK BUT samll changes required:

Consistency:

  1. Change the template and set the default ID to be a number so that the user would not be confused about the principle of work (see the implimentatrion in the vechicles import)
  2. The order in the Table shall be the same as the export or vice versa (feel free to descide on your own)

Screenshot with the clarification is attached to the ticket

Actions #11

Updated by Vadim Pariev 8 months ago

  • Status changed from Deployed (QA) to QA Failed
Actions #12

Updated by Vitalii Shevchenko 8 months ago

  • Status changed from QA Failed to In progress
Actions #13

Updated by Vitalii Shevchenko 8 months ago

  • Status changed from In progress to In review
Actions #14

Updated by Anton Obolientsev 7 months ago

  • Status changed from In review to Open
Actions #15

Updated by Vitalii Shevchenko 7 months ago

  • Status changed from Open to In review
Actions #16

Updated by Anton Obolientsev 7 months ago

  • Status changed from In review to Open
Actions #17

Updated by Vadim Pariev 7 months ago

  • Status changed from Open to Deployed (QA)
Actions #18

Updated by Olena Tretjakova 7 months ago · Edited

Environment:

  • OS: Windows 11 Version 24H2 (x64)
  • Browser: Chrome 140.0.7339.186 (64-bit)
  • Platform: Desktop
  • Executor: Tretjacova Olena

Precondition:

User has an account in ROOS-fs and the Admin role.

Steps to reproduce:

  1. Open the 'Spare Parts Catalog' (click the WareHouse in sidebar).https://screenrec.com/share/l5yc0zIRfn
  2. Click on the 'Import Spare Parts' button.
  3. The 'Import Spare Parts' page is opened.
  4. Click on the 'Download Excel Template' button in the'Step 1: Download template' section.
  5. Open the Excel Template. https://screenrec.com/share/hHB3ofZGEi
  6. Fill in only the necessary fields in the Excel template.(Product, Serial Number, Customer ID).
    Test data: Product: Radsatz, Serial Number: RAD 132, Customer ID: 22.
  7. Download this file to 'Import Spare Parts' page in 'Step 2: Upload Your File' section. Click on th 'Upload' button.
  8. The spare part was added to the Radsatz table with the status 'In stock'.
  9. Change the status of the spare part RAD 132 to 'Installed' (using a Service with a task that includes a checklist of type 'Warehouse Part Picker').
  10. Click on the 'Import Spare Parts' button in the 'Ware House' page.
  11. The 'Import Spare Parts' page is opened.
  12. Open the Excel Template.
  13. Fill in only the necessary fields in the Excel template.(Product, Serial Number, Customer ID).
    Test data: Product: Radsatz, Serial Number: RAD 132, Customer ID: 22.
  14. Download this file to 'Import Spare Parts' page in 'Step 2: Upload Your File' section. Click on th 'Upload' button.
  15. Open the 'Warehouse' page and navigate to the 'Radsatz' table. The status of the spare part with Serial Number: RAD 132 and Customer ID: 22 was changed from 'Installed' to 'In stock'.
  16. Open the Excel Template.
  17. Fill in only the necessary fields in the Excel template.(Product, Serial Number, Customer ID).
    Test data: Product: New Product, Serial Number: LFR 001, Customer ID: 22.
  18. Download this file to 'Import Spare Parts' page in 'Step 2: Upload Your File' section. Click on th 'Upload' button.
  19. Open the 'Warehouse' page.A new table 'New Product' is created.https://screenrec.com/share/89ltqkbYdc

Expected Result:

  1. Import of spare parts is possible if the necessary fields are filled in (Name, Serial Number, Customer).
  2. Manual entery of spare parts is possible if the necessary fields are filled in (Name, Serial Number, Customer).
  3. All spare parts that are uploaded take the status 'In stock'.
  4. To upload spare parts, the user can download the Excel table template.
  5. If the product is not found in the 'Spare Parts Catalog', a new product is created.
  6. If such a product already exists in the 'Spare Parts Catalog', this spare part is added to the corresponding table.
  7. If the user uploads a spare part that already exists in the system, the data for the part with the same serial number is replaced, and the spare part status is set to 'In stock'.
  8. The order in the template and in the 'Spare Parts Catalog' tables is the same.

Actuale Result:

  1. The Excel template can be downloaded.
  2. The table in 'Spare Parts Catalog' have columns:
    ID,Serial Number,Customer Name,Stocked Day, PSP, Status, Status Day, To Whom, Location Name, Complaint, Ticket NR., Service Name, Vehicle Name.
    The Excel Template have columns:
    Product,Serial Number,Customer ID,Stocked Day, PSP, Status, Status Day, To Whom, Location, Complaint, Ticket NR. .
  3. Import the XLSX file is possible. (Fill in only Product, Serial Number, Customer ID) https://screenrec.com/share/sYe5hD2KgE
  4. Manual entry of a product into the 'Spare Parts Catalog' is not available. https://screenrec.com/share/6cSteFHA1u
  5. If the product subtable already exists in the 'Spare Parts Catalog', the product is added to this table.
  6. If the product is not found in the 'Spare Parts Catalog', a new product is created.
  7. If such a product already exists in the 'Spare Parts Catalog', this spare part is added to the corresponding table.
  8. If the user uploads a spare part that already exists in the system, the data for the part with the same serial number is replaced, and the spare part status is set to 'In stock'.

comment:
Clicking the 'Back' button at the bottom of the
'Import Spare Parts' page redirects to the top of this
page, which is translated into German.
https://screenrec.com/share/M8PnLmKEAa

Actions #19

Updated by Olena Tretjakova 7 months ago

  • Status changed from Deployed (QA) to QA Failed
Actions #20

Updated by Vadim Pariev 7 months ago

  • Status changed from QA Failed to Deployed (QA)
Actions #21

Updated by Olena Tretjakova 7 months ago

  • Status changed from Deployed (QA) to QA Failed

Environment:Staging.

The tests that failed are marked in the Actual Result as (Negative Test) in bold.

Precondition:
User has an account in ROOS-fs and the Admin role.

Steps to reproduce:

  1. Open the 'Spare Parts Catalog' (click the WareHouse in sidebar).
  2. Click on the 'Import Spare Parts' button.The 'Import Spare Parts' page opens.
  3. Click on the 'Download Excel Template' button in the'Step 1: Download template' section.
  4. Open the Excel Template. https://screenrec.com/share/hHB3ofZGEi
  5. Fill in only the necessary fields in the Excel template.(Product, Serial Number, Customer ID).
    Test data: Product: New Product, Serial Number: D0006, Customer ID: 22.
    Product: New Product, Serial Number: D0007, Customer ID: 22.
    Product: New Product, Serial Number: D0008, Customer ID: 22.
  6. Download this file to 'Import Spare Parts' page in 'Step 2: Upload Your File' section. Click on th 'Upload' button.
  7. The spare part was added to the New Product table with the status 'In stock'.https://screenrec.com/share/UsfSge1zV7
  8. Change the status of the spare part D0008 to 'Installed' (using a Service with a task that includes a checklist of type 'Warehouse Part Picker'). https://screenrec.com/share/g1LmxMjCv9
  9. Click on the 'Import Spare Parts' button in the 'Ware House' page.
  10. The 'Import Spare Parts' page is opened.
  11. Open the Excel Template.
  12. Fill in only the necessary fields in the Excel template.(Product, Serial Number, Customer ID).
    Test data: Product: New Product, Serial Number: D0006, Customer ID: 22.
    Product: New Product, Serial Number: D0007, Customer ID: 22.
    Product: New Product, Serial Number: D0008, Customer ID: 22.
  13. Download this file to the 'Import Spare Parts' page in the 'Step 2: Upload Your File' section. Click the 'Upload' button. The message 'Successfully imported 3 spare parts' appears.
  14. Open the 'Warehouse' page and navigate to the 'New Product' table. The status of the spare part with Serial Number: D0008 and Customer ID: 22 was changed from 'Installed' to 'In stock'.https://screenrec.com/share/6OX9tGsN5r
  15. Open the Excel Template.
    Fill in all fields in the Excel template.(Product, Serial Number, Customer ID, Stocked Day, PSP,Status, Status Day, To Whom, Location, Complaint, ticket NR).
    Test data: Product: New Product, Serial Number: D0009, Customer ID: 22, Stocked Day 2025/10/16, PSP: PSP001,Status: In Stock, Status Day: 2025/10/16, To Whom: Test person, Location: Moon, Complaint: no, ticket NR: TICK 001.

Expected Result:

  1. Import of spare parts is possible if the necessary fields are filled in (Name, Serial Number, Customer).
  2. Manual entery of spare parts is possible if the necessary fields are filled in (Name, Serial Number, Customer).
  3. All spare parts that are uploaded take the status 'In stock'.
  4. To upload spare parts, the user can download the Excel table template.
  5. If the product is not found in the 'Spare Parts Catalog', a new product is created.
  6. If such a product already exists in the 'Spare Parts Catalog', this spare part is added to the corresponding table.
  7. If the user uploads a spare part that already exists in the system, the data for the part with the same serial number is replaced, and the spare part status is set to 'In stock'.
  8. The order in the template and in the 'Spare Parts Catalog' tables is the same.

Actuale Result:

  1. (Positive Test)The Excel template can be downloaded.
  2. (Positive Test)The table in 'Spare Parts Catalog' have columns:
    ID,Serial Number,Customer Name,Stocked Day, PSP, Status, Status Day, To Whom, Location Name, Complaint, Ticket NR., Service Name, Vehicle Name.
  3. (Positive Test)The Excel Template have columns:
    Product,Serial Number,Customer ID,Stocked Day, PSP, Status, Status Day, To Whom, Location, Complaint, Ticket NR.
  4. (Positive Test)Import the XLSX file is possible. (Fill in only Product, Serial Number, Customer ID).
  5. (Positive Test)Manual entry of a product into the 'Spare Parts Catalog' is available.
  6. (Positive Test)If the product subtable already exists in the 'Spare Parts Catalog', the product is added to this table.
  7. (Positive Test)If the product is not found in the 'Spare Parts Catalog', a new product is created.
  8. (Positive Test)If the user uploads a spare part that already exists in the system, the data for the part with the same serial number is replaced, and the spare part status is set to 'In stock'.
  9. (Negative Test) If the spare part already exists in the system and has the status 'In Stock', after uploading this spare part, the message 'Successfully uploaded' will appear.
  10. (Positive Test)The behavior has been corrected. Clicking the 'Back' button at the bottom of the 'Import Spare Parts' page now redirects to the top of this page, which is displayed in German.
  11. (Negative Test) The system allows uploading a spare part with the 'To Whom' field filled with data that does not exist in the system.
  12. (Positive Test)The system marks the field as empty if the location from the Excel table does not exist in the system.
  13. (Negative Test) The system marks the field as empty if the Complaint from the Excel table is 'No'.(https://screenrec.com/share/LNzlUaSpD8 https://screenrec.com/share/oEpS8aZqv9)
Actions #22

Updated by Vadim Pariev 6 months ago

  • Assignee changed from Vitalii Shevchenko to Max Zadorozhniy
Actions #23

Updated by Vadim Pariev 6 months ago

  • Status changed from QA Failed to Open
Actions #24

Updated by Vadim Pariev 6 months ago

  • Status changed from Open to QA Failed
Actions #25

Updated by Vadim Pariev 6 months ago

The mentioned bugs are to be delivered in a seperate ticket.

Actions #27

Updated by Vadim Pariev 6 months ago

  • Status changed from QA Failed to Ready for Deployment (prod)
Actions #28

Updated by Vadim Pariev 6 months ago

  • Status changed from Ready for Deployment (prod) to Closed
Actions #29

Updated by Albert Katasonov 5 days ago

  • Project changed from 8 to Roos-fs-ZIP
Actions

Also available in: Atom PDF