627: );
628: /* dbms_output.put_line('After Validate_failure_entry_record'); */
629: IF (NOT l_return_status) THEN
630: /* dbms_output.put_line('failure_entry_record is not valid'); */
631: FND_MESSAGE.SET_NAME ('EAM', l_reason_failed);
632: IF ( l_token_name is not null AND l_token_value IS NOT NULL )
633: THEN
634: fnd_message.set_token
635: ( token => l_token_name
630: /* dbms_output.put_line('failure_entry_record is not valid'); */
631: FND_MESSAGE.SET_NAME ('EAM', l_reason_failed);
632: IF ( l_token_name is not null AND l_token_value IS NOT NULL )
633: THEN
634: fnd_message.set_token
635: ( token => l_token_name
636: , value => l_token_value
637: );
638: END IF;
644: /* dbms_output.put_line('After Validate_failure_entry_record1'); */
645: --Please Enter a Valid Transaction typ:
646: --1: Failure Information Entry
647: --2: Failure Information Update
648: FND_MESSAGE.SET_NAME ('EAM', 'EAM_FA_INVALID_TXN_TYPE');
649: FND_MSG_PUB.Add;
650: RAISE FND_API.G_EXC_ERROR;
651: /* dbms_output.put_line('After Validate_failure_entry_record2'); */
652:
739: , x_return_status => l_return_status
740: );
741: /* dbms_output.put_line('Just After Validating the data into eam_asset_failures_codes'); */
742: IF (NOT l_return_status ) THEN
743: FND_MESSAGE.SET_NAME ('EAM', l_reason_failed);
744: IF ( l_token_name is not null AND l_token_value IS NOT NULL )
745: THEN
746: fnd_message.set_token
747: ( token => l_token_name
742: IF (NOT l_return_status ) THEN
743: FND_MESSAGE.SET_NAME ('EAM', l_reason_failed);
744: IF ( l_token_name is not null AND l_token_value IS NOT NULL )
745: THEN
746: fnd_message.set_token
747: ( token => l_token_name
748: , value => l_token_value
749: );
750: END IF;