143:
144: begin
145:
146: if G_debug_level >= i_level then
147: fnd_message.set_name(i_app_short_name,i_message_name);
148:
149: if ( i_token1 is not null ) and ( i_value1 is not null ) then
150: fnd_message.set_token(i_token1,i_value1);
151: end if;
146: if G_debug_level >= i_level then
147: fnd_message.set_name(i_app_short_name,i_message_name);
148:
149: if ( i_token1 is not null ) and ( i_value1 is not null ) then
150: fnd_message.set_token(i_token1,i_value1);
151: end if;
152: if ( i_token2 is not null ) and ( i_value2 is not null ) then
153: fnd_message.set_token(i_token2,i_value2);
154: end if;
149: if ( i_token1 is not null ) and ( i_value1 is not null ) then
150: fnd_message.set_token(i_token1,i_value1);
151: end if;
152: if ( i_token2 is not null ) and ( i_value2 is not null ) then
153: fnd_message.set_token(i_token2,i_value2);
154: end if;
155: if ( i_token3 is not null ) and ( i_value3 is not null ) then
156: fnd_message.set_token(i_token3,i_value3);
157: end if;
152: if ( i_token2 is not null ) and ( i_value2 is not null ) then
153: fnd_message.set_token(i_token2,i_value2);
154: end if;
155: if ( i_token3 is not null ) and ( i_value3 is not null ) then
156: fnd_message.set_token(i_token3,i_value3);
157: end if;
158: if ( i_token4 is not null ) and ( i_value4 is not null ) then
159: fnd_message.set_token(i_token4,i_value4);
160: end if;
155: if ( i_token3 is not null ) and ( i_value3 is not null ) then
156: fnd_message.set_token(i_token3,i_value3);
157: end if;
158: if ( i_token4 is not null ) and ( i_value4 is not null ) then
159: fnd_message.set_token(i_token4,i_value4);
160: end if;
161: if ( i_token5 is not null ) and ( i_value5 is not null ) then
162: fnd_message.set_token(i_token5,i_value5);
163: end if;
158: if ( i_token4 is not null ) and ( i_value4 is not null ) then
159: fnd_message.set_token(i_token4,i_value4);
160: end if;
161: if ( i_token5 is not null ) and ( i_value5 is not null ) then
162: fnd_message.set_token(i_token5,i_value5);
163: end if;
164: if ( i_token6 is not null ) and ( i_value6 is not null ) then
165: fnd_message.set_token(i_token6,i_value6);
166: end if;
161: if ( i_token5 is not null ) and ( i_value5 is not null ) then
162: fnd_message.set_token(i_token5,i_value5);
163: end if;
164: if ( i_token6 is not null ) and ( i_value6 is not null ) then
165: fnd_message.set_token(i_token6,i_value6);
166: end if;
167:
168: fnd_file.put_line(FND_FILE.LOG, INDENT_TEXT(0)||fnd_message.get);
169: end if;
164: if ( i_token6 is not null ) and ( i_value6 is not null ) then
165: fnd_message.set_token(i_token6,i_value6);
166: end if;
167:
168: fnd_file.put_line(FND_FILE.LOG, INDENT_TEXT(0)||fnd_message.get);
169: end if;
170:
171: exception
172: when others then