Skip to Main Content

E-Business Suite

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Base Table for problem code in Cs_incidents_all_b

665465Sep 18 2009 — edited Sep 28 2009
hi

in cs_incidents_all_b we have problem_code. the does not contain any data ... we have any tl table for problem code i have cssr_prob_code_mapping_detail but if i query this
SELECT  dra.repair_number,
  items.description item_desc,
  prob.problem_code,
  fndl.meaning flow_status_name,
  inc.summary,
  nvl(cp.instance_number,'Not availble') ib_instance_number
FROM csd_repairs dra,
  csd_repair_types_tl drtt,
  cs_incidents_all_b sr,
  csi_item_instances cp,
  fnd_lookups fndl,
  csd_flow_statuses_b fsb,
  mtl_system_items_kfv items,
  mtl_units_of_measure_tl uom,
  jtf_rs_resource_extns_tl rstl,
  jtf_rs_groups_tl rgtl,
  fnd_lookups plkup,
  cs_incidents_all_tl inc,
  cs_sr_prob_code_mapping_detail prob,
  cs_incident_types_b ty
WHERE dra.repair_type_id       = drtt.repair_type_id
AND drtt.language              = userenv('LANG')
AND dra.repair_mode            = 'WIP'
AND dra.incident_id            = sr.incident_id
AND dra.CUSTOMER_PRODUCT_ID    = cp.INSTANCE_ID (+)
AND dra.flow_status_id         = fsb.flow_status_id
AND fsb.flow_status_code       = fndl.lookup_code
AND fndl.lookup_type           = 'CSD_REPAIR_FLOW_STATUS'
AND dra.inventory_item_id      = items.inventory_item_id
AND dra.unit_of_measure        = uom.uom_code
AND uom.language               = userenv('LANG')
AND dra.resource_id            = rstl.resource_id (+)
AND rstl.category (+)          = 'EMPLOYEE'
AND rstl.language (+)          = userenv('LANG')
AND dra.owning_organization_id = rgtl.group_id (+)
AND rgtl.language (+)          = userenv('LANG')
AND dra.ro_priority_code       = plkup.lookup_code(+)
AND plkup.lookup_type(+)       = 'CSD_RO_PRIORITY'
AND items.organization_id      = cs_std.get_item_valdn_orgzn_id
AND inc.incident_id            =dra.incident_id
and ty.incident_type_id=sr.incident_type_id
and prob.incident_type_id=ty.incident_type_id
AND fndl.meaning in('Open')
order by dra.repair_number
each diffrent problem codes for same repair number here i am want records relevant to Depot Repair
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 26 2009
Added on Sep 18 2009
1 comment
2,854 views