DBA Data[Home] [Help]

APPS.EAM_WORKORDERS_JSP dependencies on EAM_PROCESS_FAILURE_ENTRY_PUB

Line 1195: l_eam_failure_entry_record eam_process_failure_entry_pub.eam_failure_entry_record_typ ;

1191: l_eam_counter_prop_tbl EAM_PROCESS_WO_PUB.eam_counter_prop_tbl_type;
1192: l_out_eam_counter_prop_tbl EAM_PROCESS_WO_PUB.eam_counter_prop_tbl_type;
1193:
1194: /* Added for FA */
1195: l_eam_failure_entry_record eam_process_failure_entry_pub.eam_failure_entry_record_typ ;
1196: l_eam_failure_codes_tbl eam_process_failure_entry_pub.eam_failure_codes_tbl_typ ;
1197: /* End of FA */
1198:
1199:

Line 1196: l_eam_failure_codes_tbl eam_process_failure_entry_pub.eam_failure_codes_tbl_typ ;

1192: l_out_eam_counter_prop_tbl EAM_PROCESS_WO_PUB.eam_counter_prop_tbl_type;
1193:
1194: /* Added for FA */
1195: l_eam_failure_entry_record eam_process_failure_entry_pub.eam_failure_entry_record_typ ;
1196: l_eam_failure_codes_tbl eam_process_failure_entry_pub.eam_failure_codes_tbl_typ ;
1197: /* End of FA */
1198:
1199:
1200: -- Cursor to fetch system status for corresponding user defined status passed to API.

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

1565: l_eam_failure_codes_tbl(1).resolution_code := p_resolution_code;
1566: l_eam_failure_codes_tbl(1).comments := p_failure_comments;
1567:
1568: IF(l_mode = 1) THEN -- if updating work order
1569: l_eam_failure_entry_record.transaction_type := EAM_Process_Failure_Entry_PUB.G_FE_UPDATE;
1570: l_eam_failure_entry_record.source_type := 1;
1571: l_eam_failure_entry_record.source_id := l_workorder_rec.wip_entity_id;
1572: l_eam_failure_entry_record.object_type := l_workorder_rec.maintenance_object_type;
1573: l_eam_failure_entry_record.object_id := l_workorder_rec.maintenance_object_id;

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

1575: l_eam_failure_entry_record.current_organization_id := l_workorder_rec.organization_id;
1576: l_eam_failure_entry_record.department_id := l_fail_dept_id;
1577: l_eam_failure_entry_record.area_id := l_eam_location_id;
1578:
1579: l_eam_failure_codes_tbl(1).transaction_type := EAM_Process_Failure_Entry_PUB.G_FE_UPDATE;
1580:
1581: IF (l_eam_failure_entry_record.failure_date IS NULL) THEN
1582: l_eam_failure_entry_record.failure_date := FND_API.G_MISS_DATE;
1583: END IF;

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

1598: l_eam_failure_codes_tbl(1).comments := FND_API.G_MISS_CHAR;
1599: END IF;
1600:
1601: IF (l_eam_failure_entry_record.failure_id IS NOT NULL ) THEN
1602: l_eam_failure_entry_record.transaction_type := EAM_Process_Failure_Entry_PUB.G_FE_UPDATE;
1603: ELSE
1604: IF (l_eam_failure_entry_record.failure_date = FND_API.G_MISS_DATE) THEN
1605: l_eam_failure_entry_record.transaction_type := NULL;
1606: ELSE

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

1603: ELSE
1604: IF (l_eam_failure_entry_record.failure_date = FND_API.G_MISS_DATE) THEN
1605: l_eam_failure_entry_record.transaction_type := NULL;
1606: ELSE
1607: l_eam_failure_entry_record.transaction_type := EAM_Process_Failure_Entry_PUB.G_FE_CREATE ;
1608: END IF;
1609: END IF;
1610:
1611: IF (l_eam_failure_codes_tbl(1).failure_entry_id IS NOT NULL) THEN

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

1608: END IF;
1609: END IF;
1610:
1611: IF (l_eam_failure_codes_tbl(1).failure_entry_id IS NOT NULL) THEN
1612: l_eam_failure_codes_tbl(1).transaction_type := EAM_Process_Failure_Entry_PUB.G_FE_UPDATE;
1613: l_workorder_rec.eam_failure_codes_tbl(1) := l_eam_failure_codes_tbl(1);
1614: ELSE
1615: IF ( NOT ( (l_eam_failure_codes_tbl(1).failure_code = FND_API.G_MISS_CHAR)
1616: AND (l_eam_failure_codes_tbl(1).cause_code = FND_API.G_MISS_CHAR)

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

1616: AND (l_eam_failure_codes_tbl(1).cause_code = FND_API.G_MISS_CHAR)
1617: AND (l_eam_failure_codes_tbl(1).resolution_code = FND_API.G_MISS_CHAR)
1618: AND (l_eam_failure_codes_tbl(1).comments = FND_API.G_MISS_CHAR)
1619: ) ) THEN
1620: l_eam_failure_codes_tbl(1).transaction_type := EAM_Process_Failure_Entry_PUB.G_FE_CREATE;
1621: IF (l_eam_failure_codes_tbl(1).failure_code = FND_API.G_MISS_CHAR) THEN
1622: l_eam_failure_codes_tbl(1).failure_code := NULL;
1623: END IF;
1624: IF (l_eam_failure_codes_tbl(1).cause_code = FND_API.G_MISS_CHAR) THEN

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

1639: END IF;
1640: l_workorder_rec.eam_failure_entry_record := l_eam_failure_entry_record;
1641: ELSE -- work order is getting created
1642:
1643: l_eam_failure_entry_record.transaction_type := EAM_Process_Failure_Entry_PUB.G_FE_CREATE;
1644: l_eam_failure_entry_record.source_type := 1;
1645: l_eam_failure_entry_record.source_id := l_workorder_rec.wip_entity_id;
1646: l_eam_failure_entry_record.object_type := l_workorder_rec.maintenance_object_type;
1647: l_eam_failure_entry_record.object_id := l_workorder_rec.maintenance_object_id;

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

1654: l_eam_failure_entry_record.transaction_type := NULL;
1655: END IF;
1656: l_workorder_rec.eam_failure_entry_record := l_eam_failure_entry_record;
1657:
1658: l_eam_failure_codes_tbl(1).transaction_type := EAM_Process_Failure_Entry_PUB.G_FE_CREATE;
1659: IF ( NOT ( l_eam_failure_codes_tbl(1).failure_code IS NULL
1660: AND l_eam_failure_codes_tbl(1).cause_code IS NULL
1661: AND l_eam_failure_codes_tbl(1).resolution_code IS NULL
1662: AND l_eam_failure_codes_tbl(1).comments IS NULL)

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

2205: l_fail_dept_id := l_workorder_rec.owning_department;
2206:
2207: l_workorder_rec.failure_code_required := p_failure_code_required;
2208:
2209: l_eam_failure_entry_record.transaction_type := EAM_Process_Failure_Entry_PUB.G_FE_CREATE;
2210: l_eam_failure_entry_record.source_type := 1;
2211: l_eam_failure_entry_record.source_id := l_workorder_rec.wip_entity_id;
2212: l_eam_failure_entry_record.object_type := l_workorder_rec.maintenance_object_type;
2213: l_eam_failure_entry_record.object_id := l_workorder_rec.maintenance_object_id;

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

2220: l_eam_failure_entry_record.transaction_type :=null;
2221: end if;
2222: l_workorder_rec.eam_failure_entry_record := l_eam_failure_entry_record;
2223:
2224: l_eam_failure_codes_tbl(1).transaction_type := EAM_Process_Failure_Entry_PUB.G_FE_CREATE;
2225: if( not( l_eam_failure_codes_tbl(1).failure_code is null
2226: and l_eam_failure_codes_tbl(1).cause_code is null
2227: and l_eam_failure_codes_tbl(1).resolution_code is null
2228: and l_eam_failure_codes_tbl(1).comments is null