The AESection PeopleCode class enables you to change the properties of an Application Engine program section dynamically, without having to modify any of the Application Engine tables directly. This capability enables you to develop rule-based applications that conform dynamically to variables that a user submits through a page, such as the Application Engine Request page.
AESection PeopleCode类使您可以动态更改应用程序引擎程序节的属性,而不必直接修改任何应用程序引擎表。这功能使您能够开发基于规则的应用程序,这些应用程序动态符合用户通过页(如“应用程序引擎请求”页)提交的变量。
The AESection class provides the following flexibility:
AESection类提供了以下灵活性:
When using an AESection object:
使用AESection对象时:
You can add a PeopleCode action to your generated section, but you cannot alter the PeopleCode.
您可以向生成的节添加PeopleCode操作,但不能更改PeopleCode。
Typically, dynamic sections should be constructed in response to a user action.
通常,动态部分应该构造为响应用户操作。
Note: Do not call an AESection object from an Application Engine PeopleCode action.
附注:不要从应用程序引擎PeopleCode操作调用AESection对象。
Related Links
“Understanding the AESection Class” (PeopleCode API Reference)
相关链接“理解AESection类” (PeopleCode API参考资料)
To make synchronous online calls to an Application Engine program, use the PeopleCode function CallAppEngine.
要对应用程序引擎程序进行同步联机调用,请使用PeopleCode函数Call App Engine。
Note: If you make a synchronous call, users cannot perform another PeopleSoft task until the Application Engine program completes. Consider the size and performance of the Application Engine program called by CallAppEngine. You should ensure that the program will run to successful completion consistently within an acceptable amount of time.
注意:如果进行同步调用,则在应用程序引擎程序完成之前,用户无法执行其他PeopleSoft任务。考虑CallAppEngine调用的应用程序引擎程序的大小和性能。您应该确保程序在可接受的时间内持续运行到成功完成。
If an Application Engine program called by CallAppEngine terminates abnormally, the user receives an error, similar to other save time errors, that forces the user to cancel the operation. The CallAppEngine function returns a value based on the result of the Application Engine call. If the program was successful, it returns a zero; if the program was unsuccessful, it returns a value other than zero.
如果CallAppEngine调用的应用程序引擎程序异常终止,则用户将收到一个与其他保存时间错误类似的错误,该错误将强制用户取消操作。CallAppEngine函数根据应用程序引擎调用的结果返回一个值。如果程序成功,则返回零;如果程序不成功,则返回除零以外的值。
Related Links
“CallAppEngine” (PeopleCode Language Reference)
相关链接"CallAppEngine"(PeopleCode语言参考)