Unresolved
Pinned fields
Click on the next to a field label to start pinning.
Details
Details
Assignee
Szymon Radziszewski
Szymon Radziszewski(Deactivated)Reporter
Nikola Laskowska
Nikola Laskowska(Deactivated)Labels
Original estimate
1d
Time tracking
1d logged
Priority
Time Assistant
Time Assistant
Created October 27, 2022 at 5:42 AM
Updated February 24, 2023 at 11:57 AM
In referencedata service generate the csv file with structrue:
key
productCode
tradeItem
VC003000
tradeItem
VC003001
Mapping:
key -> referencedata.orderable_identifiers.key
productCode -> referencedata.orderables.code
Note: we should reuse what we prepared for previous file
All export data generation logic has been added in this task.
To do
Model
create a model class for OrderableIdentifier (currently it's just a Map<String, String> field in the Orderable class)
add @InputFile annotations on the fields in the OrderableIdentifier model class
Data
add a method that retrieves data in accordance with the OrderableIdentifier model class
use OrderableRepository
use a native query - the necessary data is in the orderables and orderable_identifiers tables, which are connected by a relationship
create service class for OrderableIdentifier (should import ExportableDataService)