What is the difference between component level peoplecode and record level peoplecode?
Answer posted by Ramya on 2005-03-09 04:59:47: Component and Record level PeopleCode are executed when the control is passed to the associated Component and Component containing the record respectively. Since a single record might be associated with several different Components, It is posiible to trigger the same Record PeopleCode from several components while the component level code is associated with a unique component.
In the context of both the peoplecode. The record level peoplecode will be fire first then component level peoplecode.one record level peoplecode might be associated with several different Components, so that It is posiible to trigger the same Record PeopleCode from several components while the component level code is associated with a unique component.
RE: What is the difference between component level peoplecode and record level peoplecode?
Component and Record level PeopleCode are executed when the control is passed to the associated Component and Component containing the record respectively. Since a single record might be associated with several different Components It is posiible to trigger the same Record PeopleCode from several components while the component level code is associated with a unique component.
RE: What is the diff b/w component level peoplecode an...
In the context of both the peoplecode. The record level peoplecode will be fire first then component level peoplecode.one record level peoplecode might be associated with several different Components so that It is posiible to trigger the same Record PeopleCode from several components while the component level code is associated with a unique component.
RE: What is the diff b/w component level peoplecode an...
Record level people code will be attached to the record and anywhere we use the record the peoplecode with it will be fired.
Component level peoplecode will be attached to the component and not to the record. So even if we reuse the record we will not have the peoplecode attached to it. Hence writing peoplecode in component level is more efficient.
RE: What is the diff b/w component level peoplecode an...
For Example
You have written same code at component level as well as record level then while executing the code component level code was overridden by the record level code