DBA Data[Home] [Help]

APPS.EAM_WORKORDERS_JSP dependencies on EAM_PROCESS_FAILURE_ENTRY_PUB

Line 1217: l_eam_failure_entry_record eam_process_failure_entry_pub.eam_failure_entry_record_typ ;

1213: l_eam_counter_prop_tbl EAM_PROCESS_WO_PUB.eam_counter_prop_tbl_type;
1214: l_out_eam_counter_prop_tbl EAM_PROCESS_WO_PUB.eam_counter_prop_tbl_type;
1215:
1216: /* Added for FA */
1217: l_eam_failure_entry_record eam_process_failure_entry_pub.eam_failure_entry_record_typ ;
1218: l_eam_failure_codes_tbl eam_process_failure_entry_pub.eam_failure_codes_tbl_typ ;
1219: /* End of FA */
1220:
1221:

Line 1218: l_eam_failure_codes_tbl eam_process_failure_entry_pub.eam_failure_codes_tbl_typ ;

1214: l_out_eam_counter_prop_tbl EAM_PROCESS_WO_PUB.eam_counter_prop_tbl_type;
1215:
1216: /* Added for FA */
1217: l_eam_failure_entry_record eam_process_failure_entry_pub.eam_failure_entry_record_typ ;
1218: l_eam_failure_codes_tbl eam_process_failure_entry_pub.eam_failure_codes_tbl_typ ;
1219: /* End of FA */
1220:
1221:
1222: -- Cursor to fetch system status for corresponding user defined status passed to API.

Line 1600: l_eam_failure_entry_record.transaction_type := EAM_Process_Failure_Entry_PUB.G_FE_UPDATE;

1596: l_eam_failure_codes_tbl(1).resolution_code := p_resolution_code;
1597: l_eam_failure_codes_tbl(1).comments := p_failure_comments;
1598:
1599: IF(l_mode = 1) THEN -- if updating work order
1600: l_eam_failure_entry_record.transaction_type := EAM_Process_Failure_Entry_PUB.G_FE_UPDATE;
1601: l_eam_failure_entry_record.source_type := 1;
1602: l_eam_failure_entry_record.source_id := l_workorder_rec.wip_entity_id;
1603: l_eam_failure_entry_record.object_type := l_workorder_rec.maintenance_object_type;
1604: l_eam_failure_entry_record.object_id := l_workorder_rec.maintenance_object_id;

Line 1610: l_eam_failure_codes_tbl(1).transaction_type := EAM_Process_Failure_Entry_PUB.G_FE_UPDATE;

1606: l_eam_failure_entry_record.current_organization_id := l_workorder_rec.organization_id;
1607: l_eam_failure_entry_record.department_id := l_fail_dept_id;
1608: l_eam_failure_entry_record.area_id := l_eam_location_id;
1609:
1610: l_eam_failure_codes_tbl(1).transaction_type := EAM_Process_Failure_Entry_PUB.G_FE_UPDATE;
1611:
1612: IF (l_eam_failure_entry_record.failure_date IS NULL) THEN
1613: l_eam_failure_entry_record.failure_date := FND_API.G_MISS_DATE;
1614: END IF;

Line 1633: l_eam_failure_entry_record.transaction_type := EAM_Process_Failure_Entry_PUB.G_FE_UPDATE;

1629: l_eam_failure_codes_tbl(1).comments := FND_API.G_MISS_CHAR;
1630: END IF;
1631:
1632: IF (l_eam_failure_entry_record.failure_id IS NOT NULL ) THEN
1633: l_eam_failure_entry_record.transaction_type := EAM_Process_Failure_Entry_PUB.G_FE_UPDATE;
1634: ELSE
1635: IF (l_eam_failure_entry_record.failure_date = FND_API.G_MISS_DATE) THEN
1636: l_eam_failure_entry_record.transaction_type := NULL;
1637: ELSE

Line 1638: l_eam_failure_entry_record.transaction_type := EAM_Process_Failure_Entry_PUB.G_FE_CREATE ;

1634: ELSE
1635: IF (l_eam_failure_entry_record.failure_date = FND_API.G_MISS_DATE) THEN
1636: l_eam_failure_entry_record.transaction_type := NULL;
1637: ELSE
1638: l_eam_failure_entry_record.transaction_type := EAM_Process_Failure_Entry_PUB.G_FE_CREATE ;
1639: END IF;
1640: END IF;
1641:
1642: IF (l_eam_failure_codes_tbl(1).failure_entry_id IS NOT NULL) THEN

Line 1643: l_eam_failure_codes_tbl(1).transaction_type := EAM_Process_Failure_Entry_PUB.G_FE_UPDATE;

1639: END IF;
1640: END IF;
1641:
1642: IF (l_eam_failure_codes_tbl(1).failure_entry_id IS NOT NULL) THEN
1643: l_eam_failure_codes_tbl(1).transaction_type := EAM_Process_Failure_Entry_PUB.G_FE_UPDATE;
1644: l_workorder_rec.eam_failure_codes_tbl(1) := l_eam_failure_codes_tbl(1);
1645: ELSE
1646: IF ( NOT ( (l_eam_failure_codes_tbl(1).failure_code = FND_API.G_MISS_CHAR)
1647: AND (l_eam_failure_codes_tbl(1).cause_code = FND_API.G_MISS_CHAR)

Line 1651: l_eam_failure_codes_tbl(1).transaction_type := EAM_Process_Failure_Entry_PUB.G_FE_CREATE;

1647: AND (l_eam_failure_codes_tbl(1).cause_code = FND_API.G_MISS_CHAR)
1648: AND (l_eam_failure_codes_tbl(1).resolution_code = FND_API.G_MISS_CHAR)
1649: AND (l_eam_failure_codes_tbl(1).comments = FND_API.G_MISS_CHAR)
1650: ) ) THEN
1651: l_eam_failure_codes_tbl(1).transaction_type := EAM_Process_Failure_Entry_PUB.G_FE_CREATE;
1652: IF (l_eam_failure_codes_tbl(1).failure_code = FND_API.G_MISS_CHAR) THEN
1653: l_eam_failure_codes_tbl(1).failure_code := NULL;
1654: END IF;
1655: IF (l_eam_failure_codes_tbl(1).cause_code = FND_API.G_MISS_CHAR) THEN

Line 1674: l_eam_failure_entry_record.transaction_type := EAM_Process_Failure_Entry_PUB.G_FE_CREATE;

1670: END IF;
1671: l_workorder_rec.eam_failure_entry_record := l_eam_failure_entry_record;
1672: ELSE -- work order is getting created
1673:
1674: l_eam_failure_entry_record.transaction_type := EAM_Process_Failure_Entry_PUB.G_FE_CREATE;
1675: l_eam_failure_entry_record.source_type := 1;
1676: l_eam_failure_entry_record.source_id := l_workorder_rec.wip_entity_id;
1677: l_eam_failure_entry_record.object_type := l_workorder_rec.maintenance_object_type;
1678: l_eam_failure_entry_record.object_id := l_workorder_rec.maintenance_object_id;

Line 1689: l_eam_failure_codes_tbl(1).transaction_type := EAM_Process_Failure_Entry_PUB.G_FE_CREATE;

1685: l_eam_failure_entry_record.transaction_type := NULL;
1686: END IF;
1687: l_workorder_rec.eam_failure_entry_record := l_eam_failure_entry_record;
1688:
1689: l_eam_failure_codes_tbl(1).transaction_type := EAM_Process_Failure_Entry_PUB.G_FE_CREATE;
1690: IF ( NOT ( l_eam_failure_codes_tbl(1).failure_code IS NULL
1691: AND l_eam_failure_codes_tbl(1).cause_code IS NULL
1692: AND l_eam_failure_codes_tbl(1).resolution_code IS NULL
1693: AND l_eam_failure_codes_tbl(1).comments IS NULL)

Line 2240: l_eam_failure_entry_record.transaction_type := EAM_Process_Failure_Entry_PUB.G_FE_CREATE;

2236: l_fail_dept_id := l_workorder_rec.owning_department;
2237:
2238: l_workorder_rec.failure_code_required := p_failure_code_required;
2239:
2240: l_eam_failure_entry_record.transaction_type := EAM_Process_Failure_Entry_PUB.G_FE_CREATE;
2241: l_eam_failure_entry_record.source_type := 1;
2242: l_eam_failure_entry_record.source_id := l_workorder_rec.wip_entity_id;
2243: l_eam_failure_entry_record.object_type := l_workorder_rec.maintenance_object_type;
2244: l_eam_failure_entry_record.object_id := l_workorder_rec.maintenance_object_id;

Line 2255: l_eam_failure_codes_tbl(1).transaction_type := EAM_Process_Failure_Entry_PUB.G_FE_CREATE;

2251: l_eam_failure_entry_record.transaction_type :=null;
2252: end if;
2253: l_workorder_rec.eam_failure_entry_record := l_eam_failure_entry_record;
2254:
2255: l_eam_failure_codes_tbl(1).transaction_type := EAM_Process_Failure_Entry_PUB.G_FE_CREATE;
2256: if( not( l_eam_failure_codes_tbl(1).failure_code is null
2257: and l_eam_failure_codes_tbl(1).cause_code is null
2258: and l_eam_failure_codes_tbl(1).resolution_code is null
2259: and l_eam_failure_codes_tbl(1).comments is null