Bug #807
report housing inspection
100%
Description
must read the location address, not company address
so update the Query while inspection type = 9 تفتيش سلامة مهنية - موقع سكن
if AUTO_NUM_PACI is not null
select AUTO_NUM_PACI from INS_LOCATION_HOUSING where LOC_HOUSE_ID =:P_LOC_HOUSE_ID and AUTO_NUM_PACI is not null ;
if AUTO_NUM_PACI is null
select SYS_PKG.GET_LOOKUP_NAME (2,GOVERNORATE_ID) , 'احداثيات ' || ',x=' || LOCATION_X || ' y=' || LOCATION_Y
from INS_LOCATION_HOUSING where LOC_HOUSE_ID = :P_LOC_HOUSE_ID and
AUTO_NUM_PACI is null ;
History
#1 Updated by Ahmad Amer over 6 years ago
- File query report 2.txt
added
- Assignee changed from Ahmad Amer to Abdelhalim Abu Qamar
please as per discussion, i will create new report for ins_housing will be related to housing, so please update the attached query(which is related to first report).
with the updated auto num address.
#2 Updated by Abdelhalim Abu Qamar over 6 years ago
- File LOC_HOUSE.txt
added
- Status changed from Open to In Progress
- Assignee changed from Abdelhalim Abu Qamar to Ahmad Amer
query updated ...
#3 Updated by Ahmad Amer over 6 years ago
- Assignee changed from Ahmad Amer to Abdelhalim Abu Qamar
- % Done changed from 0 to 100
report done for ins018, متابعة نتائج التفتيش
please check the report on test environment
#4 Updated by Abdelhalim Abu Qamar about 6 years ago
- Status changed from In Progress to Closed