Business Unit Lookup in Form

Just add the below code in lookup() of StringEdit control in Form to get the Business Unit Lookup:

public void lookup()
{
Query query;
SysTableLookup sysTableLookup;
super();

//DimAttributeOMBusinessUnit is a View
sysTableLookup = SysTableLookup::newParameters(tableNum(DimAttributeOMBusinessUnit), this);

sysTableLookup.addLookupfield(fieldNum(DimAttributeOMBusinessUnit, Value));
sysTableLookup.addLookupfield(fieldNum(DimAttributeOMBusinessUnit, Name));

query = new Query();

query.addDataSource(tableNum(DimAttributeOMBusinessUnit));

sysTableLookup.parmQuery(query);

sysTableLookup.performFormLookup();

}
时间: 2024-08-07 12:14:57

Business Unit Lookup in Form的相关文章

Freebie - Utility Form: Generate Excel Report From SQL Query In Oracle Forms 6i And 11g

Sharing a form to generate Excel file report from SQL query in Oracle Forms. This form can be used in Oracle Forms 6i and 10g / 11g. Below is the screen shot of this form and could be download from the following link: Excel_Rep.Fmb A procedure Create

DWZ LookUp Suggest 教程

单个查找带回 jsp 代码 lookup.jsp <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <h2 class="contentTitle">suggest+lookup</h2> <form action="demo/common/ajaxDo

Tiny框架2.0版火热推出

方法论 方法论决定了可以达到的高度 方法论,就是人们认识世界.改造世界的根本方法. 它是人们用什么样的方式.方法来观察事物和处理问题.概括地说,世界观主要解决世界"是什么"的问题,方法论主要解决"怎么办"的问题. 方法论是一种以解决问题为目标的体系或系统,通常涉及对问题阶段.任务.工具.方法技巧的论述.方法论会对一系列具体的方法进行分析研究.系统总结并最终提出较为一般性的原则. 方法论也是一个哲学概念.人们关于"世界是什么.怎么样"的根本观点是世

API Design

REST API Design Guidelines V 1.0.201208 Draft 5 Last Updated: 08/31/2012 1       简介 本文档旨在规范REST API的设计和开发. 1.1      REST API目标 REST API允许Newegg内部和外部开发人员通过编程方式访问Newegg系统的各种对象与资源. REST API需最大限度地满足平台无关性. 2       REST基本原则 REST全称“Representational State Tr

Dynamics CRM 2016 Web API 消息列表

Function Name Description CalculateTotalTimeIncident Function Calculates the total time, in minutes, that you used while you worked on an incident (case). CheckPromoteEmail Function Contains the data that is needed to check whether the incoming email

Method and Apparatus for Providing Highly-Scalable Network Storage for Well-Gridded Objects

An apparatus comprising a plurality of storage nodes comprising a plurality of corresponding storage disks and configured to store data in a distributed manner between the storage disks that achieves a Redundant Array of Independent Disks-0 (RAID0) l

在ASP.NET开发中一些单词的标准缩写

有些词可能共用一些缩写.带星号的缩写或词来源于PeopleSoft标准. The following standard word abbreviations should be used in naming records, fields, and SQRs: Word(s) Abbreviation Description AbbreviateAbbreviation ABRV   Academic ACAD   AcceptAcceptanceAccepted ACPT   Access A

C++ Under the Hood

转:http://www.openrce.org/articles/files/jangrayhood.pdf The original article is taken from http://msdn.microsoft.com/archive/enus/dnarvc/html/jangrayhood.asp. Illustrations are taken fromhttp://www.microsoft.com/japan/msdn/vs_previous/visualc/techmat

Dynamices CRM Permission Issue (Security role UI to privilege mapping)&#39;s solution

select * from privilege where  privilegeid = 'a4736385-9763-4a64-a44b-cd5933edc631' Security role UI to privilege mapping Dynamics CRM 2013 Applies To: Microsoft Dynamics CRM 2013, Microsoft Dynamics CRM Online This topic provides a mapping of the se