function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
MunmunMunmun 

Regarding apex coding

Hi Its me again....

 

 

In orcle  inside one procedure  we are calling  another 3 procedure.....

 

 

 

How to do this thing in apex.

 

example..

1st procedure.Get_date procedure -- select sysdate from Dual.

 

2nd.prcedure. select  id,Name, from  account;

                             it will invoke the  1st procedure.

 

how to doit in apex coding

 

 

Pradeep_NavatarPradeep_Navatar

Here are methods in Apex for this purpose. Methods are the class member defined within the class. And you can call one method from another method.

 

Public class ABC

{

 

 Public void display()            // This is the 1st method

 {

   //  do something…

 }

 

 Public void show()              // This is 2nd method         

 {

   // do something…

 

   Display();           //  here we are calling 1st method

 

   //  do something…..

 }

 

}

MunmunMunmun

Hi Thanks its really help ful

MunmunMunmun
Hi, Thanks its Really helpful, Can u tell me how to create task inside the task using apex coding. Can we also create task from case using apex coding. Regards Munmun