Search This Blog

Monday, January 4, 2010

Quick Tips

CallAppEngine cannot be used in an Application Engine PeopleCode action. If you need to access one Application Engine program from another Application Engine program, use the CallSection action 

The ReturnToServer function returns a value from a PeopleCode application messaging program to the publication or subscription server. You would use this in either your publication or subscription routing code, not in an Component Processor flow event. 

The GetPage function can’t be used until after the page processor has loaded the page. You shouldn’t use this function in an event prior to the PostBuild event. 

PeopleSoft builds a grid one row at a time. Because the Grid class applies to a complete grid, you can’t use the GetGrid function in an event prior to the Activate Event. 

The GetControl function returns a reference to an ActiveX control. You can’t access any controls until after the page processor has loaded the page. You shouldn’t use this function in an event prior to the Activate Event. If you are using Application Messaging, your Publish PeopleCode should go in the SavePostChange event, for either the record or the Component. 

The originating component and the modal component share record fields in a Derived/Work record called a shared work record. The Derived/Work fields of this record provide the two components with an area in memory where they can share data. Edit boxes in both components are associated with the same Derived/Work field, so that changes made to this field in the originating component are reflected in the modal component, and vice versa. 

If you have a large component that’s timing out, you can increase the Internet/Tuxedo timeout.Modify the pstools.properties file (if you choose the defaults when you set up your web site, this file resides in the c:\Program Files\Apache Group\Apache\htdocs\peoplesoft8 directory.)Increase the values for the following lines:
tuxedo_network_disconnet_timeout=0;tuxedo_send_timeout=50;tuxedo_receive_timeout=600

No comments:

Post a Comment