[LS-573] Redline device dump from NEP for Infovista Created: 15/Aug/25  Updated: 12/Sep/25  Due: 22/Aug/25

Status: Cancelled
Project: L3 Support
Component/s: NEP
Affects Version/s: None
Fix Version/s: None

Type: CR Priority: Normal
Reporter: Salem Dannawi Assignee: Salem Dannawi
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: 0 minutes
Time Spent: 1 day, 2 hours
Original Estimate: Not Specified

Attachments: File IDU Report.csv     Microsoft Excel Redline DV.xlsx     File new siites report.csv    
Customer:
OMAN-Tel
Planned Start:
Planned End:
Actual Start:
Date of Baselining:

 Description   

the customer is requesting to have the DB view for redline IDUs as the excel sheet attached below with all details



 Comments   
Comment by Nouha Mhadhbi [ 28/Aug/25 ]

The ticket has been resolved, and a batch will be released for it.
Please find the script below to apply.

Best regards,
Nouha
INSERT INTO DB_VIEW_CONF (VIEW_NAME, ATTRIBUTE_NAME, VALUE) VALUES ('REDLINE_VIEW','VERSION_NAME','put your version');

--------------------------------------------------------------------------------------------------------------------------
CREATE OR REPLACE FORCE EDITIONABLE VIEW REDLINE_VIEW ( "VENDOR", "IDU_NAME", "LABEL", "IDU_ID", "LOCATION", "IDU_TYPE", "NE_ID", "SITE_ID", "SITE_NAME", "LOCATION_REGION","LOCATION_CITY")
AS WITH SELECTED_VERSION
AS (SELECT VERSIONID VERSION_ID FROM VERSION
WHERE NAME = (SELECT VALUE FROM DB_VIEW_CONF WHERE VIEW_NAME = 'REDLINE_VIEW' AND ATTRIBUTE_NAME = 'VERSION_NAME'))
select m.name vendor,
i.name IDU_NAME,
i.name || ' '||i.objectid LABEL,
i.objectid IDU_ID,
c.wilayah_name LOCATION,
type.name IDU_TYPE,
i.neid NE_ID,
s.objectid SITE_ID,
s.name SITE_NAME,

c.governate_name LOCATION_REGION,
c.city_name LOCATION_CITY

FROM IDU i
left join SELECTED_VERSION v on v.VERSION_ID=i.versionid
left join site s on s.siteid=i.siteid
left join FN_CITY_VIEW c on c.city_id=s.zone_id
left join IduType type on i.IduTypeID=type.IduTypeID
left join Manufacturer m on m.ManufacturerID=type.ManufacturerID
where m.name='REDLINE';

Comment by Abir Messaikeh [ 01/Sep/25 ]

DB view delivered

Generated at Fri Apr 17 09:00:28 EEST 2026 using JIRA 6.1.4#6159-sha1:44eaedef2e4a625c6c7183698b2468d4719c20dc.