Skip to main content

Notifications

Announcements

No record found.

How to get records from selected company.

GirishS Profile Picture GirishS 27,830 Moderator

Hi All,

In this blog we will learn how to get data from table for the selectable company.

CustTable custTable;
container containerCompany = ['DAT','USMF'];

while select crossCompany :conCompanies
    * from custTable
{
    //do the logic here.
}

In the above code we are declaring the list of companies to the container variable. In the select statement we are mentioning the container using colon operator - This makes the select statement to return only data from the company mentioned in the container variable.

Thanks.

Comments

*This post is locked for comments