DBA Data[Home] [Help]

APPS.AR_AUTOREM_API dependencies on APP_EXCEPTION

Line 1127: APP_EXCEPTION.raise_exception;

1123: arp_standard.debug( 'This is an error condition');
1124: arp_standard.debug('Batch is already created.');
1125: fnd_file.put_line( FND_FILE.LOG, 'Batch is already Created.');
1126: FND_MESSAGE.set_name ('AR', 'AR_ARGUEMENTS_FAIL' );
1127: APP_EXCEPTION.raise_exception;
1128: ELSIF l_approve_flag = 'N' AND l_format_flag = 'Y' THEN
1129: arp_standard.debug( 'This is an error condition');
1130: arp_standard.debug('Batch should be Approved before Formatting.');
1131: fnd_file.put_line( FND_FILE.LOG, 'Batch should be Approved before Formatting.');

Line 1133: APP_EXCEPTION.raise_exception;

1129: arp_standard.debug( 'This is an error condition');
1130: arp_standard.debug('Batch should be Approved before Formatting.');
1131: fnd_file.put_line( FND_FILE.LOG, 'Batch should be Approved before Formatting.');
1132: FND_MESSAGE.set_name ('AR', 'AR_ARGUEMENTS_FAIL' );
1133: APP_EXCEPTION.raise_exception;
1134: END IF;
1135: ELSIF l_batch_applied_status = 'COMPLETED_APPROVAL' AND
1136: (l_create_flag = 'Y' OR l_approve_flag = 'Y') THEN
1137: arp_standard.debug( 'This is an error condition');

Line 1141: APP_EXCEPTION.raise_exception;

1137: arp_standard.debug( 'This is an error condition');
1138: arp_standard.debug( 'Batch is already Approved.');
1139: fnd_file.put_line( FND_FILE.LOG, 'Batch is already Approved.');
1140: FND_MESSAGE.set_name ('AR', 'AR_ARGUEMENTS_FAIL' );
1141: APP_EXCEPTION.raise_exception;
1142: ELSIF l_batch_applied_status = 'COMPLETED_FORMAT' AND
1143: (l_create_flag = 'Y' OR l_approve_flag = 'Y' )THEN
1144: arp_standard.debug( 'This is an error condition');
1145: arp_standard.debug( 'Batch is already Formatted.');

Line 1148: APP_EXCEPTION.raise_exception;

1144: arp_standard.debug( 'This is an error condition');
1145: arp_standard.debug( 'Batch is already Formatted.');
1146: fnd_file.put_line( FND_FILE.LOG, 'Batch is already Formatted.');
1147: FND_MESSAGE.set_name ('AR', 'AR_ARGUEMENTS_FAIL' );
1148: APP_EXCEPTION.raise_exception;
1149: END IF;
1150:
1151: END IF;
1152: --Create a batch if the batch id is null

Line 1211: APP_EXCEPTION.raise_exception;

1207: arp_standard.debug( 'This is an error condition');
1208: arp_standard.debug( 'Batch Name is not supplied.');
1209: fnd_file.put_line( FND_FILE.LOG, 'Create is No and No Batch Name is Supplied.');
1210: FND_MESSAGE.set_name ('AR', 'AR_ARGUEMENTS_FAIL' );
1211: APP_EXCEPTION.raise_exception;
1212: ELSE
1213: o_batch_id := p_batch_id;
1214: END IF;
1215: