DBA Data[Home] [Help]

APPS.AR_AUTOREM_API dependencies on APP_EXCEPTION

Line 1075: APP_EXCEPTION.raise_exception;

1071: arp_standard.debug( 'This is an error condition');
1072: arp_standard.debug('Batch is already created.');
1073: fnd_file.put_line( FND_FILE.LOG, 'Batch is already Created.');
1074: FND_MESSAGE.set_name ('AR', 'AR_ARGUEMENTS_FAIL' );
1075: APP_EXCEPTION.raise_exception;
1076: ELSIF l_approve_flag = 'N' AND l_format_flag = 'Y' THEN
1077: arp_standard.debug( 'This is an error condition');
1078: arp_standard.debug('Batch should be Approved before Formatting.');
1079: fnd_file.put_line( FND_FILE.LOG, 'Batch should be Approved before Formatting.');

Line 1081: APP_EXCEPTION.raise_exception;

1077: arp_standard.debug( 'This is an error condition');
1078: arp_standard.debug('Batch should be Approved before Formatting.');
1079: fnd_file.put_line( FND_FILE.LOG, 'Batch should be Approved before Formatting.');
1080: FND_MESSAGE.set_name ('AR', 'AR_ARGUEMENTS_FAIL' );
1081: APP_EXCEPTION.raise_exception;
1082: END IF;
1083: ELSIF l_batch_applied_status = 'COMPLETED_APPROVAL' AND
1084: (l_create_flag = 'Y' OR l_approve_flag = 'Y') THEN
1085: arp_standard.debug( 'This is an error condition');

Line 1089: APP_EXCEPTION.raise_exception;

1085: arp_standard.debug( 'This is an error condition');
1086: arp_standard.debug( 'Batch is already Approved.');
1087: fnd_file.put_line( FND_FILE.LOG, 'Batch is already Approved.');
1088: FND_MESSAGE.set_name ('AR', 'AR_ARGUEMENTS_FAIL' );
1089: APP_EXCEPTION.raise_exception;
1090: ELSIF l_batch_applied_status = 'COMPLETED_FORMAT' AND
1091: (l_create_flag = 'Y' OR l_approve_flag = 'Y' )THEN
1092: arp_standard.debug( 'This is an error condition');
1093: arp_standard.debug( 'Batch is already Formatted.');

Line 1096: APP_EXCEPTION.raise_exception;

1092: arp_standard.debug( 'This is an error condition');
1093: arp_standard.debug( 'Batch is already Formatted.');
1094: fnd_file.put_line( FND_FILE.LOG, 'Batch is already Formatted.');
1095: FND_MESSAGE.set_name ('AR', 'AR_ARGUEMENTS_FAIL' );
1096: APP_EXCEPTION.raise_exception;
1097: END IF;
1098:
1099: END IF;
1100: --Create a batch if the batch id is null

Line 1154: APP_EXCEPTION.raise_exception;

1150: arp_standard.debug( 'This is an error condition');
1151: arp_standard.debug( 'Batch Name is not supplied.');
1152: fnd_file.put_line( FND_FILE.LOG, 'Create is No and No Batch Name is Supplied.');
1153: FND_MESSAGE.set_name ('AR', 'AR_ARGUEMENTS_FAIL' );
1154: APP_EXCEPTION.raise_exception;
1155: ELSE
1156: o_batch_id := p_batch_id;
1157: END IF;
1158: