begin
fnd_global.apps_initialize(&user_id,&responsibility_id,&org_id);
mo_global.init('PO');
end;
To get org id, user id and responsibility id:
select user_id from fnd_user where user_name = ;
select responsibility_id from fnd_responsibility_tl where responsibility_name = ;
select organization_id from mtl_parameters where organization_code = ;
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/26632618/viewspace-2147714/
,如需转载,请注明出处,否则将追究法律责任。