What is the difference between %Select and %SelectInit in
Application Engine Peoplecode.

Answer Posted / hari.sidd

%SELECT() AND %SELECTINIT() BOTH ARE USED TO PUSH VALUES
INTO A STATE RECORD IN AN APP ENG PROG.

BOTH WORKS THE SAME WHEN A ROW IS RETRIEVED,BUT WHEN
THE "SELECT STATEMENT ASSOSIATED IS NOT RETRIEVING A ROW "
THEN

A)
%SELECT():-NO NEW ROW OF DATA IS PUSHED INTO STATE RECORD
THER BY THE STATE RECORD CONTAINS THE OLD DATA SINCE NO NEW
VALUES ARE INTIALIZED.

B)
%SELECTINIT():-NO NEW ROW OF DATA IS PUSHED INTO STATE
RECORD BUT THE FILEDS IN THE STATE RECORD INTIALIZED
TO "NULL".

Is This Answer Correct ?    9 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can a component have more than one search record? Give a situation.

698


What is mandatory property of app.engine?

772


What is the purpose of the sqlexec function?

695


Explain how to taken care performance management in people tools?

662


What is the purpose of the sqlexec function? What are its benefits and draw backs?

646


What is tree manager?

725


Explain what is record meta data?

668


What is file layout definitions?

714


What is field meta data?

683


Which http servers and java servlet engine combinations are supported with peopletools 8.4?

713


Explain what is message catalog?

776


Explain the use of set control field in record field properties?

626


Can you please explain the difference between temporary table and sql view in peoplesoft?

711


What conditions are required to establish parent child relationship between two records? What are the advantages with that?

752


When we select a component what events will be fired?

614