Solution 1:Ask your DBA to UP SMTP server.
Solution 2:make sure that you have filled all the feilds in the page or attach specified files if any.
These are the only reasons of above error.
When you open any page in a component, the system retrieves all of the data records for the entire component and stores them in one set of record buffers, organized by scroll level and then by page level. This component buffer consists of rows of buffer fields that hold data for the various records that are associated with page controls, including the primary records; related display records, derived work records, and translate table records.
PeopleCode frequently must refer to data in the Component Buffer, that is, the area in memory that stores data for the currently active component.
There are two methods of specifying a piece of data in the Component Buffer from within PeopleCode:
-------- Contextual references, which refer to data relative to the location of the currently executing PeopleCode program.
-------- References using scroll path syntax, which provide a complete, or absolute, path through the Component Buffer to the referenced component.
The component buffer contain current active component data it is temporary memory area .
Record Level peoplecode:
The peoplecode written on the Recoed level Peoplecode will affect all the Components in which that particular record is used, and if we want to execute the record peoplecode for particular Component then we would need to add following code in before existing peoplecode
If %component = component.<Component Name> [statement_list_1]
[Else
[statement_list_2]]
End-If;
Component Level Peoplecode:
The component level Peoplecode works only for that particular component and if any record in the component is referenced by component level peoplecode then it would not effect any other component where same record is used as it was doing in above case.
Sequence: first Record level peoplecode will fire and then Component level peoplecode.
As far as sequence is concerned
SQL Object is a peopletool definition which can be created using app designer as well as using peoplecode command CREATESQL( ) , it is mainly used for reuseablility of the sql statements. so whenever this statement is required no need to hard code, just create an sql object of the same and use where ever it is required.
sqlexec is a peoplesoft delivered function used to retrive only one row and u can update multiple rows of data. It directly interacts with the database.
REM can be used to comment a single line, but it will be processed by the comp. processor;
Single and multiple line commenting:
/* PeopleCode stmts
------ ------ ------ ----
*/
Nested Comments:
<*
/* PC Stmts ...... ..... ..... */
/* ...... Some info on code ...... */
/* More comments */
*>
Webmaster 23rd of May 2012
Tell us what you feel about PeopleCode Interview Questions and Answers
All comments will be published after review. No login or registration is required to post a comment on PeopleCode Interview Questions and Answers We offer and invite you to submit your valuable comment now; Please be respectful of others when commenting. Insulting others, self-promotional comments, website promotional comments, marketing stuff, SEO Techniques, SMS-style content and off-topic comments will not be approved at this information portal.
So start sharing your thoughts regarding PeopleCode Interview Questions and Answers
Thank you.