135: END IF;
136: -- End of wraper code generated automatically by Debug code generator for OKL_LTE_INT_PUB.calculate_late_interest
137:
138:
139: l_msg_count := fnd_msg_pub.count_msg;
140: IF l_msg_count > 0 THEN
141:
142: l_mesg := substr(fnd_msg_pub.get(fnd_msg_pub.G_FIRST, fnd_api.G_FALSE), 1, 512);
143:
138:
139: l_msg_count := fnd_msg_pub.count_msg;
140: IF l_msg_count > 0 THEN
141:
142: l_mesg := substr(fnd_msg_pub.get(fnd_msg_pub.G_FIRST, fnd_api.G_FALSE), 1, 512);
143:
144: FOR i IN 1..(l_msg_count - 1) LOOP
145: l_mesg := l_mesg ||
146: substr(fnd_msg_pub.get(fnd_msg_pub.G_NEXT,fnd_api.G_FALSE), 1, 512);
142: l_mesg := substr(fnd_msg_pub.get(fnd_msg_pub.G_FIRST, fnd_api.G_FALSE), 1, 512);
143:
144: FOR i IN 1..(l_msg_count - 1) LOOP
145: l_mesg := l_mesg ||
146: substr(fnd_msg_pub.get(fnd_msg_pub.G_NEXT,fnd_api.G_FALSE), 1, 512);
147: END LOOP;
148:
149: fnd_msg_pub.delete_msg();
150:
145: l_mesg := l_mesg ||
146: substr(fnd_msg_pub.get(fnd_msg_pub.G_NEXT,fnd_api.G_FALSE), 1, 512);
147: END LOOP;
148:
149: fnd_msg_pub.delete_msg();
150:
151: l_mesg_len := length(l_mesg);
152: fnd_file.put_line(fnd_file.log, 'Error: ');
153: fnd_file.put_line(fnd_file.output, 'Error: ');