What is RowInit event in PeopleCode?
RowInit is not field-specific. It triggers PeopleCode on all fields and on all rows in the component buffer. Do not use Error or Warning statements in RowInit PeopleCode. They cause a runtime error.
Which three actions occur during the component build process?
Component build processing in add mode. Field modification. Row insert processing.
What are three standard system edits that the component processor performs on a field?
The Component Processor performs standard system edits….Field Modification.
System Edits | Location of Execution |
---|---|
Prompt table | Application server |
Translate table | Browser |
What is PeopleSoft think time function?
Think-time functions suspend processing either until the user has taken some action (such as clicking a button in a message box) or until an external process has run to completion (for example, a remote process). Avoid think-time functions in the following PeopleCode events: SavePreChange.
What is the difference between component buffer and data buffer?
Component buffer contains data of the currently active component. Data buffer contains the data of the currently active peoplesoft application it can be from a component, an application engine or application message. If the level 0 rowset is formed from a component buffer data the level 0 contains only one row of data.
What is PeopleSoft component interface?
A component interface enables exposure of a PeopleSoft component (a set of pages grouped together for a business purpose) for synchronous access from another application (such as PeopleCode, Java, C/C++, COM, or XML).
Which PeopleCode statement should you use to instantiate a row object for the current row?
The GetRowset method creates a rowset object that references a child rowset of the current row. scrollname must specify the primary record for the child rowset. Specify a rowset to be used for instantiating the rowset object. You can specify either n or SCROLL.
How do you use WinMessage in PeopleCode?
WinMessage can also be used for branching based on end user choice, in which case the message box contains two or more buttons (such as OK and Cancel or Yes, No, and Cancel). The value returned by the function tells you which button the end user clicked, and your code can branch based on that value.
How do I access component buffer in PeopleCode?
To access the same field in the component buffer, PeopleCode must:
- Specify a scroll area and row on scroll level one: this selects a subset of dependent rows on level two.
- Specify a scroll area and row on scroll level two.
- Specify the recordname. fieldname on the level two row.
What is difference between cache and buffer?
1. Buffer is used to compensate for difference in speed between two processes that exchange or use data. Cache is a smaller and fastest memory component in the computer.
What is the difference between memory and buffer?
Memory is a storage space where instructions and data, regarding programs, are stored. Buffer and stack both are the small section of the memory. Buffer stores data temporarily while execution of the program.
How do you call a component interface in PeopleCode?
To generate a PeopleCode template for a component interface:
- Open the desired component interface definition in PeopleSoft Application Designer.
- Insert the component interface into a project.
- Open the PeopleCode editor.
- Select the component interface from the project workspace.
What is process scheduler in PeopleSoft?
PeopleSoft Process Scheduler is a centralized tool that enables application developers, system administrators, and application users to manage PeopleSoft batch processes. Using PeopleSoft Pure Internet Architecture, you can access a list of processes through a web browser and queue and run a process request.
What is Rowset in PeopleCode?
In an Application Engine program, a rowset object is the equivalent of a record object that contains one row and a single record, that is, the State Record. PeopleSoft suggests using the Record object instead of a rowset object to obtain access to the State Record.
How do you refresh the grid in PeopleCode?
If you select the rowset through peoplecode that the grid is based on, you can call the refresh method. This only refreshes that rowset and any child rowsets.
What is difference between spooling and buffering?
The key difference between spooling and buffering is that Spooling can handle the input/output of one job along with the computation of another job at the same time while buffering handles input/output of one job along with its computation. Spooling stands for Simultaneous Peripheral Operation online.
What is difference between register and cache memory?
The cache memory stores all the frequently used data and instructions of a device in it. Thus, it speeds up the overall performance and process of the computer. The register, on the other hand, only holds a piece of info, such as a computer instruction or the storage address of any particular information, etc.
Is cache same as buffer?
Buffer is an area of memory used to temporarily store data while it’s being moved from one place to another. Cache is a temporary storage area used to store frequently accessed data for rapid access.
How does rowinit PeopleCode work?
As part of building the component, the Component Processor initiates the RowInit event. This event triggers RowInit PeopleCode programs on every record field on every row of data in the component. In a scroll area with multiple rows of data, every RowInit PeopleCode program is executed once for each row.
What is the difference between rowdelete and rowinsert PeopleCode?
RowInsert PeopleCode can be associated with record fields and component records. The RowDelete event is initiated whenever a user attempts to delete a row of data from a page scroll area.
What is rowinit event in Salesforce?
The RowInit event is initiated the first time that the Component Processor encounters a row of data. Use it to set the initial state of component controls during component build processing and row insert processing. The RowInit event also occurs after a Select or SelectAll Rowset method, or a ScrollSelect or related function, is executed.
Why does the rowinit and rowinsert code run twice?
If the RowInit and RowInsert code is same, the code will run twice. The RowInsert event triggers PeopleCode on any field on the inserted row of data.