|
我以前也用過 HR 的 API, 通常我會寫一個 PL/SQL 程式, 如:
declare
cursor org_data is select * from temp_table;
.....
begin
.....
for sel in org_data loop
.....
AP_PO_VENDORS_APIS_PKG.xxxx(parameter1 => sel.xxxxx, parameter2=> sel.xxxxxx.......);
......
end loop;
......
end;
在 SQL PLUS 上執行也可以 |
|