How to invoke Standard Choose Organizations Form From your form

来源:互联网 发布:克里斯·邓恩数据 编辑:程序博客网 时间:2024/06/05 12:47

Step1: Create 4 parameters in your custom form,ORG_ID,ORG_CODE,ORG_NAME,CHART_OF_ACCOUNTS_ID

Attributes like below

Step2: Pre-Form Trigger, call FND_ORG.CHOOSE_ORG;

(FND_ORG.CHOOSE_ORG定义在FNDSQF.pll文件中)

And you are all set, the list of Orgs appearing will be from the Organization Access defined for the current responsibility.



------------------------------------------------------------------------------------------------------

FND_ORG.CHOOSE_ORG

VariableDescription Summary
procedure  FND_ORG.CHOOSE_ORG(allow_cancel   IN    boolean    default FALSE);
DescriptionCall this procedure in PRE-FORM to ensure the organization parameters are set. If the local form has no organization parameters passed, the global defaults are used. If the global organization defaults are not set, the procedure opens the organization LOV to force an organization selection.VariableDescription allow_cancelAllow cancelation of the LOV without forcing a choice. The default is FALSE.


原创粉丝点击