226: BatchReqID_Array(i) := requestID;
227:
228: if (requestID <= 0) then
229: BatchStatus_Array(i) := 'E';
230: BatchError_Array(i) := 'CP Submission failed: ' ||fnd_message.get;
231: else
232: BatchStatus_Array(i) := 'R';
233: BatchError_Array(i) := null;
234: end if;
378: );
379:
380: if (requestID <= 0) then
381: retcode := '2';
382: errbuf := 'CP Submission failed: ' ||fnd_message.get;
383: FND_FILE.PUT_LINE(FND_FILE.LOG, errbuf);
384: else
385: -- Return 0 for successful completion.
386: errbuf := '';