96: if l_req_id = 0 then
97:
98: errbuf := fnd_message.get ;
99: retcode := 2 ;
100: raise fnd_api.g_exc_error ;
101:
102: end if;
103:
104: -- Load lookup AR data
119: if l_req_id = 0 then
120:
121: errbuf := fnd_message.get ;
122: retcode := 2 ;
123: raise fnd_api.g_exc_error ;
124:
125: end if;
126:
127: -- Load GL categories
142: if l_req_id = 0 then
143:
144: errbuf := fnd_message.get ;
145: retcode := 2 ;
146: raise fnd_api.g_exc_error ;
147:
148: end if;
149: -- Load GL Sources
150:
164: if l_req_id = 0 then
165:
166: errbuf := fnd_message.get ;
167: retcode := 2 ;
168: raise fnd_api.g_exc_error ;
169:
170: end if;
171:
172: end loop ;
182: retcode := 0 ;
183:
184: EXCEPTION
185: --
186: WHEN FND_API.G_EXC_ERROR THEN
187: --
188: ROLLBACK TO Run_Process_PVT ;
189: retcode := 2 ;
190: --
187: --
188: ROLLBACK TO Run_Process_PVT ;
189: retcode := 2 ;
190: --
191: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
192: --
193: ROLLBACK TO Run_Process_PVT ;
194: retcode := 2 ;
195: --
414: IF l_req_id = 0
415: THEN
416: vp_errbuf := fnd_message.get;
417: vp_retcode := -1;
418: raise fnd_api.g_exc_error;
419: END IF;
420: END LOOP; -- ldts
421: --Bug#3739019
422: /*